how to call smbpasswd from setuid program?
Martin Rasp
mr at linux-fuer-alle.de
Sun Feb 16 17:12:32 GMT 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi.
I'm developing a samba frontend which is called "Take a Joint" (Project
page: http://www.linux-fuer-alle.de/mr/taj/). To allow users to share
directories which should be protected by a password I need to call
smbpasswd from my installed setuid program. Unfortunately I'm getting
"smbpasswd must *NOT* be setuid root." because you don't test smbpasswd's
setuid flags, but the effective user id.
How could I add temporary users to smbpasswd file within my setuid program?
Bye, Martin
- --
http://www.linux-fuer-alle.de/mr/taj/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE+T8aGRqiZxpiH/1ERAtKTAJ9BsZXpnQOjQlq20eauE+zuMI8csgCfYiy/
cRfqgNAMSaxDSiwhF2odB8c=
=Uyoc
-----END PGP SIGNATURE-----
More information about the samba-technical
mailing list