[Samba] Unable to delete a domain user from a server

Rob Campbell robcampbell08105 at gmail.com
Thu Nov 17 15:00:35 UTC 2022


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
>>
>


More information about the samba mailing list