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

How to make SUN server as router in subnetwork?

0 Answers   ITC Infotech, JPMorgan Chase,


What is UMASK

2 Answers  


How to review all zones in solaris10?

3 Answers   Infosys,


How can you see the system firewll?

0 Answers   Thomson Reuters,


How to display the volume configuration information?

2 Answers  






How to configure the virtual ip address

3 Answers  


how to search hide files

14 Answers   TCS,


How to add a group

4 Answers  


How do you add the disk without reboot the server?

2 Answers  


what are the solaris commands? how can i use them? are my requirements plz post it.

1 Answers  


what is the difference between /var/adm/ and /var/sadm directory contains in solaris?

1 Answers   TCS,


How many controllers in 3510 storage.

1 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)