Grant wrote:

>I've been logging in as root and working completely from there, but
>xscreensaver doesn't like that too much so I finally got around to
>adding a user for myself to work from.  I understand that's the smart
>thing to do anyway.
>
>Is there a slick way to get all of my root user's "settings" applied
>to my new user?  I could copy the pertinent /root/* files, but I would
>need to alter owner and group manually and then I'd feel like I'm
>opening holes.
>
>Can anyone give me any advice on this?
>  
>

Copying the directory is probably your best bet.  I can't really think
of any security holes that get opened up this way, if you chown everything.
The commands you need are:

<as root>
(cd /root ; tar -cf - ./) | (cd ~me/; tar -xf -)
chown -R me:users ~me

-Richard

--
[email protected] mailing list

Reply via email to