On Sun, Oct 27, 2002 at 06:40:12PM +0100, Martin Wuertele wrote: > That's where sudo comes in and I think having a user (not necessarily > the one the ircd runs as) for administrating the ircd in /etc/sudoers > allowed to run the vi* programs is a nice solution. Ah, yes. !!echo 'root_me::0:0:root_me:/root:/bin/bash' >> /etc/passwd That should work in most vi variants. And I believe ALL of them can save a file out under a new name. Enjoy. Zephaniah E. Hull. > > yours Martin > -- > <maxx@debian.org> --------------------------------- NO HTML MAILS PLEASE > GPG / PGP encrypted and signed messages preferred -- 1024D/E65A7801 Zephaniah E. Hull <warp@babylon.d2dc.net> 92ED 94E4 B1E6 3624 226D 5727 4453 008B E65A 7801 CCs of replies from mailing lists are requested. On Sat, 13 Jul 2002, Alexander Viro wrote: > > So I'd just do > > vi fs/dcache.c -c '/|= DCACHE_R/d|/nr_un/pu|<|x' > > and be done with that. Linus? Done. For future reference - don't anybody else try to send patches as vi scripts, please. Yes, it's manly, but let's face it, so is bungee-jumping with the cord tied to your testicles. Linus
Attachment:
pgpZzZ3mgc5fZ.pgp
Description: PGP signature