How to set umask for nologin account ?
I have FC5 and I'm glassfish Java EE Server as user glassd. This user have set up shell to /sbin/nologin. Default umask is 0022, I need this account to have umask 0002.
Unfortunately nologin account do not read /etc/profile where I have added in vain:
if [ $UID -eq 502 ]; then
# id glassd
Is there a way to set up umask to 0002 for nologin account ?
Regards to you all