On Tue, Nov 8, 2011 at 4:32 PM, Ramnarayan.K <[email protected]> wrote:
>
>
> On Tue, Nov 8, 2011 at 2:56 PM, sn <[email protected]> wrote:
>>
>> Go to System -> Administration -> Users and Groups
>>
>> Select the user which u want to make access permission and then click on
>> Adanced Settings it will prompt you to enter admin password..then the
>> Advanced settings page will popup, and in the Advanced settings page click
>> in the User Privileges you can set for many restriction
>>
> have tried this and have only kept the following checked
> Connect to internet using a modem
> Monitor System logs
> Use CD_ROM drives
> Use floppy drives
> Use modems
> Use video Devices
>
> I also created a new group with GID 1003 and the user in this case Ztest
> (for testing) is the only member
>
> and te result is the same
>
> will check Ramachandra's tips and get back
>

Perhaps you are approaching the problem in wrong way. If the only
thing you want to achieve is restrict the new user from accessing
other users' home directories then you should check the umask. I
believe the default is 0022 which allows other users to read files and
list contents of directories.
You can either change the default umask in /etc/profile or with the
appropriate mount options of the partition where /home is present (if
on separate partition). The sensible default in your case will be 0077
(or a bit less restrictive 0066).


Onkar
-- 
Passion - Some people climb mountains - others write Free software.
Don't ask why - the reason is the same.

-- 
ubuntu-in mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in

Reply via email to