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: Installing as Root/Logining as Root, Single user install< Next Oldest | Next Newest >
Waterns Offline





Group: Members
Posts: 44
Joined: Mar. 2005
Posted: April 15 2005,23:50 QUOTE

I have a laptop with DSL 1.0rc1 that I would like to install some mydsl extensions on. How do I go about making mydsl command run as root? Or even better can i switch to the root user do what I need to do and log back out? Remember that I dont have a multiuser install.

I have tried "sudo" and "su" but then I dont know the mydsl install command.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: April 16 2005,00:33 QUOTE

"sudo su"

The command is "mydsl-load appname", although there's really no point in running it as root. The actual installation of files is done as root anyway....you're just adding more work for yourself.


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





Group: Members
Posts: 2329
Joined: Oct. 2003
Posted: April 16 2005,06:30 QUOTE

In my conversations with roberts,
we both see issues with loading extensions as the root user..  

e.g.  Open emelfm as super user,
       Install a .dsl file ( highlight barrage.dsl , and click the mydsl button )
       Now minimize emelfm ..
       Now open an XTerminal from the desktop.
       Wow, my desktop is now all ROOT , which is not a good thing..
       Exiting X , and restarting with "startx" fixes the issue..

        BUT, if you were to open, say sylpheed, or firefox,
        while in this condition, your mail, bookmarks, etc.
        would be owned by ROOT, making a journey back into them
        as user dsl painful, if not impossible..

Careful what you do as user ROOT...

73
ke4nt
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: April 16 2005,16:43 QUOTE

Linux/Unix 101.

You should never run your system as root.

You should only start a process as root only if you know why you need to do so.
Back to top
Profile PM WEB 
3 replies since April 15 2005,23:50 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: Installing as Root/Logining as Root

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