Re: Fwd: scp, no ssh
On 11 Jan 2002, at 0:06, martin f krafft wrote:
>
> --+xNpyl7Qekk2NvDX
> Content-Type: text/plain; charset=iso-8859-15
> Content-Disposition: inline
> Content-Transfer-Encoding: quoted-printable
>
> also sprach Marcel Hicking <hicking@du.gtn.com>
> [2002.01.10.1646 +0100]: > /bin/true will log you out right
> away, > and therefore you cannot start scp. > I've
> doublechecked this yesterday, and > even tried to put "exit
> " into the .bashrc > *This* did work fine, no ssh anymore,
> but scp > works. But! unforunatelly the user can scp > an
> new .bashrc or use ssh and rm to remove it.
>
> chattr +i .bashrc.
>
> but whether you want to do it that way... well, you tell
> us...
Not really ;-) Just offering some thoughts...
--
__
.´ `.
: :' ! Enjoy
`. `´ Debian/GNU Linux
`-
Reply to: