Friday, January 11, 2013

passwd: Module is unknown after uninstalling Centrify

Issue:
Cannot log into Linux machine with local accounts (including root) after uninstalling Centrify.  The  error message below can be seen after booting to single user mode and attempting to reset a password.

passwd: Module is unknown

or when you try to su to a user

su: Module is unknown

Solution: 
Restore the files below with the copy created by the Centrify installation with .pre_cdc ending.

  1. common-accont
  2. common-auth
  3. common-password
  4. common-session



Tuesday, January 8, 2013

X11Forwarding with Centrify on Ubuntu Desktop 12.04

Issue: X11Forwarding not working even after enabling it in /etc/ssh/sshd_config.
"X11 forwarding request failed on channel 0".

Environment: Ubuntu Desktop 12.04, Centrify 2012.3


Resolution:

  1. Uncomment and set X11Forawarding to "yes" in /etc/centrifydc/ssh/sshd_config
  2. Restart centrify-ssh (sudo /etc/init.d/centrify-sshd restart)
Verify:
Example connection command
ssh -X -v -v user@server.address

After entering your password you will see the message "X11 forwarding request accepted on channel 0"

References:
Thanks Ryan!