Wednesday, March 14, 2007

 

Still stumbling around Unix

My adventures learning Unix continue. This time, I was trying to logon to an AIX system using a non-root LDAP account. I got errors to the effect of"3004-09 Failed running login shell." I was able to logon as root, but I could not change the shell of the non-root user with the chsh command. I'd get "Invalid entry" or somesuch. A Google search turned up this instruction on how to add a valid logon shell:

If you want to use bash as a login shell, you first have to add it to the
list of shells in /etc/security/login.cfg. Then use `chsh` to change your
individual setting.

I also created a symlink from /bin/bsh to /bin/bash

Labels: , ,


This page is powered by Blogger. Isn't yours?