Find the answer to your Linux question:
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.
  1. #1
    Just Joined!
    Join Date
    Jul 2010
    Posts
    2

    Question 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

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,598
    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!

  3. #3
    Just Joined!
    Join Date
    Jul 2010
    Posts
    2
    this is a kornshell script

  4. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,598
    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!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •