[ubuntu-in] How to create a new user in Ubuntu, with restricted permissions
Ramnarayan.K
ramnarayan.k at gmail.com
Wed Nov 9 06:56:26 UTC 2011
>
>
>
>
>
>> 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).
>>
>>
>> so i have see the file /etc/profile
>
> the last line is umask 0022
>
> but is this for any user or all users - am supposing that /etc/foo will be
> coming to all users
>
> found this help
www.cyberciti.biz/tips/understanding-linux-unix-umask-value-usage.html
seems like if any user changes their /etc/profile it would affect other
users trying to access their data
tried changing the permissions for the defualt user to umask 077 but
nothing happened, the other users can still access the data.
Have not logged of , just switched users to check whats happening, wonder
if it needs a log off
Thanks Onkar, this umask system makes life easier - so hope it works
an additional question - what about additional partitions - like i have a
additional data partition - which needs to be mounted (by clicking on it in
nautilus) - is there somewhere i can restrict access there too.
regards
Ram
_________________________________________________________<http://www.munsiari.com>
Amazing Indians: Transforming lives in the
hills<http://www.timesnow.tv/Amazing-Indians-Transforming-lives-in-the-hills/videoshow/4383022.cms>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-in/attachments/20111109/29dc7d0a/attachment.html>
More information about the ubuntu-in
mailing list