cat /etc/passwd
lisa:x:501:501::/home/lisa:/bin/bash
x-password)
userID=501
groupID=501
:(commend): - not presented here
/home/lisa
- home directory

cat /etc/shadow - stores encrypted passwords
useradd -c "Peter Ivanov" pivanov

groupadd newgroup

cat /etc/group

usermod -G newgroup,projectX,progectY bob

groups bob

Comments

Popular posts from this blog

HAproxy logging

teamcity Automatic Agent Start under Linux

NFS mount add in fstab _netdev instead of default | firewall-cmd --list-all