[SunHELP] Re:command for finding user information

Jarrett Carver sunhelp at sunhelp.org
Fri May 11 18:30:01 CDT 2001


Or `nisgrep uid=<uid> passwd.org_dir`


----Original Message Follows----
From: Xiaomei Zhou <mei at prc.utexas.edu>
Reply-To: sunhelp at sunhelp.org
To: sunhelp at sunhelp.org
Subject: [SunHELP] Re:command for finding user information
Date: Fri, 11 May 2001 10:22:09 -0500 (CDT)

Thanks for all the suggestions. I have figured out that since I'm running 
nis+, the
best way for me to find user name using user id is to use the command

  niscat passwd.org_dir | grep <uid>



Mei


 >----Original Message Follows----
 >From: Xiaomei Zhou <mei at prc.utexas.edu>
 >Reply-To: sunhelp at sunhelp.org
 >To: sunhelp at sunhelp.org
 >Subject: [SunHELP] command for finding user information
 >Date: Wed, 9 May 2001 09:51:11 -0500 (CDT)
 >
 >Hi,
 >
 >Does anyone know a command I can use to find user name using the user id?
 >The command
 >"id -a" only works if I know the user login name. Is there a command that
 >can use
 >user id to find user login name?
 >
 >
 >Thanks,
 >Mei

_______________________________________________
SunHELP maillist  -  SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com




More information about the SunHELP mailing list