User Creation & Administration in LINUX online Test

When you are creating a user what are all the data base files are getting affected?
/etc/passwdand
/etc/shadow
/etc/group
All of the above
If you open /etc/passwd file you find a following entry U1:X:500:500:prog: /home/u1 : /bin/bash In this what /home/u1 indicates?
It is a home directory of the user.
It is a user comment
It is a user default shell
It is user GID
If you open a /etc/passwd file you find a following entry U1:X:500:500:prog: /home/u1 : /bin/bash In this what /bin/bash indicates?
It is a home directory of the user.
It is a user comment
It is a user default shell
It is user GID
If you open a /etc/passwd file you find a following entry U1:X:500:500:prog: /home/u1 : /bin/bash In this what U1 indicates?
User name
It is a user comment
It is a user default shell
It is user GID
If you open a /etc/passwd file you find a following entry U1:X:500:500:prog: /home/u1 : /bin/bash In this what X indicates?
User name
It is a user comment
It is a user default shell
Mask password
If you open a /etc/passwd file you find a following entry U1:X:500:500:prog: /home/u1 : /bin/bash In this what first 500 indicates?
UID
GID
SHELL
USER
If you open a /etc/passwd file you find a following entry U1:X:500:500:prog: /home/u1 : /bin/bash In this what second 500 indicates?
UID
GID
SHELL
USER name
If you open a /etc/passwd file you find a following entry U1:X:500:500:prog: /home/u1 : /bin/bash In this what prog indicates?
UID
GID
SHELL
USER comment
If you open a /etc/shadow file you find a following entry U1:hjadfhsop45367$5&*kjmn= :13536:0:99999 In this what hjadfhsop45367$5&*kjmn indicates?
UID
GID
SHELL
Encrypted password.
If you open a /etc/shadow file you find a following entry U1:hjadfhsop45367$5&*kjmn= :13536:0:99999:7:: In this what 13536 indicates?
No of days since 1970
Min no of days to exchange password.
Max no of days to change password
Warning days
If you open a /etc/shadow file you find a following entry U1:hjadfhsop45367$5&*kjmn= :13536:0:99999:7:: In this what 0 indicates?
No of days since 1970
Min no of days to exchange password.
Max no of days to change password
Warning days
If you open a /etc/shadow file you find a following entry U1:hjadfhsop45367$5&*kjmn= :13536:0:99999:7:: In this what 99999 indicates?
No of days since 1970
Min no of days to exchange password.
Max no of days to change password
Warning days
If you open a /etc/shadow file you find a following entry U1:hjadfhsop45367$5&*kjmn= :13536:0:99999:7:: In this what 7 indicates?
No of days since 1970
Min no of days to exchange password.
Max no of days to change password
Warning days
If you open a /etc/group file you find a following entry U1:X:500:SACHIN,TOM In this what 500 indicates?
GROUP NAME
MASK PASSWORD
GID
MEMBERS OF THE GROUP
If you open a /etc/group file you find a following entry U1:X:500:SACHIN,TOM In this what X indicates?
GROUP NAME
MASK PASSWORD
GID
MEMBERS OF THE GROUP
If you open a /etc/group file you find a following entry U1:X:500:SACHIN,TOM In this what SACHIN, TOM indicates?
GROUP NAME
MASK PASSWORD
GID
MEMBERS OF THE GROUP
When your creating a user by typing the following command [root@comp1 ~]#useradd Options : -u - -g – -o – -G - -c - -d - -s - What is the –g option shows?
Primary group name/ GID
Override
Secondary group
SHELL
When your creating a user by typing the following command [root@comp1 ~]#useradd Options : -u - -g – -o – -G - -c - -d - -s - What is the –G option shows?
Primary group name/ GID
Override
Secondary group
SHELL
While Modifying a User if you want to use the following command [root@comp1 ~]#usermod Options : -l – -L - -U - What –U option shows?
Change login name
Lock the account
Unlock the account
None of the above
While Modifying a User if you want to use the following command [root@comp1 ~]#usermod Options : -l – -L - -U - What –L option shows?
Change login name
Lock the account
Unlock the account
None of the above
Description:

This Test contains 20 questions and this will test your knowledge on User Creation and Adminstration in Linux.
Disclaimer: Content, such as images used in the questions (if any), have been picked up from various places for the sole purpose of Instruction.

Comments
nilesh
By: nilesh
905 days 8 hours 25 minutes ago

this test is really good... please add more tests..

nicy jobish
By: nicy jobish
903 days 9 hours 43 minutes ago

gopika really good

Raymond
By: Raymond
423 days 23 hours 15 minutes ago

good stuff

Want to learn?

Sign up and browse through relevant courses.

Name:
Your Email:
Password:
Country:
Contact no:


Area code Number
Subjects you are interested in:
Word verification: (Enter the text as in image)


Sign Up Already a member? Sign In
I agree to WizIQ's User Agreement & Privacy Policy

Your Facebook Friends on WizIQ

More Tests By Author

ASP Server Controls
10 Questions | 278 Attempts

ASP.NET, Namespaces ASP.NET
10 Questions | 1001 Attempts

An ASP.NET Application
10 Questions | 200 Attempts

Test your basic knowledge on DATASTRUCTURES, STACK
10 Questions | 527 Attempts

Give live classes, create & sell online courses

Try it free Plans & Pricing

Connect