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

Re: Answers of using SCP



On Tue, 30 Jul 2002, Andre Fassbender wrote:

> 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

The user would still be able to do that, as they own their home directory.

Even if they couldn't modify the file, they can always delete it, and
create a new one.
Mike



Reply to: