mysticpain Posted June 8, 2004 Report Share Posted June 8, 2004 Is there a way to configure the login screen so I can login as root? I have another user account and that is the only one that comes up upon boot up. I need to modify a couple of files and obviously I don't have permission under the other user's account. ALso, is Kedit a command I can use to modify files in Mandrake? Thank you. [moved from Software by spinynorman] Quote Link to comment Share on other sites More sharing options...
Ronin Posted June 8, 2004 Report Share Posted June 8, 2004 Yes there is but its highly not recommanded to do which is why its not an option. Log on as your user, open a terminal and type su -, then the root password when asked. Anything you then open or do from that terminal will be done as root. To edit files from the terminal you can use vi, nano, pico, joe. vi is installed by default the rest will have to be installed. Quote Link to comment Share on other sites More sharing options...
bvc Posted June 8, 2004 Report Share Posted June 8, 2004 it is an option and should be IF linux is about choice even if that choice is to run as root! :P Open a terminal>su to root> and run; kcontrol go to "Login Manager"? and Users tab? ----something like that----- and I believe you uncheck (but maybe check) root (just undo what is already chosen) Screw the anti-Linux/Choice BS ;) yes, you can use kwrite (case sensitive) from a terminal as root. kate is much better though :D Quote Link to comment Share on other sites More sharing options...
pmpatrick Posted June 8, 2004 Report Share Posted June 8, 2004 (edited) There's no need to login as root to modify a few files. If you don't like editing from the command line using vi or some other command line text editor and prefer graphical text editors like kedit or kwrite, just open a console and run: $ su <enter root password> # kedit Kedit will fire up with root privileges. Just navigate to the files you want to edit and have at it. This is a lot easier than logging in and out as root IMHO. Note, I think in mdk 10, kedit is not installed by default. It uses kwrite instead as the default text editor. If your using mdk10 just launch kwrite from the terminal as root instead of kedit. Edited June 8, 2004 by pmpatrick Quote Link to comment Share on other sites More sharing options...
mysticpain Posted June 8, 2004 Author Report Share Posted June 8, 2004 OK, Thanks guys! I am able to manuever much better now... What I need to edit is /etc/rc.local so programs automatically start upon booting into an account. I want Firefox 0.8 to start and be displayed right away upon the boot up. I edited the last line int /etc/rc.local and added these lines at the end based upon the directions in the table of contents thread: su - ramfree17 -c /home/student/firefox tmpwatch -fa 120 /tmp And it's not quite doing what I want to... What am I doing wrong? Quote Link to comment Share on other sites More sharing options...
bvc Posted June 8, 2004 Report Share Posted June 8, 2004 yeah, kedit not kwrite is what I meant. Quote Link to comment Share on other sites More sharing options...
bvc Posted June 8, 2004 Report Share Posted June 8, 2004 (edited) no need to put it in a file. Especially one that is run b4 X and is for root stuff....just save your session as a user. There's a setting in kcontrol somewhere to do that auto at logout. Or, use the ~/.kde/Autostart directory. Edited June 8, 2004 by bvc Quote Link to comment Share on other sites More sharing options...
bvc Posted June 8, 2004 Report Share Posted June 8, 2004 http://www.mandrakeusers.org/index.php?act...ndpost&p=119634 Quote Link to comment Share on other sites More sharing options...
bvc Posted June 8, 2004 Report Share Posted June 8, 2004 oh, and you're not actually using ramfree17 are you? Quote Link to comment Share on other sites More sharing options...
mysticpain Posted June 8, 2004 Author Report Share Posted June 8, 2004 I guess I'm not sure. I am learning linux on the fly here so.... Quote Link to comment Share on other sites More sharing options...
spinynorman Posted June 8, 2004 Report Share Posted June 8, 2004 Although ramfree17 looks like a linux command, he is actually one of our members... :P Quote Link to comment Share on other sites More sharing options...
mysticpain Posted June 8, 2004 Author Report Share Posted June 8, 2004 OMG Quote Link to comment Share on other sites More sharing options...
bvc Posted June 8, 2004 Report Share Posted June 8, 2004 :lol: ....it's an understandable assumption put your username in its place. Quote Link to comment Share on other sites More sharing options...
Guest anon Posted June 8, 2004 Report Share Posted June 8, 2004 Although ramfree17 looks like a linux command, he is actually one of our members... :P :D :D :D Quote Link to comment Share on other sites More sharing options...
Ronin Posted June 8, 2004 Report Share Posted June 8, 2004 it is an option and should be IF linux is about choice even if that choice is to run as root! :P It is about choice and options but there ares good choices and then there's risky ones. Logging on and even worse running as root is dangerous in my opinion. Just because an option exists or something can be done doesn't mean one should do it. edited by anon. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.