NETW240 Week 3 Lab: Managing User and Group Accounts Task 1: Backup User and Group Files See Chapter 5, User and Group Management Log on as vlab using the password: password. You are the new system administrator (superuser) responsible for the company’s internal Linux system. You are preparing to add all company employees to the internal Linux system that you administer. You begin by creating a user account for each employee. A user account consists of a username and an associated password. Your policy for the username will consist of the employee’s last name followed by their first initial. You will assign a password for each employee. Employees are instructed to change their password upon login. An acceptable password will consist of at least 8 characters consisting of letters (upper and lower case), numbers and symbols. Using the mouse, click on the Fedora icon. Select ‘System Tools’ and then select ‘Terminal’. A virtual terminal emulation window will appear. The window will provide access to the shell command-line prompt. Using the “switch user” (su) command, switch from standard user mode to the superuser mode. The password for root is password. As the superuser, you now have system-wide privileges. As a precaution, make a backup copy of the system’s /etc/passwd file. Using the copy command (cp), copy the /etc/passwd file to a file named /etc/passwd.old: cp /etc/passwd /etc/passwd.old Copy the /etc/group file to a backup file named group.old: cp /etc/group /etc/group.old Copy the /etc/shadow file to a backup file named shadow.old: cp /etc/shadow /etc/shadow.old Task 2 : The Telecommunications Department: Change directory location from /home which is your current working directory (the directory that the shell places you in at login) to /etc using the cd command. Use the pwd to verify that you are actually in /etc. Use the nano (or vi) text editor to open the passwd file for editing. The passwd file is the first file we...
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here