SUMMARY: uucp

From: Brown, Melissa (BrownM@fhu.disa.mil)
Date: Thu Jul 27 2000 - 16:19:30 CDT


Sorry this is so late (work!!!)
It was a lot easier than I thought. Removing the packages didn't seem to
affect anything at all and I've done it on three systems already.
 
Heres' what to do, with checking to see what is installed, removing them,
deleting files/directories and removing the uucp user:
 
# pkginfo | grep UUCP
     (check to see if it's installed, and note the names, should be the
      same as in the next step for both the networking root uucp
      utilities and the user utilities)
# pkgrm SUNWbnur
# pkgrm SUNWbnuu
     (When pkgrm removed for SUNWbnur, it didn't remove the
      directories for /var/uucp/.Admin and /var/uucp because
      a file existed in .Admin. It turned out to be a file named
      security, created at the time of OS installation. I double-
      checked it (empty), then decided to zap it)
# rm -rf /var/uucp
# rm /var/spool/cron/crontabs/uucp
     (Zapped the crontab since uucp user won't be around to use it)
# admintool
     (find the uucp user and delete it)
 
Thanks to these people who responded and gave me the exact steps!!!, I've
included their email below in case it's easier to understand than mine.
:-) My original email request follows at the end:
Erwin Fritz
Bill Armand
Tim Evans
Bruce Zimmer
 
----------------------------------------------------------------
Erwin said:
> In securing some systems, I'm told that I can remove the user and the
files
> for uucp if I'm not using it. (I'm not, to my knowledge)
> But what all has to be done to remove it cleanly?
 
First, do 'pkginfo | grep uucp' and removed any of the packages it
finds.
 
> The uucp user?
 
You can toast this, both from /etc/shadow and /etc/passwd. There is
sometimes a 'nuucp' account which can also be toasted.
 
> The files in /usr/lib/uucp?
 
Those will disappear when the packages are deleted.
 
> The crontab?
 
Yep, toast that.
 
> The startup files in /etc/rc*.d?
 
Again, deleting the packages will delete these.

> What about the /tmp/uucpmail? (saw that mentioned somewhere, but not
about
> where it came from!)
 
Not sure about that one. However, everything in /tmp gets deleted upon a
reboot, so I wouldn't worry about it.
 
> What about the jobs that uucp ran in crontab? Aren't they necessary for
> cleanup?
 
Nope.
----------------------------------------------------------------
Bill said:
Melissa you don't have to remove it unless you need the space... you control
it's use with the inetd.conf file in /etc/inetd.conf. You can turn uucp and
many other system items on and off with that file by commenting out the line
that starts them. And only root can do this... :) Hope this helps
----------------------------------------------------------------
Tim said:
>But what all has to be done to remove it cleanly?
 
Use 'pkgrm' to remove the UUCP packages. Use 'pkginfo' to find out which
packages to remove.
----------------------------------------------------------------
Bruce said:
SUNWbnur - Basic Network Utilities (root)
SUNWbnuu - Basic Network Utilities (usr)
 
These 2 packages are the UUCP utilities. Do a pkgrm on both and you will
remove UUCP from your System
----------------------------------------------------------------
----------------------------------------------------------------
In securing some systems, I'm told that I can remove the user and the files
for uucp if I'm not using it. (I'm not, to my knowledge)
 
But what all has to be done to remove it cleanly?
  The uucp user?
  The files in /usr/lib/uucp?
  The crontab?
  The startup files in /etc/rc*.d?
 
What about the /tmp/uucpmail? (saw that mentioned somewhere, but not about
where it came from!)
What about the jobs that uucp ran in crontab? Aren't they necessary for
cleanup?
 
Any information you can give me will be appreciated and I'll summarize. I
can't find anything about this in any of my manuals or online!
 
Thanks,
Melissa
 

S
U BEFORE POSTING please READ the FAQ located at
N ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/faq
. and the list POLICY statement located at
M ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/policy
A To submit questions/summaries to this list send your email message to:
N sun-managers@ececs.uc.edu
A To unsubscribe from this list please send an email message to:
G majordomo@sunmanagers.ececs.uc.edu
E and in the BODY type:
R unsubscribe sun-managers
S Or
. unsubscribe sun-managers original@subscription.address
L To view an archive of this list please visit:
I http://www.latech.edu/sunman.html
S
T



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:13 CDT