Must a Samba PDC use encrypted passwords?
Tim Winders
twinders at SPC.cc.tx.us
Tue Jun 9 12:36:16 GMT 1998
On Tue, 9 Jun 1998, Tavis Barr wrote:
> (2) SunOS does not use the passwd.dir and passwd.pag files; hence it does
> not have /sbin/mkpasswd. This command failed and reported an error, but
> /etc/passwd and ~/smbpasswd were still updated correctly.
I am using Digital Unix 4.0D. My system DOES make use of the passwd.dir
and passwd.pag files, but the /usr/sbin/mkpasswd command dumps core on me
when it is run as /usr/sbin/mkpasswd /etc/passwd. The man page says it is
from the expect toolkit and generates a random password and optionally
applies it to a user. It looks like the command has changed from DU 3.2
to 4.0.
> (3) Upon successful completion, it changed the permissions on /etc/passwd
> to make it readable only by root. (!!!!!!!!!!!!!!!!!!!!)
I had the same problem.
> (4) It only worked correctly for non-privileged users when run setuid
> root, but smbpasswd only works correctly when _not_ setuid root.
I believe this is a new setting for smbpasswd. I *THINK* it used to have
to be setuid root. Now it cannot be...
> Anyway, it's a nifty little program and I don't know if you ever intended
> to make it operable beyond your own system, but if you do perhaps we can
> work on fixing the above.
echo, echo
=== Tim
---------------------------------------------------------------------
| Tim Winders, CNE, MCSE | Email: TWinders at SPC.cc.tx.us |
| Network Administrator | Phone: 806-894-9611 x 2369 |
| South Plains College | Fax: 806-897-4711 |
---------------------------------------------------------------------
More information about the samba-ntdom
mailing list