Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

about LOGNAME

by Luca Benini (Scribe)
on Dec 02, 2004 at 07:22 UTC ( [id://411673]=note: print w/replies, xml ) Need Help??


in reply to Re: How do you grab username/login id in Unix?
in thread How do you grab username/login id in Unix?

$ENV{LOGNAME} is setted at login time, so if someone log in as popeye and the do
su
his $ENV{LOGNAME} is again popeye. But if popoye do
su -
his $ENV{LOGNAME} is again popeye.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://411673]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-03-28 21:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found