On Tue, 26 Jan 1999, George Toft wrote:

>Keith White wrote:
>> 
>> If for example,i wanted to change a user xxxx to yyyy
>> without destroying (a) the home directory
>>                    (b) not invoke copying from /etc/skeleton
>>                    (c) not change the UID
>>                    (d) recursivly change the ownership of all files
>>                        placed across the system by xxxx to yyyy
>>                    (e) retain permissions for the new user yyyy to
>>                        access db files etc.(this last one maybe not
>> work).
>> 
>> How would this be done ??.
>
>I'll give this one a whack:
>1.  Edit /etc/shadow - change user's username
>2.  Edit /etc/passwd - edit user's username, name, directory
>3.  mv user's directory to new username
>
>I tried it before I sent this.  Works fine.
>
>George

And if you're using netscape, don't forget to edit
~/.netscape/preferences.js to reflect new home directory.

Check other app config files for similar.

Simone

-- 
Simone Richard  (Montreal, Canada)
[EMAIL PROTECTED]

-
To get out of this list, please send email to [EMAIL PROTECTED] with
this text in its body: unsubscribe suse-linux-e
Check out the SuSE-FAQ at http://www.suse.com/Support/Doku/FAQ/ and the
archiv at http://www.suse.com/Mailinglists/suse-linux-e/index.html

Reply via email to