[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: permissions and fstab



On Tue, Mar 27, 2001 at 10:34:58AM -0300, Marcelo Chiapparini wrote:
> Hi Carel
> 
> thank you very much for your answer. Now a stupid question: how can I find the 
> uid and gid of my account?

Either us the command id

   $ id
   uid=1001(carel) gid=1001(carel) groups=1001(carel),24(cdrom),29(audio),104(gezin),105(ouders),107(cvs),109(cvskids),110(cvsthuis)

Or look through /etc/passwd.

   $ grep carel /etc/passwd
   carel:x:1001:1001:Carel Fellinger,,,:/home/carel:/bin/bash 

[[ in /etc/passwd, the first number is your uid, the second your gid ]]

-- 
groetjes, carel



Reply to: