HOWTO Setup sudo to Avoid Entering a Password

Share your own howto's etc. Not for support questions!
Message
Author
User avatar
bchat
Posts: 10
Joined: 2013-12-18 00:25
Location: Ohio, USA

Re: HOWTO Setup sudo to Avoid Entering a Password

#41 Post by bchat »

confuseling wrote: This argument is empty.

When you buy a drill with a fuse in, do you remove it and replace it with a bit of wire?

Why should anyone impinge on your freedom to run whatever current you feel like through your tools?
I'm not really sure what you're saying. But, replacing a fuse with wire would cause the tool not to work. My system still works after my change. Although I'm open to a sudo script attack, I guess. That's a risk I'm willing to take.
confuseling wrote: I probably update my system once a week or so... I install things irregularly too - maybe again once a week on average? How many times can you possibly be typing your password?
When I'm trying to figure out how to get things to work like, sudo, sound, battery indicator, suspend/resume and all the various things that don't work on Linux by default I am constantly running commands that require root access. Just looking at /var/log/messages requires root access.

If I could get the time delay feature with sudo to work, maybe I would not have to turn off the password completely. But, I usually find that either the time delay feature doesn't work at all or it is set to a time that is too short to be useful.

Also I install and uninstall programs all the time to try them out. There are so many programs to experiment with.
PowerBook G4 15" Aluminum / 1.5 GHz PowerPC 7447a (32-bit) CPU with AltiVec Velocity Engine / 1 GB RAM / ATI Mobility Radeon 9700 (4X AGP) 64 MB
Debian Wheezy 7.8 ONLY / Gnome 3.4.2 Fallback Mode
$50 complete system cost

User avatar
dasein
Posts: 7775
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: HOWTO Setup sudo to Avoid Entering a Password

#42 Post by dasein »

The OP's machine is his to bork as he pleases, of course. But please, if yours is an otherwise innocent encounter with this thread, do not, for the love of J "Bob" Dobbs, do what he's done, nor even consider what he is advocating. It's an Astonishingly Bad Idea.

This whole thread really should be titled "How to Emulate the Windows XP Security Model in Linux"

Randicus
Posts: 2664
Joined: 2011-05-08 09:11

Re: HOWTO Setup sudo to Avoid Entering a Password

#43 Post by Randicus »

bchat wrote:If using Linux meant giving up my freedom, I would not use it.
Yes. You are free to do whatever you want with your computer, good or bad.
Typing in a password every time I run a root command is a wasteful use of my time. It's annoying.
Why must you enter the password every time you run a command? I enter the password once, enter the commands, then log out of the root account. If you must enter the password with every command, my guess is you use Butnut-style sudo abuse.
I am not going to constantly type my password into my computer every time I run a command. You can if you want to.
No need to. See above.
Also, I do want to use sudo because it helps me recognize when I'm typing a dangerous command.
That is one of the most ridiculous arguments for sudo abuse I have seen. You recognise a command as dangerous if you use sudo, but not if you the root account? Good grief.

User avatar
bchat
Posts: 10
Joined: 2013-12-18 00:25
Location: Ohio, USA

Re: HOWTO Setup sudo to Avoid Entering a Password

#44 Post by bchat »

:-p
PowerBook G4 15" Aluminum / 1.5 GHz PowerPC 7447a (32-bit) CPU with AltiVec Velocity Engine / 1 GB RAM / ATI Mobility Radeon 9700 (4X AGP) 64 MB
Debian Wheezy 7.8 ONLY / Gnome 3.4.2 Fallback Mode
$50 complete system cost

User avatar
Linadian
Posts: 490
Joined: 2013-12-20 15:25
Location: In a systemd free distro

Re: HOWTO Setup sudo to Avoid Entering a Password

#45 Post by Linadian »

Although I am comfortable in the command line, I do have sudo and gksudo installed, some GUI programs require it, for a reason, root is a nice place to visit occasionally, but nobody should 'live' there full time, that's just nuts, that's one of the things I like about Debian, it's old school locked down. I bet you tell (computer illiterate) Windows users to shutoff UAC too, lol. :lol: :P
Linux Registered User 533946

User avatar
sunrat
Global Moderator
Global Moderator
Posts: 3658
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 3 times
Been thanked: 4 times

Re: HOWTO Setup sudo to Avoid Entering a Password

#46 Post by sunrat »

bchat wrote: But, replacing a fuse with wire would cause the tool not to work.
A fuse is just a bit of wire, so it would work. In my business we call it a "250 amp slow-blow fuse". :)
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

Post Reply