Date: Wed, 1 Aug 2001 18:15:55 +0300 From: Odhiambo Washington <wash@wananchi.com> To: freebsd-questions@freebsd.org, freebsd-stable@freebsd.org Cc: lucas@slb.to Subject: Re: Help with "rmuser" Message-ID: <20010801181555.H48472@everest.wananchi.com> In-Reply-To: <20010801083203.A61037@comp04.prc.uic.edu> References: <20010801125415.S16379@everest.wananchi.com> <20010801075314.A58468@comp04.prc.uic.edu> <20010801083203.A61037@comp04.prc.uic.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] * Lucas Bergman <lucas@slb.to> [20010801 16:33]: writing on the subject 'Re: Help with "rmuser"' Lucas> Thus spake Odhiambo: Lucas> Lucas> > > After a cvsupping and doing complete update yesterday, I now have Lucas> > > a very funny problem - I can't remove users! Lucas> > > Lucas> > > everest# rmuser test2 Lucas> > > Matching password entry: Lucas> > > test2:RUgtD0aLuma/E:5259:1004::0:0:Test Two:/home/test2:/nonexistent Lucas> > > Lucas> > > Is this the entry you wish to remove? y Lucas> > > Lucas> > > Remove user's home directory (/home/test2)? y Lucas> > > Lucas> > > Removing user's at jobs:Updating password file, Lucas> > > /usr/sbin/rmuser: Error: Couldn't open file : Lucas> > > No such file or directory Lucas> > > Lucas> > > Is there something wierd I might have done? Lucas> Lucas> Replied I: Lucas> Lucas> > I don't think so. It looks like some recent changes broke rmuser. Lucas> > I'm looking into it. Lucas> Lucas> It looks like rmuser is indeed broken. I submitted a PR with the Lucas> following patch, which works for me. As usual, there is no guarantee Lucas> that this won't totally destroy your password database; use with Lucas> *extreme* caution. Lucas> Lucas> http://www.slb.to/~lucas/patches/rmuser-200108011320.diff Lucas> Lucas> Apply the patch in /usr/src/usr.sbin/adduser. Hi Lucas, Thank you for the patch. I've applied it and it's worked perfectly here. -Wash -- Odhiambo Washington Wananchi Online Ltd., wash@wananchi.com 1st Flr Loita Hse. Tel: 254 2 313985 Loita Street., Fax: 254 2 313922 PO Box 10286,00100-NAIROBI,KE. There's one good kind of writer -- a dead one. -James T. Farrell [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE7aB0rn7LIsuxjem8RAr6CAKCqhOAVKMQPw0zOakD0oEnWAKVdvQCePvcd +h/o7VUeCktxMNKHL2JY3Kk= =NPH0 -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010801181555.H48472>
