Hi Jens,
1. It will be:
/usr/bin/smbpasswd -x $1$
/usr/sbin/userdel $1$
(Because it is a machine account, it will not have any files, but if you
want to remove a normal user, you may want to delete all their files
too. Then the second line would be /usr/sbin/userdel -r $1$)
2. On a Samba PDC, "Administrator" is just an alias for root. So if
you
change root's password, Administrator's password will be root's new
password. So just do exactly what you would do to change any user's
password. (smbpasswd & passwd)
Cheers,
Norman.
Jens Pettersson wrote:
> Hi,
> Got two questions.
> 1. If I'd added a machine to my domain (using samba as pdc) with the
> followig commands:
> /usr/sbin/useradd -g machines -c XPMachine -d /dev/null -s /bin/false $1$
> /usr/bin/smbpasswd -a -m $1$
> How should I then remove one of them if made a mistake osv?
>
> 2. How can I change the adminpassword for PDC?
>
> /Jens THX
>
> _________________________________________________________________
> MSN Hotmail ?r v?rldens popul?raste e-posttj?nst. Skaffa dig ett eget
> konto du ocks?: http://www.hotmail.com
>
>