I have two short quetions.
1. Is there something similar to umask but on directories, so a user
that changes into a particular directory gets automatically a new umask
(without typing umask 007).
/home umask 022
/projekts umask 007
I know that I can add the sgid bit to a directory to force all new
created files/dirs gets owned by a special group. But what about the
2. I use useradd to create new accounts. With the -m option I
automatically create the new directory. The new homedirectory then has
the permissions 0755, is there a configfile where I can set these
initial perms to 0700 (just for the useradd command).
* Linux is like a Wigwam. No Windows, no Gates, and an Apache inside *