View Full Version : [ubuntu] regular users cannot logout

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

-sh: logout: not found

any ideas?

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

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?

December 22nd, 2010, 05:10 PM

You could create an alias for your users.

Maybe you could add it to


Kind regards

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