Re: libpam_umask setup
- From: NN_il_Confusionario <pinkof.pallus@xxxxxxxxxxxxx>
- Date: Wed, 30 Apr 2008 18:26:16 +0200
* From: Bug <recvfrom@xxxxxxxxx>
But when I login in, I still get umask 022. What step am I missing?
I do not use pam_umask , but:
(1) /usr/share/doc/libpam-umask/README says:
If a user has a .pam_umask
in his home directory, the contents will be used to set the umask.
(2) Linkname: pam_umask(8) - Linux man page
URL: http://linux.die.net/man/8/pam_umask
says
The PAM module tries to get the umask value from the following places in the following
order:
* umask= argument
* umask= entry of the users GECOS field
* pri= entry of the users GECOS field
* ulimit= entry of the users GECOS field
* UMASK= entry from /etc/default/login
* UMASK entry from /etc/login.defs
It also speaks about a debug option.
Looking at the sources (apt-get source libpam-umask), I dubt that the
man page applies to the debian version of libpam-umask, but a look at
the above files (/etc/passwd) might be worthy.
(3) perhaps a
# strace -f -o /tmp/login.strace.log login -f user
might help
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- Follow-Ups:
- Re: libpam_umask setup
- From: Bug
- Re: libpam_umask setup
- References:
- libpam_umask setup
- From: Bug
- libpam_umask setup
- Prev by Date: Re: Debian crash randomly
- Next by Date: Re: installing scanner canon
- Previous by thread: libpam_umask setup
- Next by thread: Re: libpam_umask setup
- Index(es):
Relevant Pages
|