We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
What is better when using admin mode in Linux?
…sudo every time you have a admin command you want to or just us sudo su and then type any command you want to use? I use Ubuntu servers myself and I just tired of typing sudo in front of every command I run when doing be changes and have used sudo su. I am a windows engineer and was told by a linux engineer this is the way a windows guy would handle this, what do you think.
It is safest to do everything you can as an ordinary user and only become root for the specific commands that need it. In the old days we used “su -c [command]” a lot but the sudo command is a better approach.
A nice thing about sudo where there is more than one administrator is it can be configured to log everything. If someone mangles a config file that craters a server next reboot you can go back through the logs to see who is responsible. We have situations where we manage a linux server our customer also needs root authority for. In our case making them use sudo is CYA for us so we won’t be blamed for problems they cause.
You should use sudo for everything but as you are noticing it gets to be a bloody nuisance when you have a lot of things to do. I generally use sudo for a handful of commands but if I have a lot of stuff to do I’ll just become root.
Ok well I mostly do this on servers I own, I do not admin alot of linux servers, as I said I am a windows guy. I have just found like today I had a lot of freaken commands to issue the server, and it was just easier to do this as root using sudo su.
-
Better to use : limewire, frostwire, or another kind - 2 Answers
What do you guys perfer better or is better to use : limewire, frostwire, or another kind(and what) ..
-
I want to learn how to use HTML mode - 1 Answers
Can someone teach me how to use HTML mode?
-
Anyone else use Linux? - 1 Answers
im having trouble with net bean on my new Linux machine it says that somthing is already being used and it will not let me op...
-
Which phone would be better and easier to use and get used to? - 1 Answers
Well my dads re-newing our verizon contract and so I need to choose a new phone. I want something small cause it would be eas...
-
Is there a software to edit my voice to make it sound better? - 2 Answers
Is there a software I can use to edit my voice to make it sound better?
-
If I have a plan from at&t, can I get a phone from tmobile and use - 1 Answers
If I have a plan from at&t, can I get a phone from tmobile and use that phone on my plan?
-
Using my own picture as my layout or background? - 1 Answers
How do I use my own picture or pictures as my layout or background?
-
Which Samsung phone is better? - 1 Answers
Samsung Tocco Ultra Edition or Samsung Jet?
-
Which program to use - 4 Answers
I'm not sure which program to use to write the book between the regular notepad and Microsoft Word. Which is better to use?
-
how do you download itunes with Linux Ubuntu? - 1 Answers
i have Wine Doors installed already i just don't know how to use any of it. PLEASE HELPP.
VPS Server | VPS Sunucu Kiral...
VPS Sunucu Kiralama, Linux Windows Ucuz VPS, Sanal Sunucu Fiyatları
AssurX
Quality Management Software, Regulatory Compliance, QMS Software
Perfect Health Fit
Technology, Social Media, Internet
RAR Password Unlocker
Software, Technology, Security
BookAPoint
Salon, Spa, Barber