LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to know Uid? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-know-uid-443362/)

sanjay2004 05-10-2006 03:52 AM

how to know Uid?
 
I am as user for Linux server,

I want to know my UserID & GrpID

want to list of command that I will run on the server,[list of files for user priveledge]

Also how to list no of Users & group?


thank u

imagineers7 05-10-2006 03:57 AM

Do as follows
 
Sanjay,

type in

id

you will get your uid and some other info

if you want to know no. of logged in users:-

who

and if you want to know detail info about every user on system:-


cat /etc/passwd | less

Hope you will find it useful.


Note:- do some good reading

angel115 05-10-2006 04:00 AM

Try this

Code:

cat /etc/passwd
check this link as well if you need help on this file.
http://www.thepcspy.com/articles/security/passwd_files

Angel

sanjay2004 05-10-2006 04:02 AM

the default user or group ids @ /home dir

but in some other dir possible

angel115 05-10-2006 04:06 AM

?????

I don't understand your previous post ....


All times are GMT -5. The time now is 05:02 PM.