From: Ellen Davis <daviser () email ! uc ! edu>
To: tru64-unix-managers
Subject: getpwuid perl function
Date: Fri, 11 Jul 1997 13:46:00 +0000 [thread overview]
Message-ID: <96078614710345.tru64-unix-managers.marc@archive.invalid> (raw)
I'm stumped. Can anyone tell me why this piece of perl code does not set
any variables except OZlogin?
*************code ********************
#!/usr/local/bin/perl
($OZlogin,$pass,$uid,$OZgid,$quota,$comment,$gcos,$OZdir,$shell) =
getpwuid( $<)
|| die "Who are you?\n";
print "OZlogin=", $OZlogin, " OZdir=", $OZdir , " OZgid=", $OZgid, "\n";
************************************************************************
Here is the output when runnin on my system (AlphaServer 1000A running
DU4.0B and Perl 5.003):
OZlogin=daviser OZdir= OZgid=
Ellen Davis
Ellen.Davis@uc.edu
reply other threads:[~1997-07-11 13:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox