Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Remaster help< Next Oldest | Next Newest >
JeffElkins Offline





Group: Members
Posts: 26
Joined: Dec. 2005
Posted: Jan. 11 2006,20:07 QUOTE

I'm using DSL as a remaster base for my wife's upcoming birthday gift USB pendrive. It's going well, but I'm stuck on one area: changing the default user from dsl to her name.

Thus far I've changed the majority of what I _think_ needs to be changed in the minirt24.gz file, the passwd,shadow and init.d scripts, and KNOPPIX but after rc5.d finishes, I get a repeating loop of 'unknown id: dsl' - so something, somewhere is still looking for a dsl user.

Google gave me nada. Can someone point me in the correct direction?

Jeff
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Jan. 11 2006,20:34 QUOTE

in runlevel 5 (rc5.d), root su's to dsl...this is done in /.bash_profile.

A word of caution:  Practically everything in DSL focuses on user dsl.  I would not be at all surprised if you were to spend several days tracking down all references to dsl in order to change them to another user.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
JeffElkins Offline





Group: Members
Posts: 26
Joined: Dec. 2005
Posted: Jan. 12 2006,00:14 QUOTE

Thanks Mikshaw!

That got me booted with my chosen uid. I was grepping my way through /etc and never examined a level above.

Appreciate it,

Jeff
Back to top
Profile PM 
frankseu Offline





Group: Members
Posts: 28
Joined: Mar. 2005
Posted: Jan. 13 2006,08:48 QUOTE

Hi Jeff,

i also would like to change the DLS user in to an other
by my remaster.
Do you have a small instruction for me ?

Is it only changing the Name in the /etc/passwd
and changing the name of the homedir (and the script mentioned by mikshaw ?)

@mikshaw
Would it be generaly possible to change the rc script like :
read the name with given uid from /etc/profile and then do the
su with this name ?

Would make thinks easier for remasters.

regards
Frank
Back to top
Profile PM 
JeffElkins Offline





Group: Members
Posts: 26
Joined: Dec. 2005
Posted: Jan. 13 2006,13:21 QUOTE

I don't have it perfected by any means. So far, I've made my changes in the passwd,shadow and group files, various files in /etc/init.d, and yet more in /usr/bin. Grep is your friend :)
Back to top
Profile PM 
4 replies since Jan. 11 2006,20:07 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Remaster help

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code