Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Dec 2002 04:25:43 +0000
From:      Philip Reynolds <philip.reynolds@rfc-networks.ie>
To:        hackers@freebsd.org
Subject:   Re: pw(8): $ (dollar sign) in username
Message-ID:  <20021229042543.GB91785@rfc-networks.ie>
In-Reply-To: <Pine.LNX.4.33.0212271129520.3939-100000@ns.aus.com>
References:  <20021227112033.N93884-100000@ren.sasknow.com> <Pine.LNX.4.33.0212271129520.3939-100000@ns.aus.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--yEPQxsgoJgBvi8ip
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Richard Sharpe <rsharpe@richardsharpe.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021229042543.GB91785>