" but the administrator is not very familiar with Solaris and doesn't"
Bad feeling #1 :) Unix, unlike windows, will let you delete anything you
want and not warn or stop you. (try a rm -r * from / as user root :) )
It will then crash without a care. The point, if you do not really know
the OS, then do not try to manually delete things. Delete the package.
Unix will even be nice enough to tell you if anything else depends on
that package.
Lp is for the printing package/system. Are you sure you will never need
printing services?
Are you just wanting a more secure box? The two easy solutions:
1) Lock the account.
2) If you do not want to lock the account then change the shell to point
to /dev/null.
You can change the sendmail user to be anything. (in the sendmail.cf,
user to run as setting) Just remove the package if you do not want it.
Again, if your running an up-to-date sendmail, you can secure it. It
makes life very each to get alerts/logs from the host to your email
account. (unless you like connecting to the box all the time to check
logs) you also may need to check all of your config files. Some may want
to send an email to root if there is a problem/trap.
" Does anyone know if those files are still in use even though the
file's owner accounts have been deleted?"
Bad feeling #2 :)
That sounds like a very beginner type of question. In Unix, if you
delete the user or group, the file owner or group will change to the
number of the uid or group that the account was.
Ie: user - joeshmo uid 2000. If you delete joeshmo then all files that
he owned will now show 2000 as the owner.
Why is this bad -
1) If you create a new user sometime later and give them the same uid,
then they own that file. (Which you may or may not want)
2) It becomes harder to search for the file(s) as you need to search by
number and not a name.
3) depending on the rights, you may think the file is gone, when it is
still there.
4) It is sloppy admin'ing. Auditors will have a field day with it.
You really should learn the OS first, before you delete/remove things
that your not sure of.
Jeff
-----Original Message-----
From: ***@securityfocus.com [mailto:***@securityfocus.com]
On Behalf Of Stephen Hauskins
Sent: Friday, November 03, 2006 10:46 AM
To: ***@gmail.com
Cc: focus-***@securityfocus.com; focus-sun-return-***@securityfocus.com
Subject: Re: Solaris 10 necessary file question
If you are running sendmail I would be careful about doing
away with smmsp. The others are not necessary but really
don't represent much in the way of diskspace usage or system
resources.
Post by j***@gmail.comWe removed the following default accounts in Solaris 10: lp, smmsp,
www, uucp, nuccp, however the files owned by these accounts still exist.
I would like to delete these files, but the administrator is not very
familiar with Solaris and doesn't know if the O/S needs the associated
files or not. Does anyone know if those files are still in use even
though the file's owner accounts have been deleted?
Post by j***@gmail.comThank You in Advance,
Jeff
-----------------------------------------
This e-mail message is private and may contain confidential or
privileged information.