cat /etc/passwd
lisa:x:501:501::/home/lisa:/bin/bash
x-password)
userID=501
groupID=501
:(commend): - not presented here
cat /etc/shadow - stores encrypted passwords
useradd -c "Peter Ivanov" pivanov
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
Post a Comment