Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I get remote password (unix and SMB) changing working ?

0
Posted

How do I get remote password (unix and SMB) changing working ?

0

Have a practice changing a user’s password (as root) to see what discussion takes place and change the text in the ‘passwd chat’ line below as necessary. The line as shown works for recent RH Linux but most other systems seem to like to do something different. The ‘*’ is a wild card and will match anything (or nothing). Add these lines to smb.conf under [Global] unix password sync = true passwd program = /usr/bin/passwd %u passwd chat = *password* %n\n *password* %n\n *successful* As mentioned above, the change to the unix password happens as root, not as the user, as is indicated in ~/smbd/chgpasswd.c If you are using NIS, the Samba server must be running on the NIS master machine.

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123