Re: User?s and Shells
From: Christian Hammers (firstname.lastname@example.org)
- Previous message: Brian Hatch: "Re: User?s and Shells"
- In reply to: Brian Hatch: "Re: User?s and Shells"
- Next in thread: Cameron Simpson: "Re: User?s and Shells"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sat, 21 Dec 2002 00:01:03 +0100 From: Christian Hammers <email@example.com> To: Brian Hatch <firstname.lastname@example.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...