[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: pw(8): $ (dollar sign) in username
From:       Philip Reynolds <philip.reynolds () rfc-networks ! ie>
Date:       2002-12-29 4:25:43
[Download RAW message or body]

Richard Sharpe <rsharpe@richardsharpe.com> 57 lines of wisdom included:
> Well, the $ is only required for machine accounts! In Samba 3.0, and 
> possibly in the latest 2.2.x releases, there is a separate 'add machine 
> script' parameters. I think it would be better to simply frob the entry in 
> the master.passwd in that script. 
> 
> While I have not tried it myself, I am lead to believe that once you edit 
> 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 :)
-- 
Philip Reynolds                      | RFC Networks Ltd.
philip.reynolds@rfc-networks.ie      | +353 (0)1 8832063
http://people.rfc-networks.ie/~phil  | www.rfc-networks.ie

[Attachment #3 (application/pgp-signature)]
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic