Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
Click here to see the post LQ members have rated as the most helpful post in this thread.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.