8 Apr
2002
8 Apr
'02
20:14
I wrote a bash script to execute both automatically. On Monday 08 April 2002 03:24 pm, you wrote:
Hi!
Does anybody know how I can use "passwd" and "smbpasswd" to set user-passwords in a c-program? I cannot write to these tools via stdin because of security reasons... Libexpect could be a solution but I didn't find any good example source that helped me..(anyone knows one?) Every possible way would be good, I just want to make /etc/passwd and /etc/smbpasswd-entrys out of my two c-strings for username & password.
Thanks for any help.
-- Steve Szmidt V.P. Information Video Group Distributors, Inc.