LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] umask query

[ILUG] umask query

Kevin Philp lists at cybercolloids.net
Fri Mar 13 10:17:19 GMT 2009


A query about umask. On our network users are all part of the same 
primary group and they share files as part of that group. When we set 
the network up all the Ubuntu clients have a default umask of 022 in 
/etc/profile - which is a pain and 007 would better suit our needs - 
everyone in the primary group shares the files created and everyone 
outside the group has no access at all.

To change the default umask I seem to have lots of options:

/etc/profile
/etc/login.defs
~/.profile

and adding
session optional pam_umask.so umask=007  |to /etc/pam.d/common-session|

The last option seems to be the best for a networked system where people 
login via nis and should save me having to edit every computer. My only 
concern is:

What order does someones GUI login actually read the umask settings and 
will a local setting overwrite the pam.d setting?





More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell