Re: sudo disappears after latest update

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

 





On 02/10/2016 08:24 AM, Tom H wrote:
On Tue, Feb 9, 2016 at 6:02 PM, jd1008 <jd1008@xxxxxxxxx> wrote:
To the OP of this thread:

Why not

boot a live CD or DVD

Once booted,
su - root

mkdir /fedora
mount /dev/sd ??  /fedora   (??  are something like a0  or a1 ...etc ... the
name of your hard drive boot partition)

chroot /fedora

passwd root
root's presumably disabled on the OP's box so rather than change this
setup, the OP should run "visudo -f /etc/sudoers.d/maitra" after
"chroot /fedora" (or "systemd-nspawn -D /fedora") to create the
following line in "/etc/sudoers.d/maitra":

maitra ALL=(ALL) ALL
The problem with allowing the user to be effectively root (via sudoers) is that ubiquotous browser. I have zero faith in browsers. No, not 0, but -infinity .
A malefic website can and does user JS to fork out processes that can sudo
whatever they want.
This is why broswers should be set to suid some user other than the logged-in user, and having no privileges outside it's own directory. This would be like a jail.
Many of you already know how to set up such a jail.


--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
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