Re: User?s and Shells

From: Christian Hammers (ch@westend.com)
Date: 12/21/02

  • Next message: Cameron Simpson: "Re: User?s and Shells"
    Date: Sat, 21 Dec 2002 00:01:03 +0100
    From: Christian Hammers <ch@westend.com>
    To: Brian Hatch <focus-linux@ifokr.org>
    
    

    On Fri, Dec 20, 2002 at 02:16:18PM -0800, Brian Hatch wrote:
    > > * But, on the other hand, I can have a
    > > su news -c /usr/local/script_running_as_user_news.sh
    >
    > How do you want to disable that? Only root can run su as another
    > user if the password is locked.

    Misunderstanding: If you set the shell to /bin/false or similar, then
    I tought that even root cannot use the command above as it would fail
    with: "No shell". But there's a "--shell" parameter for su...

    bye,

    -christian-