The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > AIX
.
google unix.com



AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
users login lo-lp-kl Shell Programming and Scripting 3 05-23-2008 12:27 PM
error occurs while some users login rrlog HP-UX 0 08-12-2007 04:55 PM
Change a users primary group after login terrym UNIX for Advanced & Expert Users 3 02-09-2007 03:03 AM
Users with login privileges sprellari Linux 2 08-23-2006 05:22 AM
NIS users cann't login on AIX and HP mod UNIX for Advanced & Expert Users 3 08-22-2001 11:25 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-15-2006
spacewalker spacewalker is offline
Registered User
  
 

Join Date: Jan 2006
Posts: 21
Change users login name

Hi,

I need to change some users login name in AIX. With solaris i donīt had problems, i have used "usermod". But in AIX the usermod command donīt have the same behavior. Can someone give me a tip on how to perform these changes?

Thanks in advance.
  #2 (permalink)  
Old 03-15-2006
jyoung jyoung is offline
Registered User
  
 

Join Date: Nov 2001
Location: Flint, MI
Posts: 227
Can't you assign them a new user id with the mkuser command?
  #3 (permalink)  
Old 03-15-2006
spacewalker spacewalker is offline
Registered User
  
 

Join Date: Jan 2006
Posts: 21
Hi jyoung,

I donīt want change the uid. I need to change de login name without change the uid.

Regards.
  #4 (permalink)  
Old 03-15-2006
ScatterBrain ScatterBrain is offline
Registered User
  
 

Join Date: Feb 2006
Posts: 61
would there be a problem with removing the user and re-adding with the new name but with original UID?
  #5 (permalink)  
Old 03-16-2006
spacewalker spacewalker is offline
Registered User
  
 

Join Date: Jan 2006
Posts: 21
Hi ScatterBrain,

No, itīs not a problem. But in Solaris a donīt need to do that, i can just rename the account. Recreate the user is the only solution to rename it in AIX?

Regards.
  #6 (permalink)  
Old 03-17-2006
bakunin bakunin is offline Forum Staff  
Bughunter Extraordinaire
  
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 1,628
You can do the same in AIX, the command is "chuser". See "man chuser" for a detailed explanation.

bakunin
  #7 (permalink)  
Old 03-17-2006
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
bakuninm I don't see the option to change the username in the man page. None of the attributes seem to cover this.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:57 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0