Re: User Private Groups for SuSE?
From: Leendert Meyer (leen.meyer_at_no.where)
Date: 05/28/04
- Next message: jay: "Re: source installation"
- Previous message: Kevin Nathan: "Re: which mail program"
- In reply to:(deleted message) Leendert Meyer: "Re: User Private Groups for SuSE?"
- Next in thread: Kevin Nathan: "Re: User Private Groups for SuSE?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 28 May 2004 02:58:12 +0200
Leendert Meyer wrote:
> Miika Pihanen wrote:
>
>> In article <c9375p$fvp$1@news5.tilbu1.nb.home.nl>, Leendert Meyer wrote:
>>
>>>
>>> Hello! One can deny access to users in the same group, and others, with
>>> the command:
>>>
>>> chmod -R go-rwx /home/login_id
>>>
>>> Perhaps that would be something to put into /usr/sbin/useradd.local
>>>
>>> ;)
>>>
>>> Knowing this, what are the advantages of the Private User Group system
>>> that cannot be done with my suggestion?
>>>
>>> Cheers,
>>>
>>> Leen
>>
>> Well... I tried that some years ago, perhaps it was some 7.X SuSE...
>> Anyway, the result was that KDE could not be started. I'm sorry for not
>> testing this now, so I don't know if this works in 9.X.
>>
>> Anyway this is how I did it:
>>
>> Start Yast2 -> "Edit and create groups" -> "Add".
>> I use user name as group name, group id is same as my user id. Then
>> checked myself for member of this new group.
>>
>> Then
>>
>> chgrp -R my_new_group_id /home/my_user_id
>> and then
>> chmod o-rwx /home/my_user_id
>>
>> Apparently this works, since others won't be able to see in my home dir.
>> but I'm able to log in ;)
>
> Ok, yes, I under stand that. But for my account overhere, leen:users, I
> can deny other members of the group 'users' access to my home directory
> with 'chmod -R go-rwx /home/leen'.
Oops, I need to
chmod -R +r /home/leen/public_html
to even see my own webpages. That is something to think about when locking
everybody out. public_html is per definition public. ;)
Cheers,
Leen
-- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?
- Next message: jay: "Re: source installation"
- Previous message: Kevin Nathan: "Re: which mail program"
- In reply to:(deleted message) Leendert Meyer: "Re: User Private Groups for SuSE?"
- Next in thread: Kevin Nathan: "Re: User Private Groups for SuSE?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|