10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I am writing the script for user creation and want to use GID and Secondary group id from previous similar profile.Any one help me how we will take out GID & Secondary and use in useradd command.
$ id -a test
uid=6236(test) gid=999(local) groups=999(local),9003(testadmin)
Above... (4 Replies)
Discussion started by: susindram
4 Replies
2. Solaris
if useradd command is deleted in solaris how do we add user (3 Replies)
Discussion started by: vivek_ng
3 Replies
3. Solaris
Hi
Can any one tell about -D option in the useradd command?
Thanks
MaroV (3 Replies)
Discussion started by: vr_mari
3 Replies
4. UNIX for Dummies Questions & Answers
what if useradd ? or useradd * is given as input????
if it wont execute.
then what are the values for name shud be avoided
like ? * (1 Reply)
Discussion started by: Gopi Krishna P
1 Replies
5. Shell Programming and Scripting
Gurus,
I need to add a user to all the machines. I need a script to do this. I did one but it does not allow me to su to root within a ssh session i open. It exists saying su: Sorry. Please let me know how i can do it. I do not have the freedom of using sudo either.
Regards (4 Replies)
Discussion started by: earlysame55
4 Replies
6. Solaris
Hi,
I need to add a new user who will only be able to access one single folder on my Solaris 9 system. Can this be achieved by using just useradd or do i need to fiddle with auth_attr table?
TIA,
Selma (4 Replies)
Discussion started by: Selma
4 Replies
7. UNIX for Advanced & Expert Users
Hi.
due to some needs i gave a user the premission to use useradd command with sudo.
i want to know if there is a way to let him set the initial password, without giving him the premission to use passwd command as root (sudo).
maybe a way to set a default password for all the new users that... (2 Replies)
Discussion started by: dorilevy
2 Replies
8. UNIX for Dummies Questions & Answers
Can any one tell me if i dun want using 'useradd' command to add new user, it is have any command i can use to add a new user?and any extra step needed for my local environment? (3 Replies)
Discussion started by: foong
3 Replies
9. UNIX for Dummies Questions & Answers
I work on some hp ux 11.00 Servers. i have to add an user. i use the useradd command like follows: useradd -u 72022 -g 71095 -c " comment " -d /PACKAGE_NAME/home/username -s /usr/bin/sh username
The command returns with error 3. The manpage means value number 3: Invalid argument supplied to an... (6 Replies)
Discussion started by: ortsvorsteher
6 Replies
10. UNIX for Dummies Questions & Answers
Don't want to use useradd command to create a new user
I am doing manual addition of accounts. Actually I am writing a script and I am working on RedHat7.1 system. What I am trying to do is run the script and pass all the values of the username password and group as command line parameters. Now... (2 Replies)
Discussion started by: syedifti
2 Replies