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