LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how can i see the whole users (https://www.linuxquestions.org/questions/linux-newbie-8/how-can-i-see-the-whole-users-608716/)

Raakh 12-23-2007 10:04 AM

how can i see the whole users
 
How can I see the whole created users from the root?

thanks & best regards

the_imax 12-23-2007 10:21 AM

so you want to ask that how to see all the created users on a linux box?

the user database is maintained in the file /etc/passwd
so you can use
Code:

cat /etc/passwd
to see the existing user accounts, the 1st field before the colon is the username

Raakh 12-23-2007 10:35 AM

Quote:

Originally Posted by the_imax (Post 2999725)
so you want to ask that how to see all the created users on a linux box?

the user database is maintained in the file /etc/passwd
so you can use
Code:

cat /etc/passwd
to see the existing user accounts, the 1st field before the colon is the username

thanks for your prompt reply

How can I see the user log of today i.e. which user is currently loged in or logged today or yesterday?

thanks again & best regards

the_imax 12-23-2007 10:49 AM

commands

w
who
lastlog

can give you the info related to user logins

Raakh 12-23-2007 11:04 AM

Quote:

Originally Posted by the_imax (Post 2999741)
commands

w
who
lastlog

can give you the info related to user logins

Thanks from the core of my heart

If I disable the root access and make it via wheel user then what about the path settings? I mean to say I installed the tomcat+oracle and some other softwares the path will be effected or no?

thanks again & best regards


All times are GMT -5. The time now is 08:54 PM.