Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 02-28-2003, 06:44 PM   #1
Registered: Feb 2003
Distribution: freebsd/gentoo
Posts: 68

Rep: Reputation: 15
Talking dumb newb question

As stated, this is probably a stupid question. I hear that logging in as root is a security threat or whatever, but what makes using root so bad? Typing su all the time is kinda anonying =]

Old 02-28-2003, 06:48 PM   #2
Senior Member
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
You only need to look at the security record of windows to realise how bad it is to be logged into the admin account all the time.
To make things a bit easier you can issue the command you want in one line, eg;
bern@grendel bern$ su -c "hdparm -Tt /dev/hda"

 Timing buffer-cache reads:   128 MB in  0.85 seconds =150.59 MB/sec
 Timing buffered disk reads:  64 MB in  2.16 seconds = 29.63 MB/sec
bern@grendel bern$
Or have a look at sudo.

Last edited by Aussie; 02-28-2003 at 06:51 PM.
Old 02-28-2003, 06:50 PM   #3
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69

Also, look into sudo rather than su-ing if it's a process you do all the time (like shutdown).

Old 02-28-2003, 06:52 PM   #4
Registered: Feb 2003
Location: Switzerland, Berne
Distribution: Slackware 9.0
Posts: 186

Rep: Reputation: 30
You aren't the first to ask this question

Acting as real 'root' is very dangerous, because you can do everything (stupid) you want. And Linux don't ask you "Are you sure you want to delete any files on this partition?"...

Search for following keywords on this forum:

"root dangerous su"
Old 02-28-2003, 07:37 PM   #5
Registered: Feb 2003
Distribution: freebsd/gentoo
Posts: 68

Original Poster
Rep: Reputation: 15
thx, had sudo installed already, just didn't know it worked better than su =]


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
dumb a*s question Jetta-GT- Linux - Newbie 3 01-08-2004 05:58 AM
REALLY dumb question christer Linux - Newbie 11 10-05-2003 10:43 PM
dumb question jmarsh Linux - Networking 5 02-19-2003 06:34 PM
dumb question davidpurple Linux - Newbie 4 10-21-2001 02:59 AM
here is a dumb question SIAS99 Linux - Newbie 6 09-29-2001 10:04 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:57 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration