Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

Using root.

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
alu.
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 107
Joined: Sun Jan 23, 2005 7:19 pm
Location: Luxembourg

Using root.

  • Quote

Post by alu. » Wed Jan 26, 2005 8:50 pm

I only wanted to know why the working as "root" is dangerous.

What are the risks when I'm only working under my root login?
Top
adaptr
Watchman
Watchman
User avatar
Posts: 6730
Joined: Sun Oct 06, 2002 1:28 pm
Location: Rotterdam, Netherlands

  • Quote

Post by adaptr » Wed Jan 26, 2005 9:05 pm

Anything you accidentally delete is gone.

Forever.
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Top
kaidon
n00b
n00b
Posts: 72
Joined: Sat Nov 01, 2003 8:07 pm

  • Quote

Post by kaidon » Wed Jan 26, 2005 9:05 pm

1) If you make a mistake the damage is permanent imediatly, the system can't protect you. For example I once did rm -r .* in my home dir. If I had been root it would have wiped out my entire disk. Since I was working as a ordinary user I only lost the files in my home dir.

2) If you run user app's as root you give them total control over your machine. Say you're surfing the web with for example mozilla. Now you visit a website on which some bad guy has included a malicious program that attacks some security problem that was discoverd in mozilla. If you're root, he has total control over your machine and can do whatever he wants. Like install spam software, or use your box to do illegal stuff or the like.

Using sudo and su it's easy to become root when it's necessary. So there's really no reason to work as root.

cheers
Top
alu.
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 107
Joined: Sun Jan 23, 2005 7:19 pm
Location: Luxembourg

  • Quote

Post by alu. » Wed Jan 26, 2005 9:20 pm

I see, thanks for your replies.

In kde, can I switch from normaluser to root when I need to? I know that I can in the console.
Top
adaptr
Watchman
Watchman
User avatar
Posts: 6730
Joined: Sun Oct 06, 2002 1:28 pm
Location: Rotterdam, Netherlands

  • Quote

Post by adaptr » Wed Jan 26, 2005 9:30 pm

Well, there's kdesu, but it's masked ~x86.
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Top
kaidon
n00b
n00b
Posts: 72
Joined: Sat Nov 01, 2003 8:07 pm

  • Quote

Post by kaidon » Wed Jan 26, 2005 9:32 pm

Google found this:
http://www.kde-apps.org/content/show.php?content=11227

Don't know if there are any built-in tools for this. I don't use KDE.
Top
Post Reply

6 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic