Solaris Interview Questions - Sun's OS is a favourite among Storage industry
Sun microsystem's Solaris Operating System has a large penetration in Storage industry so it becomes a necessity for Storage professionals to know Solaris. A good blog reader "Dushyant" (scorpio) : has shared very good interview questions which he has collected from his experience of attending interviews. Thanks Dushyant for sending these questions & sharing with this blog community - I appreciate your efforts. As a reward I will be sending Dushyant 4 PDF's of Solid Storage Fundamentals to help his Storage Learning.
I request all readers of this blog to share their IT or Storage related ORIGINAL articles & get more Free downloadable materials from me.
Solaris Interview Questions
1) What files control user administration?
A) /etc/passwd file: 7 Fields: loginid:x:userid:groupid:comment:homedir:shell
/etc/shadow: 9 Fields: loginid:password:lastchng:min:max:warn:inactive:expire
/etc/group : 4 Fields : groupname:password:groupid:username list)
2) What does the “pwconv” command do?
A) It updates the /etc/shadow file with information from /etc/passwd file.
3) Where are the failed login attemps to system logged?
A) /var/adm/loginlog (We need to create this file as it does not exist by default)
4) Which command shows the users currently logged in to system?
A) who ( It reads the information from /var/adm/utmpx file)
5) Which command will show detailed information about a user?
A) finger –m
6) Which command displays all login and logouts?
A) last (It reads the information from /var/adm/wtmpx file)
7) What is the “StickyBit” file permission?
A) Sticky Bit permission protects the file within a public writable directory.
File set with sticky bit will not allow any user to delete the file except the
Owner of file, owner of the group or the root user.
8) How is ACL (Access Control Lists) implemented?
A) 8.1) “getfacl”command : To display an ACL on file.
Syntax : getfacl
8.2) setfacl command : To set the ACL on file
Syntax : setfacl
8.3) setfacl –m command : To modify ACL entries
Syntax : setfacl –m
8.4) setfacl –s command : Remove old ACL entries and replace with new one.
Syntax : setfacl –s
8.5) setfacl –d command : Delete ACL entry
Syntax : setfacl –d
9) Imp “root(/)” subdirectories and their purpose :
9.1) / : Root of overall file system.
9.2) /bin : Symbolic link to /usr/bin. Stores standard system commands and binary files.
9.3) /dev : Primary location for “logical” device names
9.4) /devices : Primary location for “physical” device names
9.5) /etc : Contains host specific system admin config files
9.6) /export : Default directory for commonly shared filesystems.
9.7) /home : Default directory / mount point for user’s home directory
9.8) /kernel : Directory of platform independent loadable kernel file
9.9) /mnt : Temporary mount point for file systems
9.10) /opt : Default directory for add on packages
9.11) /sbin : Executables used in booting process and file recovery
9.12) /tmp : Temporary files
9.13) /usr : Mount point for /usr file system
9.14) /var : Directory for varying files, temporary logging or status files
10) What are the different disk slices?
Slice Name Function
0 / Root’s system files
1 swap Swap area
2 Entire Disk
5 /opt Optional Software
6 /usr System Exe’s
7 /export/home User’s file and directories
Dushyant has sent 41 interview questions in total which will be posted in next posts - updated in next 6 hours. This blog is updated twice a day & has lots of good articles in previous posts - So spend enough time to read thru & get a Career boost.
For people interested in Virtualisation jobshere is a great blog http://virtualizationjobs.blogspot.com