Interview Tcs

Embed Size (px)

Citation preview

  • 7/31/2019 Interview Tcs

    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 thedirectory 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 setwhich 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.mountd2.statd

    3.lockd

    Posted by: Praveen kumar

    Contact Praveen kumar

    nfsd

    mountd

    http://www.coolinterview.com/interview/7433/http://www.coolinterview.com/contact-author.asp?answerId=12010http://www.coolinterview.com/contact-author.asp?answerId=12010http://www.coolinterview.com/interview/7433/
  • 7/31/2019 Interview Tcs

    2/23

    lockd

    statdnfslogd

    These five daemons will be in NFS server.

    statd and lockd will be in NFS client too.

    Posted by: Clyton

    Contact Clyton

    server daemons-

    nfsd

    mountd

    statdlockd

    rpcbindnsflogd

    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

    mountdlockd

    statd

    nfslogdrpcbindnfsversion 4:

    nfsdnfs4cbd

    nfsmapd

    http://www.coolinterview.com/contact-author.asp?answerId=17816http://www.coolinterview.com/contact-author.asp?answerId=24053http://www.coolinterview.com/contact-author.asp?answerId=31795http://www.coolinterview.com/contact-author.asp?answerId=17816http://www.coolinterview.com/contact-author.asp?answerId=24053http://www.coolinterview.com/contact-author.asp?answerId=31795
  • 7/31/2019 Interview Tcs

    3/23

    Posted by: chittibsbu

    Contact chittibsbu

    These are the nfs serverside daemons

    nfsdstatd

    lockdmountd

    nfslogd

    Posted by: subbarao

    Contact subbarao

    There are five daemons run server side in NFS1,nfsd2,nfslockd

    3,mountd

    4,statd5,configd

    There are Two daemons in client side

    1,Statd2,lockd

    Posted by: T.Vijay

    Contact T.Vijay

    mountdstatd

    lockdnfsd

    nfslogdnfsmapid

    Posted by: kantri

    Contact kantri

    There are five daemons run server side in NFS:-

    http://www.coolinterview.com/contact-author.asp?answerId=62624http://www.coolinterview.com/contact-author.asp?answerId=67038http://www.coolinterview.com/contact-author.asp?answerId=75307http://www.coolinterview.com/contact-author.asp?answerId=76209http://www.coolinterview.com/contact-author.asp?answerId=62624http://www.coolinterview.com/contact-author.asp?answerId=67038http://www.coolinterview.com/contact-author.asp?answerId=75307http://www.coolinterview.com/contact-author.asp?answerId=76209
  • 7/31/2019 Interview Tcs

    4/23

    1)nfsd

    2)nfslockd3)mountd

    4)statd5)configd

    locked& stated client side too

    Posted by: pawan kumar katiyar

    Contact pawan kumar katiyar

    1.) Automountd2.) Mountd

    3.) Statd4.) lockd

    5.) nfsd6.) 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 POST2. 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 Phase1. kernel starts /etc/init

    2. init starts rc scripts

    http://www.coolinterview.com/contact-author.asp?answerId=85844http://www.coolinterview.com/interview/7402/http://www.coolinterview.com/contact-author.asp?answerId=85844http://www.coolinterview.com/interview/7402/
  • 7/31/2019 Interview Tcs

    5/23

    Posted by: kavimani

    Contact kavimani

    the boot process goes through the following phases:-1. Boot PROM phase

    2. Boot program phase3. Kernel initialization phase

    4. init phase5. 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 sectorAfter 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

    http://www.coolinterview.com/contact-author.asp?answerId=21108http://www.coolinterview.com/interview/7395/http://www.coolinterview.com/contact-author.asp?answerId=13860http://www.coolinterview.com/interview/25402/http://www.coolinterview.com/contact-author.asp?answerId=21108http://www.coolinterview.com/interview/7395/http://www.coolinterview.com/contact-author.asp?answerId=13860http://www.coolinterview.com/interview/25402/
  • 7/31/2019 Interview Tcs

    6/23

    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 directorycontains 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# itbecomes logical partion on disk .after run newfs we can mount it .

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

    http://www.coolinterview.com/contact-author.asp?answerId=63902http://www.coolinterview.com/contact-author.asp?answerId=75481http://www.coolinterview.com/contact-author.asp?answerId=80640http://www.coolinterview.com/interview/10828/http://www.coolinterview.com/contact-author.asp?answerId=63902http://www.coolinterview.com/contact-author.asp?answerId=75481http://www.coolinterview.com/contact-author.asp?answerId=80640http://www.coolinterview.com/interview/10828/
  • 7/31/2019 Interview Tcs

    7/23

    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 -adladm 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

    http://www.coolinterview.com/contact-author.asp?answerId=17050http://www.coolinterview.com/contact-author.asp?answerId=17815http://www.coolinterview.com/contact-author.asp?answerId=22464http://www.coolinterview.com/contact-author.asp?answerId=23034http://www.coolinterview.com/contact-author.asp?answerId=23998http://www.coolinterview.com/contact-author.asp?answerId=17050http://www.coolinterview.com/contact-author.asp?answerId=17815http://www.coolinterview.com/contact-author.asp?answerId=22464http://www.coolinterview.com/contact-author.asp?answerId=23034http://www.coolinterview.com/contact-author.asp?answerId=23998
  • 7/31/2019 Interview Tcs

    8/23

    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

    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 byNIST. 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 uneed 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 aremedy for suid(setuid)

    What file controls system wide password aging?

    /etc/shadow

    /etc/default/passwd

    http://www.coolinterview.com/contact-author.asp?answerId=47478http://www.coolinterview.com/contact-author.asp?answerId=48260http://www.coolinterview.com/interview/23002/http://www.coolinterview.com/interview/7431/http://www.coolinterview.com/contact-author.asp?answerId=47478http://www.coolinterview.com/contact-author.asp?answerId=48260http://www.coolinterview.com/interview/23002/http://www.coolinterview.com/interview/7431/
  • 7/31/2019 Interview Tcs

    9/23

    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 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*aswell 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

    http://www.coolinterview.com/contact-author.asp?answerId=23798http://www.coolinterview.com/contact-author.asp?answerId=42545http://www.coolinterview.com/interview/16057/http://www.coolinterview.com/interview/16057/http://www.coolinterview.com/contact-author.asp?answerId=27001http://www.coolinterview.com/contact-author.asp?answerId=27374http://www.coolinterview.com/contact-author.asp?answerId=27904http://www.coolinterview.com/contact-author.asp?answerId=23798http://www.coolinterview.com/contact-author.asp?answerId=42545http://www.coolinterview.com/interview/16057/http://www.coolinterview.com/interview/16057/http://www.coolinterview.com/contact-author.asp?answerId=27001http://www.coolinterview.com/contact-author.asp?answerId=27374http://www.coolinterview.com/contact-author.asp?answerId=27904
  • 7/31/2019 Interview Tcs

    10/23

    use xmanager

    Posted by: Yogesh Chavan

    Contact Yogesh Chavan

    If you are server managemnet engineer and you want to accessserver remotly thorughIP from you laptop on os window .

    so please dowload putty software and install it on your system this is very good tool toremote access .

    Back to Sun Solaris OS Interview Questions and Answers page Question : What file controls global variablesfor 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-upto106v490-4

    v890-8

    e4900-1-14e6900-1-30

    Posted by: mohan

    Contact mohan

    THIS IS DEPENDS ON HADWARE .

    SERVER'S TYPE PSIBILITY OF NP OF CPU

    T5120 1M3000 1

    M4000 1-4

    http://www.coolinterview.com/contact-author.asp?answerId=39793http://www.coolinterview.com/interview/25336/http://www.coolinterview.com/interview/25336/http://www.coolinterview.com/interview/7389/http://www.coolinterview.com/contact-author.asp?answerId=50711http://www.coolinterview.com/contact-author.asp?answerId=39793http://www.coolinterview.com/interview/25336/http://www.coolinterview.com/interview/25336/http://www.coolinterview.com/interview/7389/http://www.coolinterview.com/interview/7389/http://www.coolinterview.com/contact-author.asp?answerId=50711
  • 7/31/2019 Interview Tcs

    11/23

    M5000 1-8

    M8000 1-16M9000 1-32

    M9000 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 phaseits 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 servicesszones 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 filesystemSolaris management facility.

    Zeta byte file system.Zones.

    User authentication in more secured way.

    Posted by: naveen

    http://www.coolinterview.com/interview/15984/http://www.coolinterview.com/contact-author.asp?answerId=21620http://www.coolinterview.com/contact-author.asp?answerId=22368http://www.coolinterview.com/interview/15984/http://www.coolinterview.com/contact-author.asp?answerId=21620http://www.coolinterview.com/contact-author.asp?answerId=22368
  • 7/31/2019 Interview Tcs

    12/23

    Contact naveen

    IN 2001 Solaris 2.9 version:

    features:

    1.SVM (SOLARIS VOLUME MANAGEMENT)

    IN 2005 Solaris 2.10 version:

    Features:1.SMF

    2.ZONES3.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 OFStandalone 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 insolaris 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)

    http://www.coolinterview.com/contact-author.asp?answerId=40168http://www.coolinterview.com/contact-author.asp?answerId=40168http://www.coolinterview.com/contact-author.asp?answerId=40168
  • 7/31/2019 Interview Tcs

    13/23

    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 andall.

    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 onlyroot user can login to the system.

    Multi User Mode: In this mode apart from root user other user can also login to thesystem 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. Allsystem 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.

    http://www.coolinterview.com/contact-author.asp?answerId=54339http://www.coolinterview.com/contact-author.asp?answerId=54339http://www.coolinterview.com/interview/25396/http://www.coolinterview.com/contact-author.asp?answerId=23155http://www.coolinterview.com/contact-author.asp?answerId=23198http://www.coolinterview.com/contact-author.asp?answerId=23656http://www.coolinterview.com/contact-author.asp?answerId=54339http://www.coolinterview.com/interview/25396/http://www.coolinterview.com/contact-author.asp?answerId=23155http://www.coolinterview.com/contact-author.asp?answerId=23198http://www.coolinterview.com/contact-author.asp?answerId=23656
  • 7/31/2019 Interview Tcs

    14/23

    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 NFSresource sharing and other network resource serversavailable.

    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 allthe 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

    http://www.coolinterview.com/contact-author.asp?answerId=23723http://www.coolinterview.com/contact-author.asp?answerId=23744http://www.coolinterview.com/contact-author.asp?answerId=23997http://www.coolinterview.com/contact-author.asp?answerId=24010http://www.coolinterview.com/contact-author.asp?answerId=23723http://www.coolinterview.com/contact-author.asp?answerId=23744http://www.coolinterview.com/contact-author.asp?answerId=23997http://www.coolinterview.com/contact-author.asp?answerId=24010
  • 7/31/2019 Interview Tcs

    15/23

    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 servicesavailable 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 canaccess 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 runningany applications, database etc.

    Posted by: wadood

    Contact wadood

    http://www.coolinterview.com/contact-author.asp?answerId=25193http://www.coolinterview.com/contact-author.asp?answerId=25320http://www.coolinterview.com/contact-author.asp?answerId=25792http://www.coolinterview.com/contact-author.asp?answerId=25916http://www.coolinterview.com/contact-author.asp?answerId=41017http://www.coolinterview.com/contact-author.asp?answerId=41022http://www.coolinterview.com/contact-author.asp?answerId=25193http://www.coolinterview.com/contact-author.asp?answerId=25320http://www.coolinterview.com/contact-author.asp?answerId=25792http://www.coolinterview.com/contact-author.asp?answerId=25916http://www.coolinterview.com/contact-author.asp?answerId=41017http://www.coolinterview.com/contact-author.asp?answerId=41022
  • 7/31/2019 Interview Tcs

    16/23

    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 filefile system,

    Main difference is thatNetwork 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 systemsare 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 andall.

    In Multiuser mode , runlevel 3 is the default run of that.We can perform all types ofsystem functions.

    Posted by: Vincent

    Contact Vincent

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

    http://www.coolinterview.com/contact-author.asp?answerId=42542http://www.coolinterview.com/contact-author.asp?answerId=55668http://www.coolinterview.com/interview/16385/http://www.coolinterview.com/contact-author.asp?answerId=23155http://www.coolinterview.com/contact-author.asp?answerId=42542http://www.coolinterview.com/contact-author.asp?answerId=55668http://www.coolinterview.com/interview/16385/http://www.coolinterview.com/contact-author.asp?answerId=23155
  • 7/31/2019 Interview Tcs

    17/23

    root user can login to the system.

    Multi User Mode: In this mode apart from root user other user can also login to thesystem 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 usermode, 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 includingNFS.

    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

    http://www.coolinterview.com/contact-author.asp?answerId=23198http://www.coolinterview.com/contact-author.asp?answerId=23656http://www.coolinterview.com/contact-author.asp?answerId=23723http://www.coolinterview.com/contact-author.asp?answerId=23744http://www.coolinterview.com/contact-author.asp?answerId=23198http://www.coolinterview.com/contact-author.asp?answerId=23656http://www.coolinterview.com/contact-author.asp?answerId=23723http://www.coolinterview.com/contact-author.asp?answerId=23744
  • 7/31/2019 Interview Tcs

    18/23

    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 andother 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 atime. 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 thesystem.

    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 bcozall services available in this mode. from singleusermode we cannot communicate

    http://www.coolinterview.com/contact-author.asp?answerId=23997http://www.coolinterview.com/contact-author.asp?answerId=24010http://www.coolinterview.com/contact-author.asp?answerId=25193http://www.coolinterview.com/contact-author.asp?answerId=25320http://www.coolinterview.com/contact-author.asp?answerId=23997http://www.coolinterview.com/contact-author.asp?answerId=24010http://www.coolinterview.com/contact-author.asp?answerId=25193http://www.coolinterview.com/contact-author.asp?answerId=25320
  • 7/31/2019 Interview Tcs

    19/23

    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 maintenancemode. 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 thatNetwork Services will not work in Single user mode.

    Network Serviceses will work in Multi user mode.

    Posted by: Sameer Patil

    http://www.coolinterview.com/contact-author.asp?answerId=25792http://www.coolinterview.com/contact-author.asp?answerId=25916http://www.coolinterview.com/contact-author.asp?answerId=41017http://www.coolinterview.com/contact-author.asp?answerId=41022http://www.coolinterview.com/contact-author.asp?answerId=25792http://www.coolinterview.com/contact-author.asp?answerId=25916http://www.coolinterview.com/contact-author.asp?answerId=41017http://www.coolinterview.com/contact-author.asp?answerId=41022
  • 7/31/2019 Interview Tcs

    20/23

    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 notworking.

    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 atime 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...

    http://www.coolinterview.com/contact-author.asp?answerId=42542http://www.coolinterview.com/contact-author.asp?answerId=42542http://www.coolinterview.com/contact-author.asp?answerId=55668http://www.coolinterview.com/contact-author.asp?answerId=21110http://www.coolinterview.com/contact-author.asp?answerId=42542http://www.coolinterview.com/contact-author.asp?answerId=55668http://www.coolinterview.com/contact-author.asp?answerId=21110
  • 7/31/2019 Interview Tcs

    21/23

    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 thiscronjob 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

    http://www.coolinterview.com/contact-author.asp?answerId=20404http://www.coolinterview.com/contact-author.asp?answerId=82225http://www.coolinterview.com/interview/25389/http://www.coolinterview.com/contact-author.asp?answerId=20404http://www.coolinterview.com/contact-author.asp?answerId=82225http://www.coolinterview.com/interview/25389/
  • 7/31/2019 Interview Tcs

    22/23

    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

    . Removing the pseudo interface and associated address is donewith "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 thebelow 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.:1

    Ex: vi /etc/hostname.rtls0:1Enter 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

  • 7/31/2019 Interview Tcs

    23/23

    Sccli>show disks

    Sccli>show environment

    Sccli>show ld

    Sccli>show maps

    Sccli>show battery-status -u

    Etc...