[Samba] samba-tool as non-root

pavel.lisy at gmail.com pavel.lisy at gmail.com
Mon Jan 20 19:56:52 UTC 2025


Hi

I need to run external scripts to manipulate with user/group setting in
DC (adding groups and managing members in groups) and I would prefer do
it under non-root account.

Is there a recommended way to run samba-tool without a root account?

After default installation there is many files in /var/lib/samba
directory with root:root 600 or 644 permissions. 

I suppose I could change them to different group and add group
permissions to +rw, but I'm currious if there is any recommended way to
solve this. 

Pavel




More information about the samba mailing list