Вы находитесь на странице: 1из 23

What is sticky bit?

If a directory is writable and has sticky bit is set, files within directory removed or renamed only if one or more following is true: - The user owns the file - The user owns the directory - The file writable by the User - The user is "root" chmod 1777 project_dir The sticky bit is displayed as the letter t in the execute field for 'others'. ________________________________________ Sticky Bit is a permission bit that protects the files with in a Directory. If the directory has sticky bit set, a file can be deleted by the owner of the file, the owner of the directory or root. This Prevents a user from deleting other users files from public directories .

This command helps the network administrator to relax a bit. This command will not allow the deletion of the common files present in the common area. This command helps the users by not allowing them to rewrite on other files. Certain permissions can be set which will restrict users to delete files created by them.

Which NFS daemons are found on the NFS server?

In NFS server side there are 4 Deamons They are 1.mountd 2.statd 3.lockd

Posted by: Praveen kumar

Contact Praveen kumar

nfsd mountd

lockd statd nfslogd These five daemons will be in NFS server. statd and lockd will be in NFS client too.

Posted by: Clyton

Contact Clyton

server daemonsnfsd mountd statd lockd rpcbind nsflogd

Posted by: milind kulkarni

Contact milind kulkarni

NFSD and Mountd found the NFS Server. Statd and Lockd fount the NFS Client

Posted by: Pushkar singh

Contact Pushkar singh

NFS version3: nfsd mountd lockd statd nfslogd rpcbind nfsversion 4: nfsd nfs4cbd nfsmapd

Posted by: chittibsbu

Contact chittibsbu

These are the nfs serverside daemons nfsd statd lockd mountd nfslogd

Posted by: subbarao

Contact subbarao

There are five daemons run server side in NFS 1,nfsd 2,nfslockd 3,mountd 4,statd 5,configd There are Two daemons in client side 1,Statd 2,lockd

Posted by: T.Vijay

Contact T.Vijay

mountd statd lockd nfsd nfslogd nfsmapid

Posted by: kantri

Contact kantri

There are five daemons run server side in NFS:-

1)nfsd 2)nfslockd 3)mountd 4)statd 5)configd locked& stated client side too

Posted by: pawan kumar katiyar

Contact pawan kumar katiyar

1.) 2.) 3.) 4.) 5.) 6.)

Automountd Mountd Statd lockd nfsd nfslogd

What are the different phases in boot process Boot phases of Solaris Operating Environment are: 1.boot PROM 2.boot programs like bootblk,ufsboot 3.kernel initialization like loading modules 4. init phase

Boot PROM Phase : 1. PROM runs POST 2. Boot locate boot-device 3. boot reads bootblk (/usr/platform/sun4u/lib/fs/suf/bootblk) 4. boot loads bootblk Boot Programs Phase : 1. bootblk loads secondary boot programs (ufsboot) (/usr/platform/sun4u/lib/fs/ufs/bootblk) 2.ufsboot loads kernel (32 ?bit or 64 ?bit) Kernel Initialization Phase: 1 Kernel initializes itself and loads modules. 2. Reads configuration files /etc/system Init Phase 1. kernel starts /etc/init 2. init starts rc scripts

Posted by: kavimani

Contact kavimani

the boot process goes through the following phases:1. Boot PROM phase 2. Boot program phase 3. Kernel initialization phase 4. init phase 5. svc.startd phase
What is after the VTOC on the root filesystem?

A solaris disk has an area called volume table of contents(VTOC) that stores information about disk structure and organization.

VTOC stores in 0th sector After VTOC Boot Block is there from (1-15) sector

Posted by: Bikram Swain

Contact Bikram Swain

VTOC resides on 0 sectors After VTOC it boot block on Sector 1-15. After Boot Block, Primary super block comes in 16-31 sectors. Then Backup superblock on Sector 32
What is the big difference between /dev/dsk and /dev/rdsk

In Solaris whenever you create a new slice using format command a raw physical slice or a Raw Device will be created which is addressed as /dev/rdsk/c#d#s# where # is the number for slice. After formatting it with newfs command the slice will be addressed as /dev/dsk/c#d#s# which can now be used for mounting. eg. newfs /dev/rdsk/c0d0s4 mkdir /oracle mount /dev/dsk/c0d0s4 /oracle After mounting /dev/dsk/c#d#s# is called as Block Device /dev actually contains logical device names which are links (Shortcuts in windows

terminology) to actual physical devices in /devices directory.

/dev/dsk satnds for block special devices while /dev/rdsk for character special devies. /dev/dsk are ready to use while /dev/rdsk are uncooked . the /dev/rdsk directory contains all the info about character special devices kept in /devices directory.

Posted by: richa gupta

Contact richa gupta

i am final year in ECE From SACS MAVMM Engineering CollegeMadural

Posted by: suganya

Contact suganya

/rdsk represents an empty disk i.e raw disk, this raw disk becomes /dsk when a file system is mounted on it. /rdsk :- It is used to create a file system on the partition. /dsk :-It used to acess file system to store data ex:/dev/rdsk/c0t0d0s0 -->raw path /dev/dsk/c0t0d0s0-->block special path

Posted by: chanakya

Contact chanakya

/dev/rdsk raw disk represented by character device or raw device when we create slice partion on disk that is also called raw partion . We can not mount it till it dose not format or run newfs on /dev/rdsk/c#t#d#s# . raw device also used for data stroe when we used as ASM DB . we have create raw file system with the command mknode . /dev/dsk dsk represented by block device after run newfs on /dev/rdsk/c#t#d#s# it becomes logical partion on disk .after run newfs we can mount it .

How do we know how many LAN cards we have in server?

Just Type in the following command at prompt#ifconfig -a.That shall give the LAN Cards as well as total Physical and Logical IP Addresses

dmesg - It displays all configured items on systems.

Posted by: muthukrishnan

Contact muthukrishnan

#prtconf #prtdiag # cat /etc/path_to_inst

Posted by: Clyton

Contact Clyton

ifconfig -a dladm show-link

Posted by: masana

Contact masana

dladm show-dev

Posted by: pawankt

Contact pawankt

#ifconfig -a for more details... #man ifconfig

Posted by: Farhan A Azam

Contact Farhan A Azam

dladm show-dev

Posted by: kannan.RP

Contact kannan.RP

kstat -c net |grep net

Posted by: Harish

Contact Harish

1) #dladm show-dev ( Soalris 10 ) 2) Prior to Solaris 10 use the below . #more /etc/path_to_inst | grep -i <interface name without instance >

Explain about RBAC?


RBAC is introduced into Solaris for managing specific tasks. These specific tasks are based and defined in the administrator profile. It is based on the standard developed by NIST. RBAC is a very important tool for performing multiple tasks. It also separates tasks which require high technical knowledge from low ones.

Role based access control for giving accees to the users based on roles for this first u need to create a profile and with that profile u need to create a role and then u need to add that role to the user whom u want to give the acceess to certain commands this is a remedy for suid(setuid)

What file controls system wide password aging?

/etc/shadow

/etc/default/passwd

Posted by: sasidhar

Contact sasidhar

/etc/shadow file contain the user password information, /etc/default/passwd whith the help of this file we can set the password parameters,

Posted by: Sameer Patil

Contact Sameer Patil

passwd <name of user> with the help of this we can set the password cat /etc/shadow it shows the information about the user password

how we can configure remote desktop(i mean how we can see windows system present working desktop*as well as another os like linux )

Solaris doesn't have the builtin tools to connect the remote desktop..But we can configure remote desktop with the help of other vendors xterm tool...like xmanager, xming, humming bird....

Posted by: Shahul (NetApp)

Contact Shahul (NetApp)

We can use exceed or install VNC

Posted by: Elangovan

Contact Elangovan

When another os works on your os, while connecting yourcomputer screen will little shake and a icon comes on toolbar rightside near time.

Posted by: kaif

Contact kaif

#dtconfig -e #export DISPLAY=your ip-addr:0.0

use xmanager

Posted by: Yogesh Chavan

Contact Yogesh Chavan

If you are server managemnet engineer and you want to accessserver remotly thorugh IP from you laptop on os window . so please dowload putty software and install it on your system this is very good tool to remote access .

Back to Sun Solaris OS Interview Questions and Answers page Question : What file controls global variables for system wide values for the Bourne Shell?

Answers:

/etc/profile
How many cpu's we can connect to a spark machine ?

Sun Fire 15K can have upto max of 106 processors

Depends upon hardware architecture of the server.for example e15k-upto106 v490-4 v890-8 e4900-1-14 e6900-1-30

Posted by: mohan

Contact mohan

THIS IS DEPENDS ON HADWARE . SERVER'S TYPE PSIBILITY OF NP OF CPU T5120 1 M3000 1 M4000 1-4

M5000 M8000 M9000 M9000

1-8 1-16 1-32 1-64 (WITH CABINET EXPANSION)

What are the main differences between solaris 10 and 9?

The main difference in solaris 9 & solaris 10 is "SMF(SolarisManagement Facility)". In solaris 9, if any service goes down then we should restart all services this is the disadvantage. But in solaris 10,if any service goes down then that particular service we can select and enable it instead of restarting all services.

Posted by: phani kumar

Contact phani kumar

Solaris9:its only support terabytes this only init phase its not used SMF(Service management Facility) there is no Zones Solaris 10:its only support petabytes and ZFS(zeta byte file system) it used in svcs servicess zones also supported There is an SMF facility

Posted by: thirupathi masana

Contact thirupathi masana

When compared with Solaris 9 with 10 , new features are included in 10. Multi terrabyte filesystem Solaris management facility. Zeta byte file system. Zones. User authentication in more secured way.

Posted by: naveen

Contact naveen

IN 2001 Solaris 2.9 version: features: 1.SVM (SOLARIS VOLUME MANAGEMENT) IN 2005 Solaris 2.10 version: Features: 1.SMF 2.ZONES 3.ZFS 1.SMF: ==>Advantage of SMF,the service which network adminstrator wants those services he can start and stop.... ==> Where as before solaris 10,the services that start at Boot Time and continue till we shutdoun,such type of services are called STANDALONE SERVICES...,DISADVANTAGE OF Standalone services is that the network administrator cannot able to control the services before solaris 10....To OVERCOME this drawback SUN came with the new feature in solaris 10 called as SMF(SOLARISMANAGEMENT FACILITY)... 2.ZONES: ==>Zones are nothing but Virtualization... ==>A single server act as a multiple server is called as virtualisation... EXAMPLE: Microsoft windows SUN SOLARIS ----------------- ----------VMWARE ZONES VMWARE ZONES --------------- -----------*Hetrogenous *HOMOGENIOUS 3.ZFS: ==>zetta Byte File System. 1 zetta byte = 1024peta bytes... ==>By this new features Solaris 10 became popular in the market....

Posted by: khamruddin (khamru munnu)

Contact khamruddin (khamru munnu)

solaris 9 o/s consists of 4 phases of booting process in solaris 10 i.e 5 phases, an additional advanced phase svcstart.d is included in it. booting process appears in serial manner in solaris 9 booting process appears in parllel manner in solaris 10
How would you find out what kernel parameter SHMMAX is set to by one command?

Single user mode is the character based mode, we can perform administrator task and all. In Multiuser mode , runlevel 3 is the default run of that.We can perform all types of system functions.

Posted by: Vincent

Contact Vincent

Single User mode: Single user mode is for trouble shooting purpose, in this mode only root user can login to the system. Multi User Mode: In this mode apart from root user other user can also login to the system and they can access resources andapplications of the system.

Posted by: Basha

Contact Basha

Single user Solaris OS single-user mode with critical file systems mounted and accessible, Maintenance Only root user can access. Multi user The system is supporting multiuser operations. Multiple users can access the system. All system daemons are running except for the Network File System (NFS) server and some other network resource server related daemons.

Posted by: C. ANTHONY FRANCIS

Contact C. ANTHONY FRANCIS

In multiuser mode NFS server & client services are availablewhereas in single user mode, no NFS service is available and only root filesystem is available.

Posted by: parag pisolkar

Contact parag pisolkar

Single user mode is the maintenance mode where only systems critical files are mounted. Multiuser mode is running the serverwith full network services including NFS.

Posted by: Rahul Agarwal

Contact Rahul Agarwal

Single User Mod or Run Level s or S, Solaris OS single-user mode with critical file systems mounted and accessible. Multi User Mode or Run Level 3, The system is supporting multiuser operations and has NFS resource sharing and other network resource servers available. Main difference between these two level is as follows. 1). Network Services will not work in Single user mode. 2). Network Serviceses will work in Multi user mode. Thnx...Farhan

Posted by: Farhan A Azam

Contact Farhan A Azam

1. Single usermode ; Is used for Administrative activities. 2, Mukti user mode ; is used for normal operations means running any applications, database etc.

Posted by: G.Umakanth

Contact G.Umakanth

In single user mode , all the system services will not be availablesuch as NFS and other services,moreover only a single user can login at a time, where as in multiuser mode all the services will beavailable including NFS and multiple users can log in at a time. In single user mode the run level is S where as in multiuser mode the runlevel is 3

Posted by: nawazhussain

Contact nawazhussain

In single user mode it is possible to maintin the system or trouble shooting the system.

Posted by: sv suresh

Contact sv suresh

single user mode is an administrative mode . the root user only can login. it is also known as maintenance mode. multiuser mode is default mode in solaris bcoz all services available in this mode. from singleusermode we cannot communicate network machines.but from multiusermode we communicate over the network.

Posted by: premnivas

Contact premnivas

In single user, critical file system will be mounted and where as multi user mode we can access nfs and it is default run level.

Posted by: Raja Rajan

Contact Raja Rajan

In single user mode we can perform administrative tasks and it is maintenance mode. Multi user mode runs the server with full network and services including nfs

Posted by: fazal

Contact fazal

Single usermode ; Is used for Administrative activities. 2, Mukti user mode ; is used for normal operations means running any applications, database etc.

Posted by: wadood

Contact wadood

Single user mode use to perform the administrative task,we can only access the local file system, Multi usermod is the defult login mode so we can access all local as well as network file file system, Main difference is that Network Services will not work in Single user mode. Network Serviceses will work in Multi user mode.

Posted by: Sameer Patil

Contact Sameer Patil

single user mode: In this only root user can login to the system and critical file systems are mounted. This can be used for trouble shooting purpose.IN this NFS not working. Multi user mode: This is run level 3. In apart from root user other users also login and access the file systems including NFS. #who -r ----> this command shows we are in which run level

Posted by: vamshi

Contact vamshi

single user mode is login in to system in one system and multi user mode is login at a time morethan one user.
What is difference between solaris single user mode and multi user mode ?

Single user mode is the character based mode, we can perform administrator task and all. In Multiuser mode , runlevel 3 is the default run of that.We can perform all types of system functions.

Posted by: Vincent

Contact Vincent

Single User mode: Single user mode is for trouble shooting purpose, in this mode only

root user can login to the system. Multi User Mode: In this mode apart from root user other user can also login to the system and they can access resources andapplications of the system.

Posted by: Basha

Contact Basha

Single user Solaris OS single-user mode with critical file systems mounted and accessible, Maintenance Only root user can access. Multi user The system is supporting multiuser operations. Multiple users can access the system. All system daemons are running except for the Network File System (NFS) server and some other network resource server related daemons.

Posted by: C. ANTHONY FRANCIS

Contact C. ANTHONY FRANCIS

In multiuser mode NFS server & client services are availablewhereas in single user mode, no NFS service is available and only root filesystem is available.

Posted by: parag pisolkar

Contact parag pisolkar

Single user mode is the maintenance mode where only systems critical files are mounted. Multiuser mode is running the serverwith full network services including NFS.

Posted by: Rahul Agarwal

Contact Rahul Agarwal

Single User Mod or Run Level s or S, Solaris OS single-user mode with critical file systems mounted and accessible. Multi User Mode or Run Level 3, The system is supporting multiuser operations and has NFS resource sharing and other network resource servers

available. Main difference between these two level is as follows. 1). Network Services will not work in Single user mode. 2). Network Serviceses will work in Multi user mode. Thnx...Farhan

Posted by: Farhan A Azam

Contact Farhan A Azam

1. Single usermode ; Is used for Administrative activities. 2, Mukti user mode ; is used for normal operations means running any applications, database etc.

Posted by: G.Umakanth

Contact G.Umakanth

In single user mode , all the system services will not be availablesuch as NFS and other services,moreover only a single user can login at a time, where as in multiuser mode all the services will beavailable including NFS and multiple users can log in at a time. In single user mode the run level is S where as in multiuser mode the runlevel is 3

Posted by: nawazhussain

Contact nawazhussain

In single user mode it is possible to maintin the system or trouble shooting the system.

Posted by: sv suresh

Contact sv suresh

single user mode is an administrative mode . the root user only can login. it is also known as maintenance mode. multiuser mode is default mode in solaris bcoz all services available in this mode. from singleusermode we cannot communicate

network machines.but from multiusermode we communicate over the network.

Posted by: premnivas

Contact premnivas

In single user, critical file system will be mounted and where asmulti user mode we can access nfs and it is default run level.

Posted by: Raja Rajan

Contact Raja Rajan

In single user mode we can perform administrative tasks and it is maintenance mode. Multi user mode runs the server with full network and services including nfs

Posted by: fazal

Contact fazal

Single usermode ; Is used for Administrative activities. 2, Mukti user mode ; is used for normal operations means running any applications, database etc.

Posted by: wadood

Contact wadood

Single user mode use to perform the administrative task,we can only access the local file system, Multi usermod is the defult login mode so we can access all local as well as network file file system, Main difference is that Network Services will not work in Single user mode. Network Serviceses will work in Multi user mode.

Posted by: Sameer Patil

Contact Sameer Patil

single user mode: In this only root user can login to the system and critical file systems are mounted. This can be used for trouble shooting purpose.IN this NFS not working. Multi user mode: This is run level 3. In apart from root user other users also login and access the file systems including NFS. #who -r ----> this command shows we are in which run level

Posted by: vamshi

Contact vamshi

single user mode is login in to system in one system and multi usermode is login at a time morethan one user.

Question : How would you find out what kernel parameter SHMMAX is set to by one command?

using command call ndd

# cat /etc/system |grep SHMMAX

Posted by: kavimani

Contact kavimani

sysdef -i | grep SHMMAX

How to configure mail server in sun solaris?

. Install the sendmail recent package.. 2. in /etc/mail/sendmail.cf file configure for localhost,mail serverand domain name. 3. Restart the sendmail service...

that's it .. getback to me if having any more doubt.

Consider the following crontab entry: ?59 23 13 * 5 /wipe.disk? What time will this cronjob run?

Answers:

That means: on Black Friday, your hard drive will get wiped out. ==> (on 13th and Friday) 23:59, /wipe.disk will be running

If the 13'th Day of the month is Friday, the job will run. (week day starts from Sunday day 1).

Posted by: Karthik

Contact Karthik

The job will run at 23:59 on the 13th of each month *and* at 23:59 every Fridays. See http://www.unix.com/man-pages.php? query=crontab&apropos=0ion=1&os=OpenSolaris for details

Posted by: Derek

Contact Derek

The job will run on the 13th of every month and as well as in every week Friday.

How will you add a virtual IP address to a server in Solaris. Given the interface qe0 and IP 10.10.1.150

Syntax: #ifconfig qe0:1 plumb # ifconfig qe0:1 10.10.1.150 up where "qe0" is an interface (e.g., le0) and N is a number between 1 and <MAX>. Removing the pseudo interface and associated address is done with "ifconfig qe0:1 10.10.1.150 down". As with physical interfaces, all you need to do is make the appropriate /etc/hostname.qe0:X file.

Adding a virtual Ipaddress is very easy task. First know the interface card name available in your unix box by typing the below cmd. ifconfig -a Now u can see a interface car name like this with ipaddress. hme0 or sfe0 or rtls0 like that. Now use this cmd to create a new virtual ipaddress for ur os. Syntax: ifconfig interfacecardname addif ipaddress up Ex : ifconfig rtls0 addif 192.168.0.1 up For making it permanent open #vi /etc/hostname.<interfacecardname>:1 Ex: vi /etc/hostname.rtls0:1 Enter the ipaddress here then save and quit. Now restart the by using below cmd # svcadm restart physical or use #svcadm restart svc:/network/physical:default
what is the command to check the status of the storedges from the servermachine?

Use the sccli command to retrieve the info about Storage from theserver machine.. Type #sccli it will prompt you with the Sccli> prompt.. Use below commands to get status info of storages connected.. Sccli>show configaration

Sccli>show disks Sccli>show environment Sccli>show ld Sccli>show maps Sccli>show battery-status -u Etc...

Вам также может понравиться