Thanks guys! You rock!
-----Original Message-----
From: Ted Kat. [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 25, 2004 6:03 PM
To: [EMAIL PROTECTED]
Subject: Re: [sclug-generallist] New question: UID
another way of getting not just your uid is...
[darkhouse ~]$ cat /etc/passwd | egrep 'sh$'
it will show you not only the uid but groups names of people on your
system whom have a shell.
--- Pete Hogan <[EMAIL PROTECTED]> wrote:
>
> No X? Good for you! The command line is our friend. The command you
> need is 'id'. For example, my user name on my system is yig, so...
>
> [EMAIL PROTECTED] ~]$ id yig
> uid=1001(yig) gid=101(king) groups=101(king),0(root)
>
> My groups are set up weird, pay no attention.
>
> --- "Andy J. Moss" <[EMAIL PROTECTED]> wrote:
> I can't seem to find a way to view a user's UID. I could just change
> it with usermod, but I'd like to know a way of seeing what the current
> UID is without changing it. I've googled high and low but to no
> avail....
>
> Thanks - Andy
>
> ps - No X on this system, I'm forcing myself to learn everything
> through the shell.
>
>
>
=====
Ted Katseres
----------------
sclinux.org
----------------
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail