LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-23-2007, 11:04 AM   #1
Raakh
Member
 
Registered: May 2007
Posts: 128

Rep: Reputation: 15
how can i see the whole users


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

thanks & best regards
 
Old 12-23-2007, 11:21 AM   #2
the_imax
Member
 
Registered: Apr 2004
Distribution: RHEL 4/ CentOS
Posts: 152

Rep: Reputation: 30
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
 
Old 12-23-2007, 11:35 AM   #3
Raakh
Member
 
Registered: May 2007
Posts: 128

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by the_imax View Post
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
 
Old 12-23-2007, 11:49 AM   #4
the_imax
Member
 
Registered: Apr 2004
Distribution: RHEL 4/ CentOS
Posts: 152

Rep: Reputation: 30
commands

w
who
lastlog

can give you the info related to user logins
 
Old 12-23-2007, 12:04 PM   #5
Raakh
Member
 
Registered: May 2007
Posts: 128

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by the_imax View Post
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to setup FTP users only users on LInux Fedora Soujiro Linux - Newbie 8 09-13-2010 08:34 AM
Struggling to setup a Debian/etch desktop: LDAP users and LOCAL users jferrando Linux - Networking 1 05-05-2006 04:44 PM
how to authenticate external users but bypass prompt on local LAN users? taiwf Linux - Security 5 07-13-2005 10:01 AM
How to set a Gnome theme as default for all users and future users ? MDesigner Linux - Newbie 1 06-28-2004 12:12 PM
copying kde configuration for 2 users OR 2 users on 1 x session for vnc blackphiber Linux - General 0 02-26-2004 09:57 PM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration