From owner-freebsd-hackers Sat Dec 28 20:25:54 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9FBD937B401 for ; Sat, 28 Dec 2002 20:25:52 -0800 (PST) Received: from relay03.mail.esat.net (relay03.mail.esat.net [193.95.141.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id C298C43E4A for ; Sat, 28 Dec 2002 20:25:51 -0800 (PST) (envelope-from philip.reynolds@rfc-networks.ie) Received: from ipac-gw.cr001.ddm.esat.net (mail.rfc-networks.ie) [193.95.188.30] by relay03.mail.esat.net with esmtp id 18SV0c-00056t-00; Sun, 29 Dec 2002 04:25:06 +0000 Received: from genua.rfc-networks.ie (unknown [10.0.0.254]) by mail.rfc-networks.ie (Postfix) with ESMTP id CC38254EA4 for ; Sun, 29 Dec 2002 04:25:43 +0000 (GMT) Received: from tear.domain (unknown [10.0.1.254]) by genua.rfc-networks.ie (Postfix) with ESMTP id 478C121082 for ; Sun, 29 Dec 2002 04:25:43 +0000 (GMT) Received: by tear.domain (Postfix, from userid 1000) id D4D4821150; Sun, 29 Dec 2002 04:25:43 +0000 (GMT) Date: Sun, 29 Dec 2002 04:25:43 +0000 From: Philip Reynolds To: hackers@freebsd.org Subject: Re: pw(8): $ (dollar sign) in username Message-ID: <20021229042543.GB91785@rfc-networks.ie> Reply-To: philip.reynolds@rfc-networks.ie References: <20021227112033.N93884-100000@ren.sasknow.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yEPQxsgoJgBvi8ip" Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 4.7-STABLE X-URL: http://www.rfc-networks.ie Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --yEPQxsgoJgBvi8ip Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Richard Sharpe 57 lines of wisdom included: > Well, the $ is only required for machine accounts! In Samba 3.0, and=20 > possibly in the latest 2.2.x releases, there is a separate 'add machine= =20 > script' parameters. I think it would be better to simply frob the entry i= n=20 > the master.passwd in that script.=20 >=20 > While I have not tried it myself, I am lead to believe that once you edit= =20 > the entry and run the appropriate command, things work. with a machine name of ``mname'' do: ``pw useradd mname'' then use ``vipw(8)'' to add the dollar. Simple as that. This is a known issue, however, some people like to ignore it :) --=20 Philip Reynolds | RFC Networks Ltd. philip.reynolds@rfc-networks.ie | +353 (0)1 8832063 http://people.rfc-networks.ie/~phil | www.rfc-networks.ie --yEPQxsgoJgBvi8ip Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+DnlHKmoTT9WktYwRAr5cAKCRA7VxxbV6kwQDemvodan+FEDsFACg2hGV NtSe+IXSmH9XeWvKTnk/0Fk= =iL2c -----END PGP SIGNATURE----- --yEPQxsgoJgBvi8ip-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message