[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] RPM/SRPM for nfs-utils-1.0.1-3.9 now available
- Subject: Re: [cobalt-users] RPM/SRPM for nfs-utils-1.0.1-3.9 now available
- From: "Zeffie" <cobaltlist@xxxxxxxx>
- Date: Tue Dec 23 02:58:00 2003
- Organization: Electronic Consultants Inc.
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
> >>> or just "cheat" and ln -s /sbin/badsh /sbin/nologin
> >>
> >> I think that would work too... also need to add /sbin/nologin to
> > /etc/shells
> >
> > Thats exactly the kind of thinking that breaks the whole rpm concept...
>
> I haven't been following this, but how the heck does adding a new
> invalid shell to /etc/shells break your package management system?
> R
The part about "just "cheat" and ln -s /sbin/badsh /sbin/nologin" creates a
link that is not accounted for anywhere... and the adding it to /etc/shells
by hand should be done by the rpm's post and preun scripts.
rpm allows us to account for every file on the system and to know various
things about them.. like md5 sums for example... and it's easy to build it
correctly and maintain our management of all our files without the need to
link something and edit something else... Try it... it will automaticly
edit the shells file too..
ftp://www.zeffie.com/raq4/nologin-2.11y-9.Z1.Sun.Cobalt.Networks.Zeffie.com.raq4.i386.rpm
This worked great on my devel box and is one of those things we could all
use since cobalt has built things like pcap but didn't change the nologin...
(grep nologin /etc/passwd) but it's not as kool as badsh!
:)
Zeffie
Happy Holidays!
Cobalt RaQ System Administration, Maintenance and Repairs.
http://www.zeffie.com/how_to_contact_zeffie.html 734.454.9117
http://www.zeffie.com/ Home of the Worlds Largest Collection of RaQ rpms
Advanced Cobalt Security, Firewall, Snort, AntiSpam, AntiVirus and other
GUI's