Five *nix Myths Busted

Written By
KH
Ken Hess
Jan 27, 2010

[ Thanks to Ken Hess
for this link. ]

“You’d be surprised as to how often even the most
technical people spout these myths to each other and to the
unsuspecting and unknowledgeable bystander. I have to bite my
tongue when I hear them. And now that you know them, I hope it
ruins your day too when someone slips into mythland with one of
these gems.

“They are in reverse order of how much they irritate me.
Enjoy.

“5. Logging in as Root – The long-held myth that you should
never login as root is ridiculous. The logic goes something like
this: Login as a standard user, then su to root or use sudo to run
something as root. Yes, it’s safer to do so but not by much. If you
su to root, then you are root. If you use sudo then you are
executing a program, editing a file or doing whatever it is you’re
doing as root.

“Should you disable the ability to ssh as root? Yes.

“Should you never login as root to a system? No.

“Should you always use sudo to perform single commands as root?
If you’re afraid of what you might do. But there’s a caveat with
sudo too. If you’re actively doing things with sudo, you only have
to enter your password once during a session, unless you walk away
or take a five minute break, then you’ll be prompted again for
it.

“If you’re careless, you’re going to make unrecoverable errors
regardless of using su or sudo. Be careful.”

Advertisement

Complete
Story

KH

Ken Hess

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.