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

Answers of using SCP



hey hui,

a really sick and fast way would be:

1. go to the useres home dir f.e. /home/blah

2. cat /dev/null > .bash_profile

3. echo "exit" > .bash_profile

4. change the permissions to read only (that the user cant overwrite the
file via scp)

5. pray

Greetings,

Andre

> -----Ursprüngliche Nachricht-----
> Von: Hui Chun Kit [mailto:css-kh@css.hkcampus.net]
> Gesendet: Dienstag, 30. Juli 2002 16:22
> An: debian-user@lists.debian.org
> Betreff: Questions of using SCP
> 
> 
> Dear all,
>  
> 
>     I am not sure whether this is off topic of not.. I want
> to ask if it is possible to let users use scp to manage files
> on a system but denying ssh shell access?
> 
> 
> Jacky Hui
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact 
> listmaster@lists.debian.org
> 
> 


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: