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
--kORqDWCi7qDJ0mEj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Lucas Bergman <lucas@slb.to> [20010801 16:33]: writing on the subject 'Re= : Help with "rmuser"' Lucas> Thus spake Odhiambo: Lucas>=20 Lucas> > > After a cvsupping and doing complete update yesterday, I now have Lucas> > > a very funny problem - I can't remove users! Lucas> > >=20 Lucas> > > everest# rmuser test2 Lucas> > > Matching password entry: Lucas> > > test2:RUgtD0aLuma/E:5259:1004::0:0:Test Two:/home/test2:/nonexis= tent Lucas> > >=20 Lucas> > > Is this the entry you wish to remove? y Lucas> > >=20 Lucas> > > Remove user's home directory (/home/test2)? y Lucas> > >=20 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> > >=20 Lucas> > > Is there something wierd I might have done? Lucas>=20 Lucas> Replied I: Lucas>=20 Lucas> > I don't think so. It looks like some recent changes broke rmuser. Lucas> > I'm looking into it. Lucas>=20 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>=20 Lucas> http://www.slb.to/~lucas/patches/rmuser-200108011320.diff Lucas>=20 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.=20 -James T. Farrell=20 --kORqDWCi7qDJ0mEj Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE7aB0rn7LIsuxjem8RAr6CAKCqhOAVKMQPw0zOakD0oEnWAKVdvQCePvcd +h/o7VUeCktxMNKHL2JY3Kk= =NPH0 -----END PGP SIGNATURE----- --kORqDWCi7qDJ0mEj-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010801181555.H48472>