RE: Rename a user

2004-03-15 Thread Nguyen Huu Hoa
Thanks to all,
I have managed to do it :)
In my system, don't know why the root user disappear only toor exists, so I
must rename toor to root :)

Hoa, Nguyen

-Original Message-
From: Jerry McAllister [mailto:[EMAIL PROTECTED] 
Sent: Sunday, March 14, 2004 8:35 AM
To: Nguyen Huu Hoa
Cc: [EMAIL PROTECTED]
Subject: Re: Rename a user

> 
> Hi List,
> How can I rename a user from my BSD 5.2 system. I have a user called
"hoa",
> then I want to rename it to "nguyen", so what should I do?

Just make yourself root (su)
then do  'vipw'  and edit the Userid name in the hao record.

When you get out of vipw (:wq, just like in vi) it also updated
the database properly.

Of course, if there are scripts somewhere that have the hao name
hardcoded in to them, those will have to be fixed by hand.

jerry

> Thanks
> Hoa, Nguyen

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Rename a user

2004-03-12 Thread Nguyen Huu Hoa
Thanks,
But can I rename root user?

Hoa, Nguyen
-Original Message-
From: Jonathan Chen [mailto:[EMAIL PROTECTED] 
Sent: Saturday, March 13, 2004 1:18 PM
To: Nguyen Huu Hoa
Cc: [EMAIL PROTECTED]
Subject: Re: Rename a user

On Sat, Mar 13, 2004 at 11:14:12AM +0700, Nguyen Huu Hoa wrote:
> Hi List,
> How can I rename a user from my BSD 5.2 system. I have a user called
"hoa",
> then I want to rename it to "nguyen", so what should I do?

As root, use vipw and change the username.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
"Only the meek get pinched. The bold survive."
  - Ferris Bueller

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Rename a user

2004-03-12 Thread Nguyen Huu Hoa
Hi List,
How can I rename a user from my BSD 5.2 system. I have a user called "hoa",
then I want to rename it to "nguyen", so what should I do?
Thanks
Hoa, Nguyen

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"