How should it work in your opinion, mayby something is missconfigurated on my system.
I expected that the changes hast to take place in .bash_profile and for no-loggin-shells in .bashrc. But changes here don't take effect.
best regards Christian Christian Ruffer schrieb:
but it only works for the bash settings. colors and aliases. The umask isn't set :(Christian Ruffer schrieb:there was no .profile file in the /home/user/ Path. Now i copied ~/.profile and no it works! Christian Ruffer schrieb:Thats what I already tried. I can't belive it is so hard to set spezial user settings vor the bash.i want to change the default umask permanently for one user. 1. I change the .bashrc file. uncommented umask nothing 2. I added a .pam_umask file with 002 in it. nothing 3. I tryed to change umask for all in /etc/pam.d/common-session session optional pam_umask.so umask=077 nothing Douglas A. Tutty schrieb:On Mon, Jan 21, 2008 at 10:02:39AM -0600, Dave Sherohman wrote:On Mon, Jan 21, 2008 at 12:20:24PM +0100, Christian Ruffer wrote:i want to change the umask permanently for one user. 1. I change the .bash_profile file. uncommented umask nothingHave you tried setting it in .bashrc? Depending on how a shell comes into existence, .bash_profile may or may not run, but .bashrc always will. (Or, more accurately, bash will run either .bash_profile or.bashrc on startup, depending on how it's called, but the default Debian.bash_profile starts off by running .bashrc.)You also have to define permanently. umask will always be under theuser's control and can be changed at will. There's also any settings in the /etc/ bash-related files.There's also libpam-umask to play with. Doug.