|
View:
New views
11 Messages
—
Rating Filter:
Alert me
|
|
|
Solaris 10 necessary file questionWe 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?
Thank You in Advance, Jeff |
|
|
Re: Solaris 10 necessary file questionIn message <20061102174655.12262.qmail@...>,
jeffnjillian@... om writes: > We 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 Solar > is 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 h > ave been deleted? You're better off removing the packages. By just removing the accounts and files, the next time you apply a patch that touches those packages, the files will be recreated -- and you won't even know about it. Or you can remove the files every time you apply patches. If you have a lot of hosts (my team manages about 250 Sun boxes), you want to keep the amount of repetitive work to a minimum, just remove the packages, better yet set up your jumpstart scripts to not install them in the first place. -- Cheers, Cy Schubert <Cy.Schubert@...> Web: http://www.komquats.com and http://www.bcbodybuilder.com FreeBSD UNIX: <cy@...> Web: http://www.FreeBSD.org BC Government: <Cy.Schubert@...> "Lift long enough and I believe arrogance is replaced by humility and fear by courage and selfishness by generosity and rudeness by compassion and caring." -- Dave Draper |
|
|
Re: Solaris 10 necessary file questionIf 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. On Thu, 2 Nov 2006, jeffnjillian@... wrote: > We 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? > > Thank You in Advance, > Jeff > |
|
|
|
|
|
|
|
|
Re: Solaris 10 necessary file question> We 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? It is a good idea to remove (or disable) some accounts on certain backroom servers. At our site we delete these users USERS="smtp nuucp listen nobody4" And we disable (shell is /bin/true) + lock (shadow entry is *LK*) these users (but watch out for a user requiring cron). USERS="daemon bin sys adm lp uucp nuucp listen nobody noaccess nobody4 smtp" There are lots of packages we remove (and their contents go with them). As for the files associated with the users you mention. I suspect there are some problems. You should look at your package inventory. Eg. [3:45pm boss] grep ' smmsp ' /var/sadm/install/contents /usr/lib/sendmail f none 2555 root smmsp 1020552 31064 1158775758 SUNWsndmu /var/spool/clientmqueue d none 0770 smmsp smmsp SUNWsndmr And you should be thinking more about removing packages, not the files within packages. E.g., # [12:52pm ist] pkginfo | grep -i uucp # system SUNWbnur Networking UUCP Utilities, (Root) # system SUNWbnuu Networking UUCP Utilities, (Usr) Remove those packages and the files they contain will go. On the userid's you mention. --- disclaimer: This is my best guest, don't sue me for work required to restore your system. 1) lp is required for print services you offer and print services you use. If you're not using any then you can get rid of the associated packages. 2) smmsp is required for sendmail queue, that might be very dangerous to remove. 3) www ... what packages is that associated with? 4) I certainly recommend you get rid of packages owned by users uucp and nuucp -- that's ancient history stuff that's seldom required. We have some work to test, harden, and monitor Solaris 10 systems given an established policy (along the lines of what we did for earlier versions described here http://ist.uwaterloo.ca/security/howto/2000-09-19/) which we could share. We have not got the documentation in any order but the many scriptlets that address issues like the above are in good shape. And we have working policies that we enforce on our servers. If anyone is interested -- contact me off list. I am, Reg Quinton <reggers@...> Senior Technologist, Security Information Systems and Technology University of Waterloo, 200 University Ave W Waterloo, Ontario N2L 3G1 Canada +1 519 888-4567x6070 |
|
|
Re: Solaris 10 necessary file questionjeffnjillian@... schrieb:
> We 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? > > Thank You in Advance, > Jeff > > If you use Solaris10 as an print server lp could be used. The transfer method uucp (unic to unix copy) is an old method for transfering files but not used in modern enviroments. The Accounts uucp and nuucp is for using an extra account for this transfer methode. In the most systems the user www or wwwrun are used for the Webserver - for instance apache. If there is no webserver running - the account can be deleted. Regards Peter |
|
|
Re: Solaris 10 necessary file questionHi Jeff,
Have a look at "enhancements to the passwd(1)": http://blogs.sun.com/gbrunett/entry/managing_non_login_and_locked /Magnus jeffnjillian@... skrev: > We 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? > > Thank You in Advance, > Jeff |
|
|
Re: Solaris 10 necessary file questionRogier Mulhuijzen wrote: > mail and local (to local) mail. I'm not sure the www account owns any > files on a default install, but if it does, I expect them to be part of > a web administration thingy. If you install or need Apache at any point, Solaris does not have a "www" account although it does have a "webservd" which does appear to own a file things: blackhole$ grep webservd /var/sadm/install/contents /var/apache2/logs d none 0755 webservd webservd SUNWapch2r /var/apache2/proxy d none 0755 webservd webservd SUNWapch2r It was created for use by the Apache 2.0 service. > make sure it is configured to run using the nobody user, or keep the www > user. No! No one should be using the "nobody" account unless it is to support NFS services: blackhole$ grep nobody /etc/passwd nobody:x:60001:60001:NFS Anonymous Access User:/: nobody4:x:65534:65534:SunOS 4.x NFS Anonymous Access User:/: The web server should use webservd (which it does by default with the Apache 2.0 in Solaris 10). For Apache 1.0, there is a bug filed already: 4806419 If you need an account for your web server, use webservd or create a new one for it. That way, access to that service, its processes, its configs and its data can be more easily controlled. g |
|
|
|
|
|
Re: Solaris 10 necessary file questionAs others said: remove packages not users! You might get more insecure if you remove users that are used for priviliege separation. If there is no smmsp user, will sendmail then run as root? Same for apache if there is no www user? jeffnjillian@... wrote: > We 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? > > Thank You in Advance, > Jeff > |
| Free embeddable forum powered by Nabble | Forum Help |