Mail from ILUG-BOM list (Non-Digest Mode)
_______________________________________________


> USER=`grep ":x:$UID:" /etc/passwd | cut -d: -f1`
> 
> only works with shadow passwords.
> 
> (which is what you should be using)

USER="`id -un`"

seems to the correct way actually :>

- cnb.


_______________________________________________
Website: http://www.ilug-bom.org.in/ilug
Linuxers mailing list
[EMAIL PROTECTED]
http://ilug-bom.org.in/mailman/listinfo/linuxers

Reply via email to