Thursday, 5 December 2013

De-installing UUCP

It is highly unlikely that you will ever need or use UUCP and thus removing it can only help to save space and reduce your systems attack-surface.

1. Remove the LPP:

# installp -u

2. Create a list of the files belonging to the uucp users:

# find / -group uucp > /tmp/u

3. Remove the users and group:

# rmuser -p nuucp
# rmuser -p uucp
# rmuser xuucp
# rmgroup uucp

4. Assign the orphaned files to root:

cat /tmp/u | while read F
  chown -root.system $F

5. Remove the temporary file:

# rm /tmp/u

No comments:

Post a Comment