Computing.Net > Forums > Unix > Changing username in AIX

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Changing username in AIX

Reply to Message Icon

Name: pnbalaji
Date: February 28, 2008 at 09:40:46 Pacific
OS: AIX 5.3
CPU/Ram: 16GB
Product: IBM, 7026-H80
Comment:

Hi,

I want to change the unix username. Can some one tell me how to do it? I am part of the security group.

I don't want to edit the /etc/passwd file to overwrite the username.

Thanks,
Balaji.

Thanks,
Balaji.



Sponsored Link
Ads by Google

Response Number 1
Name: wollie
Date: March 3, 2008 at 00:17:08 Pacific
Reply:

Balaji,

my knowledge regarding AIX is a bit outdated. I know that there is an admin interface called smit which allows you to maintain users. As far as I remember it doesn't allow to change a users name. My proposal would be to do it via "vi /etc/passwd".

Wollie


0

Response Number 2
Name: pnbalaji
Date: March 20, 2008 at 09:46:11 Pacific
Reply:

Hi,

I am able to change the username using the following command.

chuser gecos="User name" userid.

This works fine, but the user who executes the above command needs to be part of the "security" group.

Just wanted to share since I guess this is an easy solution.

Thanks,
Balaji.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: Changing username in AIX

List of changed files in AIX www.computing.net/answers/unix/list-of-changed-files-in-aix/8019.html

Change IP address in AIX www.computing.net/answers/unix/change-ip-address-in-aix/4134.html

Seperate gateways for Cards in AIX www.computing.net/answers/unix/seperate-gateways-for-cards-in-aix-/3709.html