LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Trying to understand root login vs user login? (https://www.linuxquestions.org/questions/linux-newbie-8/trying-to-understand-root-login-vs-user-login-772035/)

i92guboj 11-30-2009 05:37 AM

To add something to the advices above against running in god-mode all the time (which are wise, and you should really take into account), I will only add one thing: if you are seriously doing su or sudo 30 times per session, then you definitely are doing everything wrong. Once your system is set up, you shouldn't need to use administrator privileges unless you need to reconfigure some system core settings or unless you need to update or install something.

You should really revise your policies, stop and think a moment. Make a list of the things you are using root for, and then stop once again and explain why do you think you need root for each particular task.

Otherwise, completely ignore the advice of every *nix user, and suffer the consequences. But if you are going to do so, I'd rather be running a less restrictive OS, like Windows. You'll be happier.

Davno 11-30-2009 10:12 AM

Quote:

Originally Posted by smeezekitty (Post 3773977)
If it anoys you, just login as root!
Never had problem and i do it all da time.

If you do that, your system will be as secure as Windozzz.

Its normal to have to use (su) often on a new installation, once everything will be configure you won't need to be root often anymore.

catkin 11-30-2009 10:33 AM

Quote:

Originally Posted by evo2 (Post 3774146)
DO NOT do this.

Evo2.

I pretty much always have a root terminal open (and an unprivileged user terminal open). Looking back through root's command history this is for
  • Running backups
  • Mounting file systems not in fstab
  • Running commands in /sbin
  • Looking in some system info directories not otherwise readable
  • Searching directories not otherwise searchable
  • Changing system configuration files
  • Creating partitions and file systems
  • Installing software
  • Daemon control
When I first came back to *n*x I tried to adopt the new paradigm of using sudo for everything but got so frustrated at the extra keystrokes required for so little benefit. Perhaps if I was part of a sysadmin team administering a server farm it would be a good discipline but for a personal workstation with regular tested backups ... the risk-reduction/benefit ratio just didn't make sense; anyway, I figure I can screw things up just as much running commands via sudo as directly.


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