... or (looks nicer) create a script /bin/nologin with: #!/bin/sh echo Sorry you've no shell here :-( echo Contact root@x.z.y sleep 5 ... and set /bin/nologin in /etc/passwd
-----Ursprungliche Nachricht----- Von: Stefan Suurmeijer [mailto:stefan@symbolica.nl] Gesendet: Donnerstag, 2. November 2000 00:08 An: Peter Hinse Cc: suse-security@suse.com Betreff: Re: [suse-security] login shell
On Wed, 1 Nov 2000, Peter Hinse wrote:
Hi,
I do have the following problem: I want users to have access to their homedir via FTP, but without shell-access (telnet, shh) - however, I (as root) want to be able to su to the useraccount and execute programs. Which login shell do I have to use in /etc/passwd?
Try /bin/false
Best regards, Peter Hinse hinse@gmx.de
Stefan
To unsubscribe, e-mail: suse-security-unsubscribe@suse.com For additional commands, e-mail: suse-security-help@suse.com