LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-22-2011, 05:39 PM   #1
stormreactor
LQ Newbie
 
Registered: Jul 2011
Posts: 22

Rep: Reputation: Disabled
Manually Change Username


Hi all,

Is there a way to manually change a username without using usermod? What files would I need to edit? I am using Micro Core 3.7. Thanks for any help!

-stormreactor
 
Old 07-22-2011, 05:46 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
/etc/passwd
/etc/shadow
/etc/group (potentially)
/home/<user>


Cheers,
Tink
 
Old 07-22-2011, 05:51 PM   #3
stormreactor
LQ Newbie
 
Registered: Jul 2011
Posts: 22

Original Poster
Rep: Reputation: Disabled
Thanks Tinkster! I'll give it a whirl!

[EDIT] Unfortunately, whenever I edit those files and reboot, the files and usernames are back to being what they were. Yes, Micro Core is installed to the HDD (not CD), and there is no CD in the drive. I'm not that nooby.

[EDIT 2] Wait, I figured out that this is because Micro Core copies to and runs from the RAM by default. --facepalm-- You have to modify the microcore gzip files in /boot on the hard disk for the changes to take effect. Bleh.

--stormreactor

Last edited by stormreactor; 07-22-2011 at 06:20 PM.
 
Old 07-22-2011, 06:16 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
So .. after having done that it's all good? You're sorted?


Cheers,
Tink
 
Old 07-22-2011, 07:04 PM   #5
stormreactor
LQ Newbie
 
Registered: Jul 2011
Posts: 22

Original Poster
Rep: Reputation: Disabled
...Nope. I have to figure out how to edit those files in /mnt/hda1/boot/microcore.gz. I'm not sure what kind of file that is when it's decompressed.

[EDIT] I found out that microcore.gz contains a CPIO file. Working on editing it now.

Last edited by stormreactor; 07-22-2011 at 08:44 PM.
 
  


Reply


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
Change lq username ? kdrlx LQ Suggestions & Feedback 3 01-22-2007 10:40 AM
can i change username bobber Debian 2 01-19-2006 03:34 AM
Change the username rahul_kulkarni Linux - Newbie 3 12-23-2004 12:18 PM
Change username? theonebeyond LQ Suggestions & Feedback 3 12-05-2004 01:32 PM
change username thelight1 LQ Suggestions & Feedback 2 05-19-2004 11:24 PM


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

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