• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/22

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

22 Cards in this Set

  • Front
  • Back
What file is used to store account information, such as UID and login shell?

1. /etc/passwd
2. /etc/shadow
3. /etc/group
4. /etc/admin
1. /etc/passwd
What UID is set for the root user?

1. 0 (zero)
2. 1
3. 100
4. no UID is required
1. 0 (zero)
Match the UID to the user account.

UIDs
1
2
600001
600002

User Accounts:
noaccess
daemon
nobody
bin
UID -> User Account

1 -> daemon
2 -> bin
600001 -> nobody
600002 -> noaccess
Name the file contains the user's encrypted password.
/etc/shadow
Given the following in the /etc/passwd file:

homer:x:81:100:Homer:/export/home/homer:/bin/sh

What do the numbers 81 and 100 identify?

1. 81 = group number, 100 = username
2. 81 = UID, 100 = group id
3. 81 = group id, 100 = UID
4. 81 = user name, 100 = group id
2. 81 = UID, 100 = group id
It is recommended user UIDS are greater than ____ and less than _____.

1. 500, 10000
2. 0, 50000
3. 100, 60000
4. 1, 60000
3. 100, 60000

Although UIDs can be as large as the largest value for a sign integer (2147483647) it's recommended that you not use numbers great than 60000. Numbers below 100 should be reserved for system accounts as well.
What command is used to switch users on a system?
su
What is the default shell in Solaris 9?

1. Bourne
2. Korn
3. Bash
4. C
1. Bourne
Which files (if they exist) will be utilized by the Bourne shell at login if that is the user's shell? (select all that apply)

1. /etc/default/profile
2. /etc/default/login
3. $HOME/.profile
4. $HOME/.login
1. /etc/default/profile

and

3. $HOME/.profile
What graphical tools are used for User Management? (select all that apply)

1. Solaris Management Console
2. usermgmt
3. admintool
4. User Management Service
1. Solaris Management Console

and

3. admintool
What command would you use to modify a user's UID?

1. uidmod
2. usermod
3. useradd
4. uid
2. usermod
What is indicated with the -g option of the useradd command?

1. UID number
2. user's primary group id
3. resets the default group id
4. user's supplementary group id
2. user's primary group id
What argument is used with the useradd command to create the new user's home directory if it does not exist?

1. -d
2. -x
3. -k
4. -m
4. -m
What argument is used with useradd to specify the new user's UID?

1. -i
2. -p
3. -u
4. -R
3. -u
What command is used to change an existing user's login information?

1. useradd
2. usermod
3. chguser
4. moduser
2. usermod
What argument is used with userdel to also remove the user's home directory?

1. -r
2. -h
3. -d
4. This cannot be performed with userdel
1. -r
What file is modified by the groupadd command?

1. /etc/shadow
2. /etc/default/GID
3. /etc/group
4. /etc/groups
3. /etc/group
If only groups 100, 105, 150 and 200 are assigned as groups and the following command is run:
groupadd finance
What GID will be assigned to the group finance?

1. 0
2. 1
3. 99
4. 201
4. 201

Uses the next available GID above the highest assigned.
Which command will add the group named student? (select all that apply)

1. groupadd student
2. groupadd -g student
3. groupadd -g 125 student
4. groupadd 125 student
1. groupadd student

and

3. groupadd -g 125 student
With both groupadd and useradd, what argument is used to allow duplicate GID or UID respectively?

1. -o
2. -d
3. -i
4. duplicates are not allowed
1. -o
Which command will remove the group named 'student' with the GID of '125'?

1. grouprm student
2. groupdel student
3. grouprm -g 125
4. groupdel -g 125
2. groupdel student
Which is a valid groupmod command? (choose all that apply)

1. groupmod -g 200 student
2. groupmod -n classa student
3. groupmod classa student
4. groupmod 200 student
1. groupmod -g 200 student
2. groupmod -n classa student