View user account information

by Sanju 2009-10-24 20:16:26

User Account Information

While creating user in a VPS, check whether the user is already created in VPS using

root@host [~]# vi /etc/passwd

or
root@host [/]# cd /home/
root@host [/home]# ls


/etc/passwd is a text file, that contains a list of the system's accounts, giving for each account
some useful information like user ID, group ID, home directory, shell, etc.
It should have general read permission as many utilities, like ls use it to map user IDs to user names,
but write access only for the superuser (root).

When you use the mkuser command to add a user to your system, the command updates the /etc/passwd file.

An entry in the /etc/passwd file has the following form:

Name:Password: UserID:PrincipleGroup:Gecos: HomeDirectory:Shell

1477
like
0
dislike
0
mail
flag

You must LOGIN to add comments