2009/1/16 Jean Christophe Andr? <jean-christophe.andre at auf.org>:
> Nguyen Vu Hung a ?crit :
>> V? sao permission m?c ??nh c?a user vuhung v?n l? 700 m? kh?ng ph?i
>> l? 755 nh? ?? ch?nh ??nh trong /etc/adduser.conf?
>>
> C? l? b?i v? B?n ?? c? m?t umask ??c bi?t cho root ?
> Hay ki?m tra v?i l?nh "umask"...
>
>> adduser c? ??c file /etc/adduser.conf hay kh?ng?
>>
> ?? bi?t chinh x?c ?i?u ?? th? d?ng c?c l?nh n?y :
>  strace -ff -o /tmp/adduser.strace adduser vuhung
>  grep open /tmp/adduser.strace*
I did check and found that adduser doesn't read /etc/adduser.conf

The permission of $HOME is hard-coded in:
shadow-utils/src/useradd.c:function create_home()

-- 
Best Regards,
Nguyen Hung Vu [aka: NVH] ( in Vietnamese: Nguy?n V? H?ng )
vuhung16plus{[email protected] , YIM: vuhung16 , Skype: vuhung16dg
A brief profile: http://www.hn.is.uec.ac.jp/~vuhung/Nguyen.Vu.Hung.html

Trả lời cho