Date: 2004/08/07 Author: zcatlinux Source: zclinux
The following is a simple method to disable the security service of solaris8. In fact, you just need to stop these files from being started when the system starts!
#! /Bin/bash
Mkdir/backup
Mkdir/backup/etc/
Mkdir/backup/etc/init. d
Mkdir/backup/etc/rc0.d
Mkdir/backup/etc/rc1.d
Mkdir/backup/etc/rc2.d
Mkdir/backup/etc/rc3.d
Mkdir/backup/etc/RCs. d
CP/etc/inetd. conf/backup/etc
MV/etc/init. d/iiim/backup/etc/init. d
MV/etc/init. d/init. DMI/backup/etc/init. d
MV/etc/init. d/init. WBEM/backup/etc/init. d
MV/etc/init. d/nfs. Client/backup/etc/init. d
MV/etc/init. d/sendmail/backup/etc/init. d
MV/etc/init. d/dtlogin/backup/etc/init. d
MV/etc/init. d/init. snmpdx/backup/etc/init. d
MV/etc/init. d/LP/backup/etc/init. d
MV/etc/init. d/rpc/backup/etc/init. d
MV/etc/init. d/WebStart/backup/etc/init. d
MV/etc/rc0.d/k07dmi/backup/etc/rc0.d
MV/etc/rc0.d/k10dtlogin/backup/etc/rc0.d
MV/etc/rc0.d/k36sendmail/backup/etc/rc0.d
MV/etc/rc0.d/k39lp/backup/etc/rc0.d
MV/etc/rc0.d/k41rpc/backup/etc/rc0.d
MV/etc/rc0.d/k07snmpdx/backup/etc/rc0.d
MV/etc/rc0.d/k34iiim/backup/etc/rc0.d
MV/etc/rc0.d/k36wbem/backup/etc/rc0.d
MV/etc/rc0.d/k41nfs. Client/backup/etc/rc0.d
MV/etc/rc1.d/k07dmi/backup/etc/rc1.d
MV/etc/rc1.d/k10dtlogin/backup/etc/rc1.d
MV/etc/rc1.d/k36sendmail/backup/etc/rc1.d
MV/etc/rc1.d/k39lp/backup/etc/rc1.d
MV/etc/rc1.d/k07snmpdx/backup/etc/rc1.d
MV/etc/rc1.d/k34iiim/backup/etc/rc1.d
MV/etc/rc1.d/k36wbem/backup/etc/rc1.d
MV/etc/rc1.d/k41rpc/backup/etc/rc1.d
MV/etc/rc2.d/k07dmi/backup/etc/rc2.d
MV/etc/rc2.d/s71rpc/backup/etc/rc2.d
MV/etc/rc2.d/s80lp/backup/etc/rc2.d
MV/etc/rc2.d/s90wbem/backup/etc/rc2.d
MV/etc/rc2.d/s99dtlogin/backup/etc/rc2.d
MV/etc/rc2.d/k07snmpdx/backup/etc/rc2.d
MV/etc/rc2.d/s73nfs. Client/backup/etc/rc2.d
MV/etc/rc2.d/s88sendmail/backup/etc/rc2.d
MV/etc/rc2.d/s95iiim/backup/etc/rc2.d
MV/etc/rc3.d/s76snmpdx/backup/etc/rc3.d
MV/etc/rc3.d/s77dmi/backup/etc/rc3.d
MV/etc/RCs. d/k07dmi/backup/etc/RCs. d
MV/etc/RCs. d/k10dtlogin/backup/etc/RCs. d
MV/etc/RCs. d/k36sendmail/backup/etc/RCs. d
MV/etc/RCs. d/k39lp/backup/etc/RCs. d
MV/etc/RCs. d/k07snmpdx/backup/etc/RCs. d
MV/etc/RCs. d/k34iiim/backup/etc/RCs. d
MV/etc/RCs. d/k36wbem/backup/etc/RCs. d
MV/etc/RCs. d/k41rpc/backup/etc/RCs. d