ln -s /bin/bash /bin/rbash
add /bin/rbash/ to /etc/shells
I have found this tricks in a document but I do not remember where I have found it
Alessandro
On Tue, 2003-01-21 at 08:12, Esperanza Glass wrote:
I wanna add restricted openssh/sftp user who could only use sftp protocol and would not be allowed to ssh/gain shell access to my box. Additionally user shouldn't be able to see other directories on the system than his own. How can I do this? hopey -- __________________________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup Meet Singles http://corp.mail.com/lavalife
-- --------------------------------------------------------------------------- Dr. Fiorenzi Alessandro Infogroup S.p.A L .~. System Administrator Via Delle Panche 140 I /V\ Firenze, IT 50141 N // \\ Membro CLUSIT, ALSI Tel : +390554365742 U /( )\ CE : +393356414477 X ^`~'^ @Email : [EMAIL PROTECTED] TUX @cc : [EMAIL PROTECTED] PGP Key: http://www.infogroup.it/ds/fiorenzi.asc PGP Key: http://www.infogroup.it/ds/webmaster.asc "Analizzando e valutando ogni giorno tutte le idee, ho capito che spesso tutti sono convinti che una cosa sia impossibile, finche' arriva uno sprovveduto che non lo sa e la realizza" - Albert Einstein -------------------------------------------------------------------------- |
signature.asc
Description: This is a digitally signed message part