Finding the UID for samba users

Paul Howarth paul at city-fan.org
Fri Aug 5 17:11:27 UTC 2005


Tim Holmes wrote:
>>getent passwd username | cut -d: -f3
>>
>>Substitute "username" with the username you're interested in.
>>
> 
> [Tim Holmes] 
> Paul:
> 
> Thanks so much -- 
> 
> 
> Just as a learning tool for me, could you explain the switches that you
> used after the pipe in that command?  I am not familiar with them.

See "man cut" for explanation of options for the "cut" program...

Paul.




More information about the fedora-list mailing list