"$" in machine user name( was: account names on BSDI BSD/OS 4.2)

eirvine eirvine at tpgi.com.au
Thu Apr 5 09:42:10 GMT 2001


Hi Tom,
 
Fortunately there is an easy workaround.

  1) Add the user(s) as normal, but without the "$" in the username.
     Perhaps you use "pw" or "adduser" for this. Whatever.
     (yes, I know they are actually machine names not user names).
  2) use vipw to manually put the "$" back in the username.
  3) vi /etc/group to do the same thing for the group name.

Viola!

Eddie.

Tom Alsberg wrote:
> 
>   Hi there.
> 
>   It seems that for Samba to act as a PDC it must have an account for
> every computer in the system password file (normally /etc/passwd),
> correct me if I'm wrong.
>   The problem is, a system we need it installed on to act as a PDC is
> a BSDi BSD/OS 4.2 system, and it doesn't seem to accept the dollar
> sign ('$') (which is required to distinguish computer accounts,
> correct me if I'm wrong) as a part of a username in /etc/passwd.
> 
>   It's Samba 2.2.0-alpha1 I'm talking about.
> 
>   Any idea what could solve the problem? Some workaround?
> 
> --
> 
>   ---*---
> 
>   Tom Alsberg
>         Hebrew University of Jerusalem,
>         institute of Computer Science and Engineering -
>                 System Group / Vision Lab




More information about the samba-ntdom mailing list