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

Re: telnet as login shell



On 10/16/05, Aurelien Ricard <aurelienricard@free.fr> wrote:
> Stephen, try to put a telnet session in their ~/.bashrc
> I've never tried but it should work.

While this works, it is insecure. A user can easily run a command like
'ssh user@host rm .bashrc' to delete the .bashrc file and get full
shell access.

I've resorted to using a Perl script as a login shell.



Reply to: