Users logging in to managed Linux device with csh see error

  • 7009905
  • 15-Dec-2011
  • 09-Nov-2012


Novell ZENworks 11 Configuration Management Support Pack 1 - ZCM 11 SP1


After installing ZENworks managed agent to Linux devices, users who login with C-Shell see an error on login:
else: endif not found.


For updated devices, this is fixed in version 11.2 - see KB 7010044 "ZENworks Configuration Management 11.2 - update information and list of fixes" which can be found at
For new installs of 11.2 and 11.2.1 agents:
This is fixed in version 11.2.2 - see KB 7010757 "ZENworks Configuration Management 11.2.2 - update information and list of fixes" which can be found at
Workaround: if it is not possible to upgrade to ZCM 11.2.2 at this time, in the interim, Novell has made a Patch available for testing, as part of a Monthly patch update: it can be obtained at as "ZCM 11.2.1 Monthly Update 1 - see TID 7010464". This update should only be applied if the symptoms above are being experienced, and are causing problems.

Please report any problems encountered when using this Patch, by using the feedback link on this TID.

For managed devices prior to 11.2:
Modify /etc/profile.d/novell-zenworks.csh
Change this: 
#!/bin/cshif ($?PATH) then

to this:
if ($?PATH) then
For managed devices at  11.2 or 11.2.1 add newline to the script at the end of the final endif.