Where in the system stores functions and aliases for specific user?
.bashrc
For the groupadd command, the -g option is used to specifiy a specific __________ .
GID
What command will give you information about who is logged into the system?
who
What command modifies user?
Usermod
What is the command to set a user password?
passwd
When logging in to a profile which bash filename is begin executed?
.bash_profile
Information about group administrators is kept in the /etc/________ file.
gshadow
Which command exits the shell and returns to student user?
exit
How many primary groups can users have?
one
Where in the system stores functions and aliases for all system users?
/etc/bashrc
Only experienced senior administrators should use this command to edit the /etc/group file.
vigr
What command will give you your user id , primary group , and a list of groups that you belong to?
whoami
In what directory all user's personal files, web pages, mail forwarding, etc. are located?
HOME
Where is the username student based commands history located at? Write the command.
/home/student/.bash_history
Users who are members of this group can successfully run the sudo command.
wheel
What command provides user's information?
ID
What is the command to view and edit username james startup program & environment?
/home/james/.bash_profile
This command allows you to remove a group that is no longer needed.
userdel
What is the userid of root user? (type it)
ZERO
What is the command to change username student account password to do the following.
Use only one command
-minimum days to change password 1 day
-maxium number between password 90 days
-warning 7 days
chage -m 1 -M 90 -W 7 student