AnyData::Format::Passwd man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

AnyData::Format::PasswUser Contributed Perl DocumentAnyData::Format::Passwd(3)

NAME
       Passwd - tied hash and DBI access to passwd files

SYNOPSIS
	use AnyData;
	my $users = adTie( 'Passwd', '/etc/passwd' );
	print $users->{jdoe}->{homedir};
	# ... other tied hash operations

	OR

	use DBI
	my $dbh = DBI->connect('dbi:AnyData:');
	$dbh->func('users','Passwd','/etc/passwd','ad_catalog');
	my $g7 = $dbh->selectall_arrayref( qq{
	    SELECT username, homedir FROM users WHERE GID = '7'
	});
	# ... other DBI/SQL operations

DESCRIPTION
       This module provides a tied hash interface and a DBI/SQL interface to
       passwd files.  Simply specify the format as 'Passwd' and give the name
       of the file and the modules will build a hash table with the column
       names

	username
	passwd
	UID
	GID
	fullname
	homedir
	shell

       The username field is treated as a key column.

       This module is a submodule of the AnyData.pm and DBD::AnyData.pm
       modules.	 Refer to their documentation for further details.

AUTHOR & COPYRIGHT
       copyright 2000, Jeff Zucker <jeff@vpservices.com> all rights reserved

perl v5.14.0			  2001-07-17	    AnyData::Format::Passwd(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net