LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-22-2003, 06:51 AM   #1
javaarmy
Member
 
Registered: Sep 2003
Posts: 43

Rep: Reputation: 15
Loging in as root.


I am the only one who uses my computer and I've got it setup only to have one user, with my password. But I also set up a root password as well. Is there a way to turn this off, or log in as root so that I am not promted each time?
 
Old 09-22-2003, 07:02 AM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
As far as logging in as root goes - no no no. You should not log in as root on a regular basis - if someone gains access to your pc they will have full rights. If you make a mistake while logged in, you could wreck your machine/setup.

Far safer to use su for those times you need to be root.

Also, for security, it is safer to need a password. Once again, if someone can get access to your box you run the risk that they will be able to nasty things to your setup.

Yes, passwords are inconvenient, but it will save you from unnecessary grief.

Here endeth the lesson
 
Old 09-22-2003, 07:22 AM   #3
javaarmy
Member
 
Registered: Sep 2003
Posts: 43

Original Poster
Rep: Reputation: 15
k, and i like your sig.
 
Old 09-22-2003, 07:52 AM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
I can definitely recommend Robert Rankin if you're looking for something to read!

The Armageddon trilogy is hilarious.
 
Old 09-22-2003, 07:57 AM   #5
german
Member
 
Registered: Jul 2003
Location: Toronto, Canada
Distribution: Debian etch, Gentoo
Posts: 312

Rep: Reputation: 30
add something to /etc/sudoers to allow your user to execute commands as root without a pass. Then when you want to, type "sudo" before... like

$ sudo /etc/rc.d/init.d/httpd start

or something.

B.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Loging as root logs me out immediately sree_oradba Linux - General 2 06-01-2004 04:55 PM
Loging as root and an error booting. Kensai Mandriva 8 02-22-2004 11:38 PM
Loging in as root edigital Linux - General 2 12-20-2003 07:15 PM
root loging problem muthu_ravi Linux - Security 1 10-28-2003 06:51 AM
Loging on as root in Mandrake 9.1 enigma Z Mandriva 6 09-27-2003 06:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:04 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
Open Source Consulting | Domain Registration