Reg. user creation


 
Thread Tools Search this Thread
Operating Systems Solaris Reg. user creation
# 1  
Old 03-03-2009
Java Reg. user creation

Hi Friends,

I want to create a user along with
user name,user id,home directory,group and shell in single command is it possible and i want to assign root permission to a user eg- to create user permission,format and creating slices, cron jobs.

Thanks in Advance.
# 2  
Old 03-03-2009
You can create user and assign the profile and role as below


Quote:
#useradd –u <UID> -g <GID> -P < profile> -r <role > -m –d <Path to home directory> -s <path to shell> <username>
Before adding role and profile you have to create one. And in profile you can add the set of commands which you want to assign to user.
# 3  
Old 05-22-2009
you can create the role with following command

roleadd -m -d /export/home/rolename -c "comments" \ -P "profile" rolename

and can assign it to user. you need to define profile first which you want to assign.
# 4  
Old 07-13-2009
MySQL reg : user creation

If u mean u want to create a duplicate root user having all the privilages of root user..then just create a normal user and afterwards .. just change the uid in /etc/passwd file for the user to '0' .. but do take backup first of /etc/passwd .. for safety..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

NIS user creation

Hi can anyone help me how to create a NIS user by editing the files like Passwd,group, Netgroup,auto.home and Aliases using the "enis" utility? Please do the needful................................ (4 Replies)
Discussion started by: Revathi@1
4 Replies

2. AIX

User creation

hi seniors i want to create the users like when the user try to login it should not should not promt for passwd is it possible to create users like this please help me (6 Replies)
Discussion started by: senmak
6 Replies

3. Solaris

Need help with user creation

Hello guys, i have a problem where i cant create a user and here some problem that i encounter. 1. /etc/passwd seems locked. 2. getting this error UX: useradd: ERROR: Cannot update system files - login cannot be created. # useradd -u 47367 -g 1084 -c "user123" -d /local/home/user123 -s... (2 Replies)
Discussion started by: brew
2 Replies

4. Red Hat

User creation

Hi Thanks in advance. How to create a user without useradd command ?? (1 Reply)
Discussion started by: krish4linux
1 Replies

5. Solaris

Reg user creation

I created a user in my Solaris box , but after creating am not able to login with that user name . Can anyone tell me that i have to change any files for enabling the login. (2 Replies)
Discussion started by: rogerben
2 Replies

6. Solaris

User Creation

i am trying to create a user on solaris 10. it is not taking user name with more than ten characters. which file i need to edit to do this setting. (4 Replies)
Discussion started by: raynu.sharma
4 Replies

7. AIX

User ID creation date

Dear All, I'd like to know is there any way to determine when a user id created in AIX? Thanks, Istvan (2 Replies)
Discussion started by: istvan.banai
2 Replies

8. Solaris

User creation

Hi all, I want to create one user with full permissions to one directory called /opt/tivoli/tsm/client/ba/bin. Name for the user Tivoli Thanks & Regards Babu (7 Replies)
Discussion started by: lbreddy
7 Replies

9. UNIX for Dummies Questions & Answers

user creation privileage

hello, How do I assign a user to create users other than root in linux . I want to create a users from other user. bye varma (4 Replies)
Discussion started by: jarkvarma
4 Replies

10. UNIX for Dummies Questions & Answers

user creation problem

hello, Actually I want to create a user for our brower based custom application for the mail access from our mailserver(linux). I create user dummy and I granted all the privileages to dummy user and made dummy equivelent to root and if I tried to create a another user logging as dummy ... (1 Reply)
Discussion started by: jarkvarma
1 Replies
Login or Register to Ask a Question