[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: umask problem



On Thu, 5 Feb 2009, Ding Honghui wrote:

> Hello list,
>
> I encounter a problem and can't finger out why it is:
>
> For hostA
> 1. ssh user@hostA umask shows 0022
> 2. ssh root@hostA umask shows 0022
> For hostB
> 3. ssh user@hostB umask shows 0077
> 4. ssh root@hostB umask shows 0022
>
> md5sum for files
> /etc/login.defs
> /etc/pam.d/login
> /etc/pam.d/ssh
> /etc/ssh/sshd_config
> in both hosts are same
>
> What can be reason the umask are different in normal user when ssh in
> notty mode?
>
> Thanks.
>
> Regards,
> Ding Honghui

Have you checked that users .bash_profile, that would be my first guess..

Jeff

-- 
8 out of 10 Owners who Expressed a Preference said Their Cats Preferred Techno.


Reply to: