Re: Adding and removing a user in F28
Hi, Yes, it's an expected behavior :-) For deleting everything, you have to add the -r flag, like this : # userdel -r username You can find more details on the page : https://linux.die.net/man/8/userdel Have a nice week-end ;-) -- Franck Ridel https://twitter.com/franckridel14 Sent with ProtonMail Secure Email. ‐‐‐ Original Message ‐‐‐ On Thursday, 4 October 2018 23:15, Kevin Wilson wrote: > Hi, all. > > On F28, when I am running > useradd test10 > A new folder is generated: > /home/test10/ > > But when I run: > userdel test10 > this folder remains. > > This same is when > adduser test11 > and them > userdel test11 > > /home/test11 remains. > > Is this an expected behaviour ? > Is there a way to cause the home folder of a user to be removed when > removing a user ? > > Regards, > KevinW > > users mailing list -- users@lists.fedoraproject.org > To unsubscribe send an email to users-le...@lists.fedoraproject.org > Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: > https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: Adding and removing a user in F28
On Fri, 5 Oct 2018 00:15:26 +0300 Kevin Wilson wrote: > Hi, all. > > On F28, when I am running > useradd test10 > A new folder is generated: > /home/test10/ > > But when I run: > userdel test10 > this folder remains. > > This same is when > adduser test11 > and them > userdel test11 > > /home/test11 remains. > > Is this an expected behaviour ? > Is there a way to cause the home folder of a user to be removed when > removing a user ? man userdel, see the -r option. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Adding and removing a user in F28
Hi, all. On F28, when I am running useradd test10 A new folder is generated: /home/test10/ But when I run: userdel test10 this folder remains. This same is when adduser test11 and them userdel test11 /home/test11 remains. Is this an expected behaviour ? Is there a way to cause the home folder of a user to be removed when removing a user ? Regards, KevinW ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org