Shared Flashcard Set

Details

Linux Admin commands - User
Linux Admim commands for Redhat Certification and LPI
20
Computer Science
Undergraduate 2
03/09/2010

Additional Computer Science Flashcards

 


 

Cards

Term
Question
Definition
Answer
Term
What option can you use with useradd to set the shell to bash
Definition
useradd -s /bin/bash
Term
What option can you use with useradd to set the home directory
Definition
Useradd -d
Term
what option of useradd will create and populate the home directory
Definition
useradd -m
Term
what option can you use with useradd to set a comment in the GECOS field
Definition
useradd -c comment
Term
What command can be used to check the default values assigned with the useradd command
Definition
useradd -D homedirectory
Term
What command can be used to change and existing user account
Definition
usermod
Term
What command will disable an existing user account
Definition
usermod -L username
Term
what command will unlock an account that has been disabled
Definition
usermod -U username
Term
What command can be used to remove a user account
Definition
userdel
Term
Does 'userdel Phil' remove Phil's home directory?
Definition
No userdel -r Phil removes his directory
Term
How do you add a group to the system
Definition
groupadd group
Term
How do you change a group's parameters in linux
Definition
groupmod
Term
What command will change the name of the group “accounting” to “finance”
Definition
groupmod -n finance accounting
Term
what command will change user passwords
Definition
passwd
Term
what command will change the password for a group
Definition
gpasswd
Term
what command can be used to move passwords frm /etc/passwd to /etc/shadow
Definition
pwconv
Term
what command can be used to move password storage from /etc/shadow to /etc/passwd
Definition
pwunconv
Term
what command can be used to move group passwords frm /etc/group to /etc/gshadow
Definition
grpconv
Term
What command will create the directory /home/accounting?
Definition
mkdir -p /home/accounting
Supporting users have an ad free experience!