Jul 7, 2008 #1 dwcasey MIS Oct 31, 2002 179 US How can I change only username ( login name ) and preserve the UID? I tried to use usermod, but I get an error.
How can I change only username ( login name ) and preserve the UID? I tried to use usermod, but I get an error.
Jul 7, 2008 #2 khalidaaa Technical User Jan 19, 2006 2,323 BH Hi dwcasey, I don't think that you can change the user name! but you can go around this by creating a new user and then switch the UID between the old and new! Have a look at this link: http://www.tek-tips.com/viewthread.cfm?qid=1483470&page=1 Regards, Khalid Upvote 0 Downvote
Hi dwcasey, I don't think that you can change the user name! but you can go around this by creating a new user and then switch the UID between the old and new! Have a look at this link: http://www.tek-tips.com/viewthread.cfm?qid=1483470&page=1 Regards, Khalid
Jul 8, 2008 #3 TheSlipKid Technical User Jul 8, 2008 1 US The system will not let you modify a user that is in use (aka logged in). Logoff and then login as root and then modify the user. Upvote 0 Downvote
The system will not let you modify a user that is in use (aka logged in). Logoff and then login as root and then modify the user.