Hola Marcos,

This is unix, not solaris specific. The best way to create a "clone" user,
for me, is:

1. use "tar" to copy entire user-directory to clone-directory
# cd /export/home/user
# tar cf - .[A-Za-z]* * | (cd /export/home/clone ; tar xf - )

2. change UID (and GID)
# cd /export/home/clone
# chown -R clone .[A-Za-z]* *

Of course, clone user must be created before that using useradd, or
AdminTool (solaris), to have its own mail spool and UID/GID.

Suerte,

Leo

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marcos Rene
Sent: Tuesday, March 22, 2005 10:21 PM
To: [email protected]
Subject: [Solaris-Users] profile copy


Hello.

How can i copy a entire profile user, and just after change the user 
name of my copy user;
it�s possible?
Grettings.
Marcos

 





_______________________________________________
Solaris-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/solaris-users

_______________________________________________
Solaris-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/solaris-users

Reply via email to