Professional Documents
Culture Documents
a. View the user and group information and display the current working directory.
b. View the variables which specify the home directory and the locations searched for executable files.
4. Switch to root without the dash and explore characteristics of the new environment.
b. View the user and group information and display the current working directory. Note the identity
changed, but not the current working directory.
c. View the variables which specify the home directory and the locations searched for executable files.
Look for references to the student and root accounts.
5. Confirm that juliet has been added by examining the /etc/passwd file.
a. romeo
b. hamlet
c. reba
d. dolly
e. elvis
5.8. Practice: Managing Groups Using Command-line Tools
Create a supplementary group called shakespeare with a group ID of 30000.
4. Confirm that shakespeare and artists have been added by examining the /etc/group file.
3. Additionally, force a password change on the first login for the romeo account.
4. Log in as romeo and change the password to forsooth123.
1. Ensure that newly created users have passwords which must be changed every 30 days.
2. Create a new group named consultants with a GID of 40000.
3. Create three new users: sspade, bboop, and dtracy, with a password of default and add them to
the supplementary group consultants. The primary group should remain as the user private group.
3. Determine the date 90 days in the future and set each of the three new user accounts to expire
on that date.
4. Change the password policy for the bboop account to require a new password every 15 days.