Date: Tue, 5 Mar 2002 19:21:30 -0800 From: Mahlon <mahlon-dated-1015816890.6d95eb@martini.nu> To: Jonathan Chen <jonc@chen.org.nz> Cc: Andreas Fiedler <mail@computerservice-fiedler.de>, freebsd-questions@FreeBSD.ORG Subject: Re: $ character in user names Message-ID: <20020305192130.F19936@martini.nu> In-Reply-To: <20020306155816.A83006@grimoire.chen.org.nz>; from "jonc@chen.org.nz" on Wed, Mar 06, 2002 at 03:58:16PM References: <3C83F6CC.FECF12B8@computerservice-fiedler.de> <200203050311.WAA30316@alpha.vaxxine.com> <20020305183702.E19936@martini.nu> <20020306155816.A83006@grimoire.chen.org.nz>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 06, 2002, Jonathan Chen wrote: > On Tue, Mar 05, 2002 at 06:37:02PM -0800, Mahlon wrote: > > [...] > > If this is for a samba PDC, and you want automatic joining of new > > machines to the domain, manually editing vipw won't help you either, > > Andrew. > > You *can* use vipw(8). I've done it for at least 5 machines on the > local network, and it works fine. Again, if you want *samba* to do the adding of machines automatically, vipw will not work. vipw works fine for doing it manually, that's not in question. However, that's a real drag in any PDC environment with more than a handful of machines - especially when samba can do it for you in the first place. Patch pw, and add something along the lines of add user script = /usr/sbin/pw useradd %u -s /sbin/nologin .... etc delete user script = /usr/sbin/pw userdel %u To your smb.conf - then never worry about it again. (Until you upgrade. ;) -Mahlon Mahlon E. Smith jabber id: mahlon@chat.martini.nu http://www.martini.nu/ get pgp key: mahlon-pgp@martini.nu .......................................................................... rusty corkscrew acupuncture 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?20020305192130.F19936>