On Wed, 05 Jul 2000, [EMAIL PROTECTED] wrote about, Copying users:
> Hi;
> I would like to try some new things, but I do not want to mess up my current
> setup.
> So is there a way that I can copy the current setup and assign it to a "test"
> user?
> That way if something gets corrupted or messed up I still have the original.
As root create a new account with 'adduser' i hope thats the correct
program that Redhat uses.
Set a passwd for the new user with 'passwd'
make sure you can login as that user first, should be no problem.
Now as root, do;
cd /home/your_account_name
cp -Rp .* /home/newuser
chown -R newuser.newuser /home/newuser_account
An example would be.
Account name is pipo
chown -R pipo.pipo /home/pipo
That will make an exact copy of your files in newusers home directory and
chown changes the permissions to newuser.
>
> Thanks for any pointers.
>
> Regards;
> Masoud Pajoh
>
> I use RH6.2 + gnome 1.2 + latest enlightenment on a stand alone computer.
--
Regards Richard
[EMAIL PROTECTED]
http://people.zeelandnet.nl/pa3gcu/
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs