|
Re: lug-bg: scp restrictions
- Subject: Re: lug-bg: scp restrictions
- From: alex@xxxxxx (Alexander Atanasov)
- Date: Wed, 5 Jun 2002 03:11:13 +0300 (EEST)
On Tue, 4 Jun 2002, sheib wrote:
> > Ako polzvash user specialno za kopiraneto prosto mu smeni
> > shell-a na /bin/false primerno - scp raboti no ne moje da se logne ili da izpulniava comandi. (Btw. vij FAQ na ssh-a).
> >
>
> dobre shte e sam da prochetesh FAQ na ssh-a.
Koito burza burka :) ne /bin/false a /path/to/sftp-server2,
tova se izpulniava na server-a, a ne scp.
Drugia variant e tova koeto kaza da se pishat scripts
koito da se slagat za shell v passwd.
I treti variant s shell /bin/bash (tozi moje da se napishe i za
shell X).
.bashrc:
exec /path/to/sftp-server2
exit 1
.profile:
exit 1
--
have fun,
alex
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|
|
|