Linux commands for creating group|adding user to group|view the group|change the linux password|
1.sudo adduser --uid 2003 --home /home/gothome got id got ls /home 2.how to see information about the user..? id username 3. how to see user in how many groups..? groups got 4.how to add group ..? sudo groupadd 5. how to add user to particular group ..? sudo usermod -aG ben got groups got 6.to see the added user details cat /etc/passwd 7. how to see the groups cat /etc/group 8. changing password passwd
Comments
Post a Comment