Re: Ask detail operate process about edit sudoers file by terminal

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

 



On Fri, Jun 14, 2013 at 11:25:39AM -0400, Doug wrote:
> On 06/14/2013 12:37 AM, LingxianGuo wrote:
> >As a beginner,I am using Fedora18 64bit.The Firefox needs the plugin of
> >the Adobe flash Player,I have downloaded the file of
> >install_flash_player_11_linux.x86_64.tar.gz.By terminal, when I copied
> >the file of libflashplayer.so to /usr/lib64/mozilla/plugins,the result
> >is my user name is not in the file of sudoers.Except C Language,I do not
> >know any more about computer:BY TERMINAL,I NEED THE DETAIL OPERATE
> >PROCESS ABOUT EDITING SUDOERS FILE--EVEN EVERY COMMAND
> >
> While you are "supposed" to use visudo to edit sudoers, that
> requires that you know how to use the vi editor. Visudo is designed
> to catch mistakes that you make. However, you can edit sudoers with
> any editor; it is only a text file and doesn't know any better. You
> must have root privileges to edit sudoers, however.
> 
> --doug
> 
> -- 
> Blessed are the peacemakers..for they shall be shot at from both
> sides. --A.M.Greeley
> -- 
> 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

EDITOR=nano visudo solves that problem, alternatively you can set the
EDITOR environment variable beforehand. Of course, it doesn't have to be
nano.

Never edit the actual sudoers file by hand, visudo does some syntax
checks to check for errors in the edit.
-- 
staticsafe
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
Please don't top post.
Please don't CC! I'm subscribed to whatever list I just posted on.
-- 
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