Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 01-13-2003, 04:04 AM   #1
LQ Newbie
Registered: Dec 2002
Location: nigeria
Distribution: slackware 8.1
Posts: 12

Rep: Reputation: 0
changing username

yo, how can i edit/change my username in slackware 8.1. i know for Mandrake, u just use drake or something.

what files to i edit to change my username.
Old 01-13-2003, 06:07 AM   #2
Registered: Oct 2002
Location: Curitiba - Brazil
Distribution: Conectiva
Posts: 334

Rep: Reputation: 30
Edit /etc/passwd, /etc/group, /etc/shadow and /etc/gshadow to modify your username. Don't forget to rename your /home/user dir ...
Old 01-13-2003, 07:44 AM   #3
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
usermod is another option, to change the name I beleive it's:
usermod -l oldname newname

This will ONLY change the username, nothing else, however it's suggested you change the ~$HOME directory as well to reflect the new name, but is not necessary.

Old 01-15-2003, 09:22 AM   #4
LQ Newbie
Registered: Dec 2002
Location: nigeria
Distribution: slackware 8.1
Posts: 12

Original Poster
Rep: Reputation: 0


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
changing username Slagazor Linux - Newbie 4 04-18-2005 03:37 PM
Changing username/passwd in Thunderbird leupi Linux - Software 2 04-17-2005 09:35 AM
Changing LQ username? ksgill LQ Suggestions & Feedback 3 03-06-2005 02:44 PM
Changing Super User Username bjmurph Linux - General 7 10-11-2004 03:52 PM
Changing username Kramon Mandriva 1 11-24-2003 08:04 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:57 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration