Username in environment variable

Gerry George ggeorge at
Thu Jun 8 22:33:58 GMT 2000

I seem to recall reading something about this, but can't find it from the 

How does one get the username?  I wish to set the environment variable 
USERNAME to use it for various applications and scripts.  This would be set 
in the login script.  The standard Samba variables do not work as the 
Windows client, where the login script executes, is unaware of any Samba 


Gerry George
Gerry E. George  <ggeorge at>
Information Technology Specialist,
DigiSolv, Inc.


More information about the samba-ntdom mailing list