also sprach Marcel Hicking <[EMAIL PROTECTED]> [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:"; [EMAIL PROTECTED]
  
please keep your hands off the secretary's reproducing equipment.

Attachment: pgpp3qi0RId9L.pgp
Description: PGP signature

Reply via email to