Comment 7 for bug 207369

Revision history for this message
Iain Buclaw (iainb) wrote :

Okay, I agree with both you.

Martin, yes, a fix for this is something that should be discussed.

I totally agree with adding three new apps that have the ability to change the files in accordance.

In the one end you have "visudo, vigr & vipw" that use vi. and the other you can have "pisudo, pigr & pipw" that use pico/nano. (I checked the names for any clashes, and they seem to be original).

Also changing the /etc/sudoers file too would be another start too.

Currently it says:
# /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
#

Maybe having instructions on how to close vi. For when a future hardy user runs visudo without expecting it to open in vi (like what I did).
And including instructions on how to open and edit the file in another editor for users who either don't know how to work vi, or don't wish to work with vi.

And I agree with you too Constantine. I think that this bug should be closed and re-opened as a "wishlist" bug named "pico/nano editor for /etc/sudoers, passwd & group files". Also /etc/shadow & gshadow, respectively. (I have done some research since opening this bug and have learnt a bit about how things work)

Regards
Iain