adduser script problem
I'm trying to write a script that uses the adduser command to add a user to a specific group when a username and full name are specified.
In my script, the line to add the user is this:
./adduser -g biipsub -c \"$fullname\" $username
Whenever I run the script, the adduser command doesn't get executed. When I echo the same command, this is returned:
./adduser -g biipsub -c "Full Name" username
This is the correct syntax, so why doesn't the command work when it is run from the script??
Thanks for any help
Steve Szymanski
|