dci at pitt.edu
Fri Jun 16 14:29:34 GMT 2000
Well, that got rid os the suid problem... butmade another ;) Now it is
"standard in must be a tty" as the error output from the su command run
from the pam_pwexport executed script. I think I might have to hack the
smbpasswd source to get rid of the suid check...
However if I do something inane like make an idiot script...
su $u -c ls
...and execute that (not through pam_pwexport) it will run the su'd
Try the same script through pam_pwexport and it gives the "std in must be a
I know I'm missing something here...but im'stumped again ;)
Peter Samuelson wrote:
> [douglas irvine <dci at pitt.edu>]
> > OK, I setup the executable script exactly like your readme says, but
> > I'm getting a "smbpasswd must *NOT* be run setuid root"
> Umm, I did not actually test my smbpasswd script, because I don't have
> the right setup handy. Sorry about that.
> Try this (still untested):
> - /usr/local/samba/bin/smbpasswd -s -r "$ntserver" -U "$u"
> + su "$u" -c "/usr/local/samba/bin/smbpasswd -s -r '$ntserver' -U '$u'"
With Windows Millenium MS was able to get the boot time down to 25 seconds.
That's almost as short as it's uptime.
More information about the samba-ntdom