Академический Документы
Профессиональный Документы
Культура Документы
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.
In NFS server side there are 4 Deamons They are 1.mountd 2.statd 3.lockd
nfsd mountd
lockd statd nfslogd These five daemons will be in NFS server. statd and lockd will be in NFS client too.
Contact Clyton
NFSD and Mountd found the NFS Server. Statd and Lockd fount the NFS Client
NFS version3: nfsd mountd lockd statd nfslogd rpcbind nfsversion 4: nfsd nfs4cbd nfsmapd
Contact chittibsbu
These are the nfs serverside daemons nfsd statd lockd mountd nfslogd
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
Contact T.Vijay
Contact kantri
1)nfsd 2)nfslockd 3)mountd 4)statd 5)configd locked& stated client side too
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
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
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
/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.
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
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 .
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
Contact muthukrishnan
Contact Clyton
Contact masana
dladm show-dev
Contact pawankt
dladm show-dev
Contact kannan.RP
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 >
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)
/etc/shadow
/etc/default/passwd
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,
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....
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.
Contact kaif
use xmanager
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 ?
Depends upon hardware architecture of the server.for example e15k-upto106 v490-4 v890-8 e4900-1-14 e6900-1-30
Contact mohan
THIS IS DEPENDS ON HADWARE . SERVER'S TYPE PSIBILITY OF NP OF CPU T5120 1 M3000 1 M4000 1-4
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.
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
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.
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....
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.
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.
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.
In multiuser mode NFS server & client services are availablewhereas in single user mode, no NFS service is available and only root filesystem is available.
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.
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
1. Single usermode ; Is used for Administrative activities. 2, Mukti user mode ; is used for normal operations means running any applications, database etc.
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
Contact nawazhussain
In single user mode it is possible to maintin the system or trouble shooting the system.
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.
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.
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
Contact fazal
Single usermode ; Is used for Administrative activities. 2, Mukti user mode ; is used for normal operations means running any applications, database etc.
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.
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
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.
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.
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.
In multiuser mode NFS server & client services are availablewhereas in single user mode, no NFS service is available and only root filesystem is available.
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.
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
1. Single usermode ; Is used for Administrative activities. 2, Mukti user mode ; is used for normal operations means running any applications, database etc.
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
Contact nawazhussain
In single user mode it is possible to maintin the system or trouble shooting the system.
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
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.
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
Contact fazal
Single usermode ; Is used for Administrative activities. 2, Mukti user mode ; is used for normal operations means running any applications, database etc.
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.
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
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?
Contact kavimani
. Install the sendmail recent package.. 2. in /etc/mail/sendmail.cf file configure for localhost,mail serverand domain name. 3. Restart the sendmail service...
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).
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
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...