[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Fwd: scp, no ssh



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...

-- 
martin;              (greetings from the heart of the sun.)
  \____ echo mailto: !#^."<*>"|tr "<*> mailto:"; net@madduck
  
please keep your hands off the secretary's reproducing equipment.

Attachment: pgpv_t_E3cXea.pgp
Description: PGP signature


Reply to: