Results 1 to 4 of 4
I'm working on a script notifying me after a client changes a log level on a given server.
I get the following error after running the script:
LogonUser [\node\univmo3\domain\common]: unable ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-14-2010 #1Just Joined!
- Join Date
- Jul 2010
- Posts
- 2
logon user unable to get property
I'm working on a script notifying me after a client changes a log level on a given server.
I get the following error after running the script:
LogonUser [\node\univmo3\domain\common]: unable to get property
LogonPassword [\node\univmo3\domain\common]: unable to get property
I get the email notification fine, the environment is set to common. I think the problem is somewhere in these lines of code.
SCP_USER=`${cer_exe}/lreg -getp \\\node\\\\${NODE}\\\domain\\\\${loc_env} LogonUser`
SCP_PSWD=`${cer_exe}/lreg -getp \\\node\\\\${NODE}\\\domain\\\\${loc_env} LogonPassword`
Any ideas would be greatly appreciated, thanks
- 07-15-2010 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 10,143
Why are you using backslashes for path separators? Linux uses forward slashes.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 07-15-2010 #3Just Joined!
- Join Date
- Jul 2010
- Posts
- 2
this is a kornshell script
- 07-15-2010 #4Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 10,143
The shell doesn't matter. The system does not allow backslashes in path names.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote
