Re: Is it me or is it sudo?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Am 28.03.2012 19:26, schrieb T.C. Hollingsworth:
> On Wed, Mar 28, 2012 at 10:19 AM, Joe Zeff <joe@xxxxxxx> wrote:
>> On 03/28/2012 08:29 AM, Reindl Harald wrote:
>>>
>>> on a usual desktop PC with a standard-user it is a VERY bad
>>> idea because any attacker only needs to try "sudo anything"
>>> to get full control over the machine
>>
>>
>> My thoughts exactly.  Except under very unusual circumstances I'm the only
>> person who ever uses this PC, but I don't have sudo set up with nopassword.
>>  In fact, as I know the root password (being the person who installed
>> Fedora) I don't have sudo set up at all.  AIUI, sudo was written to allow
>> people *who don't have the root password* limited access to administrative
>> commands.
>>
>> Yes, I understand that there are times you have to use sudo instead of su in
>> a production environment to ensure that everything gets logged, but I've
>> never understood why anybody would do it at home.  YMMV and all that jazz,
>> but if this is a home box, I'd suggest asking yourself why you're bothering
>> with sudo in the first place.
> 
> In my case, it's because `sudo yum update` requires 3 less keystrokes
> `su -c 'yum update'`.  ;-)
> 
> I generally only need root for one-off commands and IMHO sudo's syntax
> for that is far nicer than su's.

what about a simple shell-script "/usr/local/bin/sudo" as wrapper?

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux