Oded Arbel wrote:
> 
> hello all ,
> I have a small problem (very small) with adduser . I've set my /etc/skel
> premisions as 0755 (that's the dir where th default files for a user's
> home dir are) , but when I adduser the home directory of the user has
> premisions of 0700 . Y is that ? how can I change that ?
> 
How about just using your own li'l script, and add
/bin/chmod 700 /home/$1 to it.

> Oded
> btw - when I telnet to the linux box and then 'su' to be root, there are
> some commands I can't run - one of them is adduser . can this behavior be
> changed ? and don't flame me - no one has yet told me how my setup can be
> hacked into/ sniffed at/ nuked or what ever.
> 
When su'ing, if you don't 'su -', your (root, in this case)
logon script won't be run, and so your path won't contain the
directories which have suer programs in them (sbin etc). So...'su -'
instead of just su (man su what have told you that).

-- 
                    Omer Efraim
!- Change is inevitable... Except from vending machines  -!

   Note: My email address is now [EMAIL PROTECTED]
   Mail to the old address is currently forwarded to it.

Reply via email to