- What do you type in the password field of /etc/passwd to prevent a user from accessing a system?
- Which system account sets permission on system processes?
- Which command do you use to enable shadowing?
- What is the command to determine when a user needs to change the password?
- Which command changes deepak's home directory from its default location to /usr/local directory?
- Which command removes the admin group from the system?
- Which command do you use to create a new password for user "deepak"?
- Select the system account contained in /etc/passwd file that owns the executable files
- Which passwd command option sets the maximum number of days after a password expires before an account is locked?
- What does usermod -l deepak pradeep command do?
- In which file or directory are user's folders created by default?
- You have created new shell scripts and placed these scripts in the /usr/local/bin directory. You want to now add this directory to the system path. Which command do you use to do this?
- Which command enables you to change the password to the finance group?
- Which configuration file contains the default values of environment variables for the Bourne Again shell (bash)?
- Suppose you want to change the name of the group from "oldstuff" to "newstuff". Which command would you use?
- Which file stores user-specific values of environment variables for the Bourne Again shell (bash)?
- Which command adds user "deepak" to "admin" group?
- Which command do you use to copy and rename a compressed kernel image file to the /boot partition?
- What does double exclamation mark (!!) symbol in the password entry in /etc/passwd file indicate?
- Which command checks the consistency of group password files?
- When a user initiates bash shell, which user specific configuration file does the system read first?
- Why can only one group be active for a user at one time?
- Which passwd command option do you use to set max number of days that can pass before a password expires?
- Which unix command should you use to list only those processes that monitor the terminal ports for user login sessions?
- Which command is used to login and logout from any account on the terminal?
A comma (')
An asterisk (*)
An exclamation mark (!)
Two exclamation marks (!!)
adm
bin
daemon
root
finger
passwd
pwconv
pwunconv
chage -E
chage -l
chage -m
chage -W
usermod -d /usr/local deepak
usermod -g /usr/local deepak
usermod -l /usr/local deepak
usermod -a /usr/local deepak
groupdel -n admin
groupdel -o -g admin
groupmod -o delete admin
groupdel admin
passwd deepak
password deepak
pswd deepak
passwd -x deepak
adm
bin
daemon
root
i
l
n
w
Add deepak to the system
Change the login name of deepak to pradeep
Delete deepak's account and replace with pradeep account
Move the files in pradeep's home directory to deepak's home directory
/etc/passwd
/etc/group
/home
/etc/skel
HOME=/usr/local/bin
PATH=$PATH:/usr/local/bin
SHELL=$SHELL:/usr/local/bin
ENV=$ENV:/usr/local/bin
gpasswd -a finance
gpasswd -d finance
gpasswd -r finance
gpasswd finance
~/.bash_logout
~/.bash_profile
/etc/bashrc
/etc/profile
groupmod -n -g oldstuff newstuff
groupmod -n -o oldstuff newstuff
groupmod -n oldstuff newstuff
groupmod -n oldstuff newstuff
.bash_logout
.bash_profile
.bashrc
.bash_history
gpasswd +deepak admin
gpasswd -a deepak admin
groupadd +deepak admin
groupadd admin deepak
cat /usr/src/linux/arch/i386/bzImage /boot/vmlinuz-2.6.14p3
cp -p /usr/linux/arch/i386/bzImage /boot/vmlinuz-2.6.14p3
cp -p /usr/src/linux/arch/i386/bzImage /boot/vmlinuz-2.6.14p3
move /usr/src/linux/arch/i386/bzImage /boot/vmlinuz-2.6.14p3
An unsafe password has been set
No password has been set
There is an error in the passwod field
The user has been blocked from logging
grpck
gpconv
passwd
pwck
~/.bash_logout
~/.bash_profile
~/.bashrc
/etc/profile
A user cannot switch between groups
Groups determine user's file permissions
Linux supports limited number of groups
User can be active for multiple groups at single time
-n
-u
-w
-x
finger
ps -aux | grep getty
ps -aux | grep telnetd
who
su
sudo
log_out
logme