Tirsdag 13 marts 2007 10:38 skrev Joe Morris (NTM):
> Gaël Lams wrote:
> >> - when I create a new user, the home-dir for that user is created
> >> with a umask
> >> of 022. I wish to use, say, 077. Where do I set that, so when
> >> creating yet
> >> another new user, his home-dir will have rwx --- --- (0700)??
> >
> > in /etc/profile.local:
> > umask 077
>
> Or even better, Yast, Security and Users, Expert Options, Default for
> New User, Umask for Home Directory
>
> --
> Joe Morris
> Registered Linux user 231871 running openSUSE 10.2 x86_64

Thank you to all.

Yes, your answers concur with what I thought. Only, it only works for users 
local to the machine, i.e. they exist in /etc/passwd and so forth.
For users being authenticated - and hence auto created - by means of winbind 
and AD, it doesn't work. It's got to be somewhere else, perhaps on the AD 
machine (sigh..).

Well, I still learned from this, I didn't know about the YaST thing...

Thanks again!
-- 
-------------------------------------------------------------------------
Med venlig hilsen/Best regards
Verner Kjærsgaard
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to