Re: Yes..., I can destroy your system!

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

 



Hi

Yes that is correct, but most new users do not know how to use vi or most alternate console text editors.

I usualy alias pico to "pico -w" then export EDITOR as pico, because I prefer it for quick editing. I use vi for bulk editing. Since most new users probably have not installed pine, what I do probably wouldn't have helped. When I run visudo after I have made these changes visudo uses 'pico -w' to do the editing rather than vi.

NOTE: Pico's "-w" option turns off automatic wraping which can be a pain when editing config files.

Using a GUI text editor to copy/modify one of the examples is fairly straight forward, as I intended my suggestion to be.

Rui Miguel Seabra wrote:
On Tue, 2003-01-21 at 19:06, Guy Fraser wrote:

EXPANDED:
When running as root, edit "/etc/sudoers" and grant yourself privledge to certain commands or all commands. Then when running as a regular user you can execute the enabled commands like this :
sudo /sbin/ifconfig

Enhanced editing: visudo
That command will edit /etc/sudoers AND check for syntax on exit. Very
helpful.

Rui




--
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux