Tuesday, May 26, 2009

Useradd

In redhat linux we can add users with useradd command
# useradd username
to assign passwd we must use passwd command..
# passwd username
then specify passwd..........
information about all users will be saved in /etc/passwd file....

all passwords of the users must be saved in /etc/shadow in encrypted form...

all information about groups will saved in /etc/group file
we can add group using
# groupadd groupname

1 comment:

  1. Sir, If we create the user with mentioned command It will also create the group with the same name where I want to add users to standard[By Default] Group

    ReplyDelete