programming-examples/perl/SystemFunction/Values Returned by getpwnam.pl
2019-11-15 12:59:38 +01:00

14 lines
474 B
Perl

($name, $passwd, $uid,$gid, $quota, $comment,$gcos, $dir, $shell) = getpwnam($username);
Value Contains
$name User name.
$passwd Encrypted password.
$uid User ID.
$gid Group ID.
$quota Allowed disk quota, often used for other purposes.
$comment Generally unused.
$gcos Often contains full user name.
$dir User's home directory.
$shell Program that gets launched for the user as the login shell.