Sunday, November 9, 2008

User Administration solaris interview

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:

Anonymous said...

...dropping by to say hi :) thank you for the visit, am here to visit you back. interesting posts. Keep it up!

Anonymous said...

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.

Custom Search

Feeds from my other blog

Samsung S2 Brand new for 25900 White piece sealed box

For Sale, Mobile Phones - Accessories in India, Andhra Pradesh, Hyderabad. Date September 17

For Sale in Hyderabad