[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: help request for changing default users umask



Hi,
Sorry for my difficulties in explaining it in english... you are right about home permissions... modifying permissions of tjener's /etc/skel IS enough for that. But client workstations ignore both umask set in tjener's /etc/pam.d/common-session and that in /home0/<....>/.profile when the user logins from a client and creates files or directories. They all come out with the old 002 permissions.
I still have to try other configuration files you mentioned and i hope i'll find a way to fix it!
L.

Il giorno ven 9 dic 2022 alle ore 16:25 Mike Gabriel <mike.gabriel@das-netzwerkteam.de> ha scritto:
Hi Lorenzo

On  Fr 09 Dez 2022 16:22:28 CET, Lorenzo Ceriani wrote:

> Dear Mike,
> thanks a lot for suggestions. I modified permissions of /etc/skel and that
> works. I was looking for a simple way of modifying umask of new users
> without having to repeat configuration on every new client workstation... i
> tried modify /etc/skel/.profile on tjener but it's not enough... i think i
> will have to do it on every client because it's the skel of the client on
> which the user logs in the first time that matters. I will experiment with
> your suggestions!
> Thanks again,
> L.

For roaming workstations you are right. There, the first login creates 
a home from the roaming workstation's /etc/skel.

For workstations (with networked homes on tjener), the user home gets 
created during user creation and that uses /etc/skel on tjener.

Mike
--

DAS-NETZWERKTEAM
c\o Technik- und Ökologiezentrum Eckernförde
Mike Gabriel, Marienthaler Str. 17, 24340 Eckernförde
mobile: +49 (1520) 1976 148
landline: +49 (4351) 850 8940

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de


Reply to: