Professional Documents
Culture Documents
CHARAN LALAM
ASSIGNMENT QUESTIONS
1) How did you create user accounts in linux ? explain the commands used and their
significance.
Ans) Using the command useradd -m <user name> can create an user but the
password can not be set at the time of creating user and it is easy for the system administrator
to create users quickly later the respective user can create the password for their accounts
Also to add a single user to multiple groups we can use this command
sudo usermod -aG group1,group2,group3 username
3) What are the benefits of organising users into groups ? how does the group membership
effect file permissions and access control?
Ans) Grouping users simplifies management, boosts security, and helps share resources
effectively. Group membership decides who can access files and folders by allowing admins
to set permissions based on the group a user belongs to, ensuring controlled access for group
members.