Hello - I have the below script
If you see i am printing the command just before executing saying "Final command is.. "
But this script fails saying invalid syntax error, however i execute the command (echoed) directly - it creates the user fine.
Please help..!
Moderator's Comments:
Please use [code] and [/code] tags when posting code, data or logs etc. to preserve formatting and enhance readability, thanks.
Last edited by zaxxon; 08-18-2011 at 04:36 AM..
Reason: code tags
Seems that I'm having issues adding a user on our AIX Version 5.1 server.
When I added the user dh I get the following error:
# useradd dh
3004-721 Could not create user.
3004-703 Check "/usr/lib/security/mkuser.sys" file.
3004-687 User "dh" does not exist.
The /etc/passwd gets the... (1 Reply)
Hi,
I have installed Solaris 10 in my PC and now installing Oracle10, but while adding a user i am getting following error:
useradd -g oinstall -G dba -d /export/home/oracle oracle
UX: useradd: ERROR: Inconsistent password files. See pwconv(1M).
I have tried pwconv command,... (4 Replies)
Hi, I am getting the error
01.30 Invalid shell error
I am running the bash shell script in the korn login shell.
I have mentioned the #!/bin/bash statement in the my script but not sure why it is giving this error to me.. (4 Replies)
Hi everyone,
On executing the following command i always get this error
>useradd -c 'none' -s # -u 5001 -f 100 -m -g 'wheel' -d /home/phildpop
useradd: option requires an argument -- s
Try `useradd --help' or `useradd --usage' for more information. (1 Reply)
hi,
i have a bash script that i want to receive a a string from another bash file. But because the string has a dot in the middle it gives me an error. The error is in this line:
let valor=$1
and the value passed is rules.txt
the error is:
let: valor=rules.txt: syntax error: invalid... (2 Replies)
Hi all,
I was changing a motherboard which has the MP console down on an rx4640.
I am receiving the following error: ERROR: Invalid or inaccessible system ID(s) then it takes me to the EFI where it doesn't boot from the primary path.
I contacted a colleague who already replaced two... (0 Replies)
root@solaris11express:/home# useradd -d /home/oracle oracle
UX: useradd: ERROR: Path must not start with '/home/'.
and the user oracle is not being created... (2 Replies)
Hello all,
I am using sed to parse a particular part of a string and am having problems. I am getting the following error:
sed: -e expression #1, char 28: invalid reference \1 on `s' command's RHS
Here is the code I am using:
echo "Alarm SET:"
echo ""
echo "Date: " $DATE
echo... (4 Replies)
Hi,
I have this script which gives me output as Invalid null command
set recent_file=`grep '^-.*xlsx$' $FTP_LOG |\
sed -e 's/Jan/1/g' \
-e 's/Feb/2/g' \
-e 's/Mar/3/g' \
-e... (6 Replies)