The commands in 'pem' work ok if I type them
at the command line. Why will they not work in a script? Red Hat Linux release 7.1 (Seawolf)
Kernel 2.4.2-2 on an i686 # ls -l pem
-rwxrwxrwx 1 root root 94 Jul 8 19:44 pem # cat pem
/usr/sbin/useradd -g popusers -s /bin/false merves02 echo d2ksd6b | passwd --stdin merves02 # ./pem
'seradd: invalid user name `merves02 'asswd: Unknown user name 'merves02 #
|
- Re: Adding new users and assigning passwords Tony Hickinbottom
- Re: Adding new users and assigning passwords Leonard den Ottolander