USER AND SECURITY INTERVIEW QUESTIONS AND ANSWERS
PAGE - 2
11..How
to find out the files associated
with the particular user?
find / -user_username -ls
12..How
to add a group?
# groupadd
group_name
13..How
can you change the password for the different
user?
passwd user_name
14..How
we can get the current user name?
#
who am I
or
# whoami
15..How
to check the user’s used files and quota (disk space)?
# repquota
16..How
to restrict the users to run cron schedule
except from the root user?
vi
/etc/cron.allow
root
:wq!
No comments:
Post a Comment