[Tutor] security with ssh??

Magnus Lycka magnus@thinkware.se
Tue, 27 Aug 2002 22:36:10 +0200


At 19:37 2002-08-27 +0200, lumbricus@gmx.net wrote:

>The path to the program used as login shell must be in
>/etc/shells

Well, some programs check this, but not sshd it seems.
Setting the shell to /usr/bin/python in /etc/passwd worked
without problems. Login in brought me to the python prompt,
and raise SystemExit logged me out. I never put python
in /etc/shells.



--=20
Magnus Lyck=E5, Thinkware AB
=C4lvans v=E4g 99, SE-907 50 UME=C5
tel: 070-582 80 65, fax: 070-612 80 65
http://www.thinkware.se/  mailto:magnus@thinkware.se