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: switch to su and using .bash_profile usb< Next Oldest | Next Newest >
Pitmaster Offline





Group: Members
Posts: 1
Joined: Jan. 2006
Posted: Jan. 20 2006,22:43 QUOTE

Hi there,
I use DSL on a stick that is 128mb. There I have installed dosemu on it. Great, I have placed gcc1.dsl on /dev/sda1 and the subdir /dosmenu/ also on /dev/sda1.
Then every time I boot I come as user dsl and in the home dir for user dsl I edit the .bash_profile so that it won't start X and set user to root. (sudo su)
Now I want to start dosemu from the same file, that doesn't work, by becomming root the .bash_profile changed to the /KNOPPIX/.bash_profile file. This one I can not edit!
I have tried to find about this problem on the forum but I only found someting about remastering. I couldn't find how this remastering works, what I have to do to remaster.
Is the remastering thing my thing?
How does it work?

Thanks, Nico
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Jan. 20 2006,23:40 QUOTE

If you need to be root, then back up a bit.  Instead of switching to root from /home/dsl/.bash_profile, just prevent root from becoming dsl to begin with.  This is done in /.bash_profile.

--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
1 replies since Jan. 20 2006,22:43 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: switch to su and using .bash_profile usb

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