90 likes | 101 Views
COP 4343 Unix System Administration. Unit 4: system administrator create users/groups. System Administrator Tasks. Setup/maintain systems Install software Create new user accounts Train users, help users solve problems Define procedures and policies
E N D
COP 4343Unix System Administration Unit 4: system administrator create users/groups
System Administrator Tasks • Setup/maintain systems • Install software • Create new user accounts • Train users, help users solve problems • Define procedures and policies • Keep up with technical developments
Ethics and the System Administrator • System administrators are trusted employees • System administrators have access to valuable personal and business data • Legal and ethical rules control work of a system administrator
User accounts • user account types: • root • regular user • special accounts • every user belongs to group(s)
User accounts • Login with userid and password • ssh, login • Assume superuser privilege • su • sudo • visudo
User accounts • 3 ways to create: • edit system files • useradd command family • graphical utility
Create user accounts • edit system files: • /etc/passwd • /etc/group • /etc/shadow • additional tasks • set password: passwd • create user’s home directory • default content
Create user accounts • useradd command family • useradd, userdel • groupadd, groupdel • /etc/skel directory