9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Trying to create a bash script that will read the /etc/passwd file for existing UID's before adding a new user and also does an incremental by allocating the next available UID.And also add the user to the correct group.Please help I am a newbie in scripting. (2 Replies)
Discussion started by: tshepang
I want to creat a 27 logins in solaris.Can anyone tell me how to write a script for that so that i create at a time for all 27 people.
Thanks to guide me. (6 Replies)
Discussion started by: kkalyan
3. Shell Programming and Scripting
I am trying to add users to samba/ldap system, set their quota, set them a common password and add auto_home records for the new users
User list file is in below format
Firstname Lastname Username
Command I run to add user is
smbldap-useradd -a -m -N $Firstname -S... (0 Replies)
Discussion started by: upengan78
if useradd command is deleted in solaris how do we add user (3 Replies)
Discussion started by: vivek_ng
5. Shell Programming and Scripting
i'm new to scripting in unix and am trying to make a script to add a user and an encrypted password for them. this is what i have and it isn't giving me any errors, but when i try to login with the new user, the password doesn't work. i'm hoping someone can point me in the right direction
... (1 Reply)
Discussion started by: patt4179
6. Shell Programming and Scripting
Ok Im trying too make this shell script create users from my text file, I also want to type in a password for the new users. So thay can make a uniq one themself after first logon.
# Sebastian schmidt
echo "*************************************************************"... (3 Replies)
Discussion started by: chipmunken
7. UNIX for Advanced & Expert Users
when using useradd command, what are the necessary options/arguments to be included?
Please advice. (4 Replies)
Discussion started by: etcpasswd
8. Shell Programming and Scripting
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
9. Shell Programming and Scripting
Here's my box info:
ROOT@fcivra: uname -a
SunOS fcivra 5.6 Generic_105181-26 sun4m sparc SUNW,SPARCstation-5
I am creating a script called adduser, that will incorporate the useradd command. Here is what it looks like:
echo "Enter the person's VZID (lower case): \c"
read VZID... (2 Replies)
Discussion started by: cdunavent