damerit Posted August 22, 2008 Share Posted August 22, 2008 How do I change the user name on linux? For instance, I have a user 'jdm' who is on multiple goups and I want to change the user name to say, 'david'. If I can't change the name without causing havic, how do I create a new user of 'david' and give this user the same permissions and groups level as 'jdm'? thanks, Link to comment https://forums.phpfreaks.com/topic/120884-solved-change-user-name-on-linux/ Share on other sites More sharing options...
neylitalo Posted August 22, 2008 Share Posted August 22, 2008 # usermod -l david jdm # mv /home/jdm /home/david Link to comment https://forums.phpfreaks.com/topic/120884-solved-change-user-name-on-linux/#findComment-623120 Share on other sites More sharing options...
neylitalo Posted August 22, 2008 Share Posted August 22, 2008 I suppose I should mention that this won't break anything. Unix systems use UID, not usernames, for permissions and everywhere else they need to refer to a user. Link to comment https://forums.phpfreaks.com/topic/120884-solved-change-user-name-on-linux/#findComment-623125 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.