10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have problem to write script which can collect users "username" and the time that each user has been created in our machine and store these data in file database.txt
I have searched a lot and found we can see the exact time we create user with:passwd -S username also list user will... (3 Replies)
Discussion started by: nimafire
2. Shell Programming and Scripting
Hi, guys. I need help on some expect problem.
spawn telnet x.x.x.x
send "useradd $newuser\r"
I can add 1 user using expect script, but how do I... (1 Reply)
Discussion started by: alhazerd
3. Shell Programming and Scripting
i am new to shell scripts
i write a shell script to create multiple users but i need to give passwords to that users while creating users, command to write this script (1 Reply)
Discussion started by: DONFOX
4. Shell Programming and Scripting
I just wrote a bash script to create users remotely from a file.
When I run the script localy, it work nice.
But when I run it using rsh it stops.
My script is:
1|cat /root/usuarios.txt | while read line; do
2| /usr/sbin/adduser $line
3| echo... (4 Replies)
Discussion started by: cachorroyayo
5. Shell Programming and Scripting
I wants to create 3 users and set password for the users in 400 servers. I can run this script without error. If wants to set the password in the same command it is not working. Like that i have to create 3 users
for server in `cat /tmp/servers`
echo "servername =... (5 Replies)
Discussion started by: G0kulakrishnan
How to create users in NIS server in solaris
Thanks in Advance (6 Replies)
Discussion started by: durgaprasadr13
I installed solaris 10 in vmware just now.I got a simple problem while i want to create users in /home directory.It is saying "cannot create ".So i checked the permission and then i find that the perm to user(root) is r-x.So i tried to change it to rwx using chmod but again i got a... (4 Replies)
Discussion started by: sdspawankumar
8. UNIX Desktop Questions & Answers
I new to unix and I'm using a HP UX and I'm logging in as user: root. I wish to create new users by using the 'useradd' command.
When I keyed in' useradd -u 101 -g group john', the reply was 'Group group specified with -g does not exist'.
I've read the man page on useradd and I still don't... (8 Replies)
Discussion started by: mascotlee
9. Shell Programming and Scripting
Create users from template file (0 Replies)
Discussion started by: rijeshpp
10. Shell Programming and Scripting
Hello, I need to figure out how to create a shell
script that iterates 9000 times to create users.
so far i have this:
#Script adds multiple users into the Service manager
for i in 1 * 9000
./insuser /WideSpan/config/vipclient.conf $i $i password 0 Org1 UserGroup1... (2 Replies)
Discussion started by: xeniya