![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Can't create users in /home | sdspawankumar | SUN Solaris | 4 | 08-21-2008 12:13 PM |
| How to create users on HP UX???? | mascotlee | UNIX Desktop for Dummies Questions & Answers | 8 | 07-21-2008 03:02 AM |
| Application Servers Installation and Users | srikanths | UNIX for Advanced & Expert Users | 2 | 04-10-2008 01:56 AM |
| interactive shell script to create users 10.4 | tlarkin | OS X (Apple) | 3 | 03-27-2008 03:35 PM |
| create users from template | rijeshpp | Shell Programming and Scripting | 0 | 10-31-2007 10:29 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
script to create users on many servers
Hi all, working on script to create a user acct on all our servers.
for i in `cat $host_file`; do ssh $i /usr/bin/sudo /usr/bin/mkuser id='bpadm' gecos='NetBackup Admin' 2>&1 >> $log done error i get is: 3004-692 Error changing "id" to "bpadm" : Value is invalid. I have tried this in various ways, various quotes, tried on the cmd line on the target server. tried it without id= part. I am just trying to create the user name and a value for gecos. Server is AIX 5.X, shell is Korn. thanks, dave |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|