|
|
Exercise 01: Managing Users
On RHGUI-1
- Create user "user2" with useradd command
- Create users "user3" "user4" with adduser command
- Remove user "user4" from the system
- Remove user "user3" from the system, along with his/her home directory and mail spool
- Remove user4 home directory
- Using one command line Add user "user3" with Full name (Your full name), password (user), expiration date (in 2 years), shell (bash) settings
- Set password "user" to user2
- Change Passwords storing mode to Standard and display /etc/passwd and /etc/shadow Files
- Change Passwords storing mode to Shadow and display /etc/passwd and /etc/shadow Files
- Lock user3 account and completely logout from Gnome
- Try to login Gnome with user3 account
- Login Gnome with user1 Account and launch Terminal
- Unlock user3 account, logout Gnome and try to login Gnome with user3 account
- Change user2 default shell to sh, Logout Gnome, Login Gnome with user2 account, launch Terminal and observe the prompt
- Set Full Name (Martin KODJO) to user2
- Create groups "ENGENEERS", "TECHNICIANS", "SELLERS"
- Remove "SELLERS" group
- Add user1, user2 in "ENGENEERS" and user3 in "TECHNICIANS" group
- Add user2 also in "TECHNICIANS" group
+ Correction
|
|
|