Mailinglist Archive: opensuse-security (547 mails)

< Previous Next >
Re: [suse-security] login shell
  • From: Kis-Szabo Andras <kisza@xxxxxxxxxx>
  • Date: Thu, 2 Nov 2000 11:53:01 +0100
  • Message-id: <20001102115301.A23513@xxxxxxxxxx>
Hi,

> #!/bin/sh
>
> echo Sorry you've no shell here :-(
> echo Contact root@xxxxx
>
> sleep 5
> ... and set /bin/nologin in /etc/passwd

use 'ksh' with traps, or the C-code with some extension:
deny the signals!

Regards,

--
Kis-Szabo Andras Budapest University of Technology and Economics
---------------------------/ Schonherz Dormitory
kisza@xxxxxxxxxx /---------------------------------33O-->>>>.Info

< Previous Next >
Follow Ups