Results 1 to 5 of 5

Thread: regular users cannot logout

  1. #1
    Join Date
    Jul 2008
    Beans
    23

    regular users cannot logout

    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?

  2. #2
    Join Date
    Aug 2007
    Location
    Alsip
    Beans
    199
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: regular users cannot logout

    What if you use 'exit' to try to logout?
    It's funny to think how underdeveloped the world is, really makes it easier for a developer to get ahead.

    Linux User: #461968

  3. #3
    Join Date
    Jul 2008
    Beans
    23

    Re: regular users cannot logout

    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?

  4. #4
    Join Date
    May 2010
    Location
    Tewkesbury uk
    Beans
    7,882
    Distro
    Ubuntu Development Release

    Re: regular users cannot logout

    Hi

    You could create an alias for your users.

    Maybe you could add it to

    /etc/bash.bashrc

    Kind regards
    Last edited by matt_symes; December 22nd, 2010 at 05:12 PM.
    If you believe everything you read, you better not read. ~ Japanese Proverb

    If you don't read the newspaper, you're uninformed. If you read the newspaper, you're mis-informed. - Mark Twain

  5. #5
    Join Date
    Feb 2007
    Location
    Romania
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: regular users cannot logout

    logout is a bash builtin. It seems you are logged in in dash (sh).

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •