I have been searching around samba-tool --help under various options and I am not locating any adjustments to passwords. Like "User cannot change password" or "Password never expires". Granted these are W10 settings in 'user properties' (as examples.) Where would I find password edits or changes, etc.?
On 09/10/2020 21:45, Robert Wooden via samba wrote:> I have been searching around samba-tool --help under various options and I > am not locating any adjustments to passwords. Like "User cannot change > password" or "Password never expires". > > Granted these are W10 settings in 'user properties' (as examples.) > > Where would I find password edits or changes, etc.?For the password never expires, see 'samba-tool user setexpiry --help The 'user cannot change password' is a bit more complex as it involves denying the user write access to their own password by changing the ACL. I do not think anyone has yet provided the code to do this. Rowland
Thanks. On Fri, Oct 9, 2020 at 4:05 PM Rowland penny via samba < samba at lists.samba.org> wrote:> On 09/10/2020 21:45, Robert Wooden via samba wrote: > > I have been searching around samba-tool --help under various options and > I > > am not locating any adjustments to passwords. Like "User cannot change > > password" or "Password never expires". > > > > Granted these are W10 settings in 'user properties' (as examples.) > > > > Where would I find password edits or changes, etc.? > > For the password never expires, see 'samba-tool user setexpiry --help > > The 'user cannot change password' is a bit more complex as it involves > denying the user write access to their own password by changing the ACL. > I do not think anyone has yet provided the code to do this. > > Rowland > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >