When was an user added to the system?

Krishnaprasad_K at Dell.com Krishnaprasad_K at Dell.com
Wed Jul 22 07:47:08 UTC 2009


It won't give you the time the user is created in the system.

Thanks,
Krishnaprasad


-----Original Message-----
From: redhat-list-bounces at redhat.com [mailto:redhat-list-bounces at redhat.com] On Behalf Of kimberly custodio
Sent: Wednesday, July 22, 2009 1:11 PM
To: General Red Hat Linux discussion list
Subject: RE: When was an user added to the system?

you check the passwd file.

# more /etc/passwd |grep <username> you created.

--- On Wed, 7/22/09, Krishnaprasad_K at Dell.com <Krishnaprasad_K at Dell.com> wrote:

From: Krishnaprasad_K at Dell.com <Krishnaprasad_K at Dell.com>
Subject: RE: When was an user added to the system?
To: redhat-list at redhat.com
Date: Wednesday, July 22, 2009, 3:32 PM

This may not be the right answer. But might be useful

When you add a new user, a home directory also will be created by
default if you don't mention -M with useradd.

You can check when the home directory is created in /home and this will
be same as the time when user is created.

Thanks,
Krishnaprasad


-----Original Message-----
From: redhat-list-bounces at redhat.com
[mailto:redhat-list-bounces at redhat.com] On Behalf Of Wang, Mary Y
Sent: Wednesday, July 22, 2009 12:51 PM
To: redhat-list at redhat.com
Subject: When was an user added to the system? 

Hi,

 

I used 'useradd' to create a new for my Redhat system.  Is there a
command that I can find out when this user was added to the system?

 

Thanks

Mary Wang

 

 
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=subscribe
https://www.redhat.com/mailman/listinfo/redhat-list

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



      
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=subscribe
https://www.redhat.com/mailman/listinfo/redhat-list




More information about the redhat-list mailing list