Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


how we can create user in solaris?

Answers were Sorted based on User's Feedback



how we can create user in solaris?..

Answer / harish

we can use the command "useradd <username> to create new user.

Is This Answer Correct ?    14 Yes 2 No

how we can create user in solaris?..

Answer / manojkb

useradd -d /<home dir>/<username> -m <username>
ex: useradd -d /export/home/manoj -m manoj
other full commannd
useradd -u <uid> -g <gid> -d/<homedir> -m -s /bin/<<shell>>
<user name>

Is This Answer Correct ?    11 Yes 3 No

how we can create user in solaris?..

Answer / reddy

/usr/sbin/useradd -u uid -g gid -d /export/home/user -
s /sbin/sh -m user

Is This Answer Correct ?    10 Yes 7 No

how we can create user in solaris?..

Answer / veeresh sajjan

useradd -u [idno] -g [group id] -c [comment] -d
/export/home/user -m -s /sbin/sh user

Is This Answer Correct ?    3 Yes 1 No

how we can create user in solaris?..

Answer / s ramesh reddy

#useradd -u <uid> -g <gid> -d /expot/home/<username> -s /bin/sh -m <username>

Is This Answer Correct ?    2 Yes 1 No

how we can create user in solaris?..

Answer / ghanshyam baboo

useradd -md /export/home/<username> -u <uid> -g <gid> -s
<SHELL PATH> <username>

E.g.-

useradd -md /export/home/user1 -u 110 -g 115 -s /bin/bash user1

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Solaris Commands Interview Questions

whenever you are creating a new user (while creating user every time) file /etc/passwd file inode number will be changed why????

1 Answers   Accel,


How to bring the Disk into diskgroup on veritas.

3 Answers  


usage of temp directory should be restricted to 1 gb if total temp directory size is 5 gb?

3 Answers   Wipro,


What are the daemons in VERITAS?

6 Answers   HCL,


Hi I wanted to know what command can I use to perform a rescan in Solaris10 u4/u5 64 bit machine. I know once the disks are added we can perform a rescan using the following commands drvconfig-->disks--> cfgadm OR devfsadm But they will detect the disks and once the disks are remove the entries are still shown unless the disks are removed. So is there another command or a script that could help me find that disks were removed from my solaris machine.

2 Answers  


How to Freeze svcgroup, (disable onl. & offl.)

2 Answers  


How to add a group

4 Answers  


How will you ad new aliases name

1 Answers  


How will check patches installed

1 Answers  


How to check the communication between 2 nodes?

5 Answers  


How can u make file system of 65 GB if u get new disk of 80 GB? (U have to fix the disk and make the file system of 65 GB)

2 Answers  


What is the difference between dsk and rdsk

3 Answers  


Categories
  • Solaris Commands Interview Questions Solaris Commands (360)
  • Solaris Threads Interview Questions Solaris Threads (9)
  • Solaris IPC Interview Questions Solaris IPC (30)
  • Solaris Socket Programming Interview Questions Solaris Socket Programming (3)
  • Solaris System Calls Interview Questions Solaris System Calls (25)
  • Solaris General Interview Questions Solaris General (170)
  • Solaris AllOther Interview Questions Solaris AllOther (297)