van Vloten Kees
2022-Nov-17 07:13 UTC
[Samba] Unable to delete a domain user from a server
If you are not using an NT4 domain but an active directory domain, users are not system users. Use "samba-tool user delete" to delete users. - Kees. Op do 17 nov. 2022 06:08 schreef Rob Campbell via samba < samba at lists.samba.org>:> I finally got Fedora to allow domain users to login. I want to remove the > user and their home dir but > > $ deluser --remove-home --remove-all-files robcampbell > > deluser: The user `robcampbell' does not exist. > > Is it ok to just delete /home/robcampbell or is there a more "proper" way > to do this? > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > In all things, Be Intentional. > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >
My issue/request is more about properly removing the "profile" /home/user directory properly. Can I just do 'rm -rf /home/user'? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In all things, Be Intentional. On Thu, Nov 17, 2022, 2:13 AM van Vloten Kees <keesvanvloten at gmail.com> wrote:> If you are not using an NT4 domain but an active directory domain, users > are not system users. > > Use "samba-tool user delete" to delete users. > > - Kees. > > Op do 17 nov. 2022 06:08 schreef Rob Campbell via samba < > samba at lists.samba.org>: > >> I finally got Fedora to allow domain users to login. I want to remove the >> user and their home dir but >> >> $ deluser --remove-home --remove-all-files robcampbell >> >> deluser: The user `robcampbell' does not exist. >> >> Is it ok to just delete /home/robcampbell or is there a more "proper" way >> to do this? >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> In all things, Be Intentional. >> -- >> To unsubscribe from this list go to the following URL and read the >> instructions: https://lists.samba.org/mailman/options/samba >> >