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 setup, and I am then using a mount command
to  mount their normal home directory insided their main home directory.

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

Can anyone help me with either question, my new bash scripting tech is off on exams
at the moment.

____________________
Simon Bryan
IT Manager
OLMC Parramatta
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to