Computing.Net > Forums > Solaris > Create user / pw in Solaris

Create user / pw in Solaris

Reply to Message Icon

Original Message
Name: rezasuman
Date: June 4, 2003 at 06:31:31 Pacific
Subject: Create user / pw in Solaris
OS: Solaris 8
CPU/Ram: 1 Gig
Comment:

Besides using admin tool, is there another way (eg command line) to create user id and pw and set permissions?

Thanks,
Suman


Report Offensive Message For Removal


Response Number 1
Name: nikos
Date: June 5, 2003 at 06:10:26 Pacific
Subject: Create user / pw in Solaris
Reply: (edit)

1.useradd -u {UID} -g {GID} -d {home directory} -m -k /etc/skel -s {path_to_shell} -c "comment" login_name
2.passwd root
3.chmod ugo+rwx test.txt.Add (+) read write execute (rwx) to user group other (ugo) on file test.txt


Report Offensive Follow Up For Removal

Response Number 2
Name: Jari
Date: June 6, 2003 at 08:10:48 Pacific
Subject: Create user / pw in Solaris
Reply: (edit)

You could also check ...

# man useradd

... this lists the functionality of the "useradd" command.


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Create user / pw in Solaris

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




How often do you use Computing.Net?

Every Day
Once a Week
Once a Month
This Is My First Time!


View Results

Poll Finishes In 2 Days.
Discuss in The Lounge