Is changing both the samba (smbpasswd) and local linux user account (passwd) possible via php?
Or, am I missing some sort of switch/option that I could use in a bash script that php calls?
I read up on the crypt() function but a) I know nothing about crypto and b) looks like it is all for authenticating against the /etc/passwd or /etc/shadow db not for modifying it.