Page 1 of 1

Remove user and groups

Posted: 10. Feb 2012, 17:15
by ink3
I find something like this:
remove unnesessary user and group accounts
# userdel adm
# userdel lp
# userdel sync
# userdel shutdown
# userdel halt
# userdel news
# userdel uucp
# userdel operator
# userdel games (delete this user if you don’t use X Window Server).
# userdel gopher
# userdel ftp (delete this user if you don’t use ftp anonymous server).

Type the following commands on your terminal to delete the usersgroups listed below:
# groupdel adm
# groupdel lp
# groupdel news
# groupdel uucp
# groupdel games (delete this group if you don’t use X Window Server).
# groupdel dip
# groupdel popusers (delete this group if you don’t use pop server for email).
http://www.robthegeek.net/linux/rhinsta ... ssary.html

Does this also apply to Salix/Slackware? If yes / no why?

Re: Remove user and groups

Posted: 10. Feb 2012, 18:05
by mimosa
If you do have any superfluous groups or users, they won't do any harm. On the other hand, if you delete something important by mistake, it certainly will.

I'd leave well alone :)

Re: Remove user and groups

Posted: 10. Feb 2012, 19:28
by JRD
For what usage ?
I think delete some in the list will cause you some problems : lp, shutdown, halt at least.
You cannot connect to these accounts, so as said, it causes no harm or space or security risk or anything. So my advice : just keep them where they are.