Remove user and groups

Other talk about Salix

Remove user and groups

Postby ink3 » 10. Feb 2012, 17:15

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?
User avatar
ink3
 
Posts: 80
Joined: 9. Apr 2011, 14:16

Re: Remove user and groups

Postby mimosa » 10. Feb 2012, 18:05

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 :)
User avatar
mimosa
 
Posts: 1766
Joined: 25. May 2010, 17:02

Re: Remove user and groups

Postby JRD » 10. Feb 2012, 19:28

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.
Image
User avatar
JRD
Salix Warrior
 
Posts: 952
Joined: 7. Jun 2009, 22:52
Location: Lyon, France


Return to Misc