From owner-freebsd-questions Tue Mar 5 19:21:35 2002 Delivered-To: freebsd-questions@freebsd.org Received: from laika.martini.nu (12-224-18-46.client.attbi.com [12.224.18.46]) by hub.freebsd.org (Postfix) with SMTP id 0A8E337B417 for ; Tue, 5 Mar 2002 19:21:31 -0800 (PST) Received: (qmail 23523 invoked by uid 1001); 6 Mar 2002 03:21:30 -0000 Date: Tue, 5 Mar 2002 19:21:30 -0800 To: Jonathan Chen Cc: Andreas Fiedler , freebsd-questions@FreeBSD.ORG Subject: Re: $ character in user names Message-ID: <20020305192130.F19936@martini.nu> References: <3C83F6CC.FECF12B8@computerservice-fiedler.de> <200203050311.WAA30316@alpha.vaxxine.com> <20020305183702.E19936@martini.nu> <20020306155816.A83006@grimoire.chen.org.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020306155816.A83006@grimoire.chen.org.nz>; from "jonc@chen.org.nz" on Wed, Mar 06, 2002 at 03:58:16PM X-Sysinfo: FreeBSD 4.5-RELEASE, up 2:04 From: Mahlon X-Delivery-Agent: TMDA/0.44 (Python 2.2; freebsd-4.5-RELEASE-i386) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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