Professional Documents
Culture Documents
Ceng610 Lab 6
Ceng610 Lab 6
Add a User
Procedure
1. Logged in as an administrative user.
2. I selected Users and groups from applications
3. User creation
a. I created a user with the following details.
i. Real name :new user gui
ii. UserID: usergui
iii. Password: usergui
b. Information from the user manager front page
i. UserID: usergui
ii. Home Dir: /home/usergui
iii. Shell: /bin/bash
iv. Main group: usergui
4. User information was saved. I was able to log in as the user
5. I logged in to the admin account
6. usergui:x:1003:1003: usergui:/home/ usergui:/bin/bash
7. usergui:x:1003:
8. usergui:
$6$2dxS1ScyLIsdO/hK$4xmzWoR5CfxlNXqTJAMpfArM2no4b9BVWXTKNVqhy
gh1mma5tKajtcB6zws/ouLujKqal8W8hJW4LDyMYi4Wx.:16461:0:99999:7:::
a. This verification cannot be done from user gui because user gui does not have
the permissions to view the shadow file
9. The results from the files matched the specs for usergui
Add a second user with gui
1. I loged in as admin user
2. Opened Gui to add user
3. Created a user
a. I created a user with the following details.
i. Real name :new user gui
ii. UserID: usergui
iii. Password: usergui
b. Information from the user manager front page
i. UserID: usergui
ii. Home Dir: /home/usergui
iii. Shell: /bin/bash
iv. Main group: users
4. I was able to log in as usergui2
b.
c.
f.
- Her logon shell is the C shell (or another non-bash shell)(see /etc/shells)
g.
h. Commands used: sudo useradd -c 'Lucy Linux' -g users -s '/bin/bash' promptuser
3. Test
a. I was able to login as promtuser
b. command used: echo $SHELL
output: /bin/bash
4. promptuser:x:100:100:Lucy Linux:/home/promptuser:/bin/bash
5. promptuser:x:100:
6. promptuser:
$6$eBN4FKOr$J9vKtHxLr2SjxX2oH7R.HSDFrmIXTU.SE0yvUd7076xFOupC/sBBFD
5K0IzunoBTC2FLeDaDp5nMtjTTDoIJS0:16501:0:99999:7:::
7. The results match the user specs
8. Tux is the penguin character associated with Linux