Previously Ted Cabeen wrote:
> However, thinking about it, this doesn't work.  If you're editing as root, you
> can use :e to switch to editing a SUID root file (any one you can write to
> will work), delete the entire contents, and then use :r to bring in the 
> /bin/sh executable.

But you can restrict the file to edit in your sudoers file anyway so
that trick won't work.

Wichert.

-- 
  _________________________________________________________________
 /[EMAIL PROTECTED]         This space intentionally left occupied \
| [EMAIL PROTECTED]            http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0  2805 3CB8 9250 2FA3 BC2D |

Reply via email to