In article <>,
Stephen Carville <[EMAIL PROTECTED]> wrote:
>John Riddoch wrote:
>>
>> Shiloh Costa wrote:
>> >
>> > The only way I can think of is to pre-create an .ssh directory, and chown
>> > it to root with no write permissions.
>>
>> Doesn't work; since the user has rwx permission in their home directory,
>> they can just delete anything below it.
>
>Create a file in .ssh owned by root with owner write only. Change the
>owner of .ssh to root and set it owner write only. Now the user cannot
>delete the directory.
Also doesn't work: the user can still `mv' the directory to a new name
and create a new, writable ~/.ssh directory in its place.
-- People shouldn't think that it's better to have
Dan Astoorian loved and lost than never loved at all. It's
Sysadmin, CS Lab not, it's better to have loved and won. All
[EMAIL PROTECTED] the other options really suck. --Dan Redican