[SLUG] umask and pam_mkhomedir.so

2003-07-06 Thread Simon Bryan
Hi all, I am trying to get pam_mkhomedir to create the users home directory with rwx--, no matter what I ste the umsak to in the call to pam_mkhomedir in pam.login I get rwxr-xr-x and this is allowing other users to browse into any users directory. Note that this is on a LTSP server/client

Re: [SLUG] umask and pam_mkhomedir.so

2003-07-06 Thread John Clarke
On Mon, Jul 07, 2003 at 12:07:19PM +1000, Simon Bryan wrote: I also need a simple bash script that creates a directory if it doesn't exist if directory/path does not exist then mkdir directory/path endif [ -a $dir ] || mkdir -p $dir -a tests that nothing called `$dir' exists