PDA

View Full Version : [ubuntu] regular users cannot logout



grcunning
December 22nd, 2010, 06:12 AM
I am moving a webserver from a Gutsy to Lucid server. The webserver works fine, but I am having a problem with the users.
I moved the home directories, along with passwd, group, shadow, and gshadow.
The users can login fine, and their home directories are fine. The problem is when they try to logout, they get

$logout
-sh: logout: not found

any ideas?

Fir3chi3f
December 22nd, 2010, 06:25 AM
What if you use 'exit' to try to logout?

grcunning
December 22nd, 2010, 04:54 PM
looks like exit works just fine. I'd really like them to be able to use logout like they are used to. Users are creatures of habit. Can I just create an alias, and if I can, how would I do it for all the users at the same time?

matt_symes
December 22nd, 2010, 05:10 PM
Hi

You could create an alias for your users.

Maybe you could add it to

/etc/bash.bashrc

Kind regards

sisco311
December 22nd, 2010, 05:15 PM
logout is a bash builtin. It seems you are logged in in dash (sh).