Mailinglist Archive: opensuse (4343 mails)

< Previous Next >
Re: [SLE] RESTRICTED SHELL for a User ?
  • From: Philipp Thomas <pth@xxxxxxxxx>
  • Date: Thu, 07 Nov 2002 01:44:30 +0100
  • Message-id: <6hdjsugi59lpggv254cqj91b94blr1kg6b@xxxxxxx>
Linux User <linux@xxxxxxxxx> [Wed, 06 Nov 2002 08:05:39 -0600]:

>Any clue of where to find any example ? or step by step to configure one ?

Simply give the user /usr/bin/rbash instead of /usr/bin/bash as a login
shell. If bash is either called with the -r parameter or as rbash, it
will react as restricted shell. See 'info bash' for further
documentation.

Philipp

--
Philipp Thomas work: pthomas@xxxxxxx
Development SuSE Linux AG private: pth@xxxxxxxxx

< Previous Next >
References