Q)how to create a user
A)Useradd –u uid –g gid –d /export/home/naveen –m –s /bin/sh naveen
Q)whats are the files which maintain user informations
/etc/passwd
/etc/group
/etc/shadow
Q)fields in /etc/passwd
User-passwd-uid-gid-homedirectory-shell
Q)fields in /etc/group
A)groupname-gid
Q)fields in /etc/shadow
A)username:encrypted passwd-min-max-lastchange-inactive-warn-expire
Q)how to create a quotas
A)Cd /export/home
Touch quotas
Chmod u+rw quotas
Edquota naveen
Soft=5000 hard=6000 inodes=5000 inode=5500
Quotaon –v /export/home
Repqupota –v /export/home or quota –v naveen to see quota
2 comments:
...dropping by to say hi :) thank you for the visit, am here to visit you back. interesting posts. Keep it up!
Hi
I read this post 2 times. It is very useful.
Pls try to keep posting.
Let me show other source that may be good for community.
Source: Performance management interview questions
Best regards
Jonathan.
Post a Comment