Unix Technical Forum

SEO

vBulletin Search Engine Optimization


Go Back   Unix Technical Forum > Unix Operating Systems > HP-UX Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-17-2008, 05:32 AM
julien Touche
 
Posts: n/a
Default hpux 11i v2 & suid/sgid files


i'm looking to test a more secured configuration on a dedicated box.

i'm looking for advices of which files must be kept as is, and which
not. box
will only have admin users with sudo configured for main tool access.

+ find / -type f -a ( -perm -u+s -o -perm -g+s ) -print0 -o ! -type d -a
! -type f -a ! -type l -a ! -type s -a ! -type p -print0
+ xargs -0 ls -ldg
+ egrep -v (/dev/)
+ sort +8
---s--x--x 2 root 176128 Jun 22 2005 /opt/iexpress/sudo/bin/sudo
---s--x--x 2 root 176128 Jun 22 2005
/opt/iexpress/sudo/bin/sudoedit
-r-s------ 1 bin 446464 Apr 1 2005 /sbin/passwd
-r-sr-sr-t 1 mail 1339392 Jul 26 15:34 /usr/sbin/sendmail
-r-sr-xr-x 1 bin 45056 Aug 3 2005 /usr/bin/su
-r-sr-xr-x 1 bin 36864 Mar 31 2005 /usr/bin/crontab
-r-sr-xr-x 1 bin 49152 Aug 27 2004 /usr/sbin/ping
-r-sr-xr-x 1 bin 73728 Apr 17 10:31 /usr/bin/lp
-r-sr-xr-x 5 bin 61440 Jan 21 2005 /usr/bin/passwd
-r-xr-sr-x 1 sys 77824 Aug 27 2004 /usr/bin/netstat
=> OK classic

-r-sr-xr-x 1 bin 86016 Apr 17 10:31 /usr/bin/lpstat
-r-sr-xr-x 1 bin 73728 Apr 17 10:31 /usr/bin/cancel
=> keep it or sudo

-r-sr-sr-x 1 bin 413696 Mar 11 2004 /usr/lbin/chgpt
-r-sr-sr-x 1 daemon 2617344 Sep 3 2003 /usr/bin/kermit
-r-sr-sr-x 1 mail 61440 Aug 27 2004 /usr/bin/mail
-r-sr-sr-x 1 mail 61440 Mar 11 2004 /usr/bin/rmail
-r-sr-sr-x 1 sys 32768 Sep 3 2003 /usr/dt/bin/dtaction
-r-sr-sr-x 1 sys 303104 Jun 12 2004 /usr/bin/X11/hpterm
-r-sr-x--- 1 hpsmc 1462272 Mar 10 15:08
/opt/hpsmc/common/bin/hpsconfig
-r-sr-x--- 1 hpsmc 1880064 Mar 10 15:08
/opt/hpsmc/common/bin/hpssidgen
-r-sr-x--- 1 hpsmh 33020 Mar 21 19:17 /opt/hpsmh/lbin/smhrun
-r-sr-x--- 1 hpsmh 49404 Mar 21 19:17 /opt/hpsmh/lbin/smhauth
-r-sr-x--- 1 hpsmh 217340 Mar 21 19:16 /opt/hpsmh/lbin/smhstart
-r-sr-x--- 1 ids 102400 Dec 9 2005 /opt/ids/lbin/idssysdsp
-r-sr-x--- 1 ids 323584 Dec 9 2005 /opt/ids/lbin/updaterc
-r-sr-xr-- 1 lp 69632 Apr 17 10:31 /usr/sbin/rlp
-r-sr-xr-x 1 bin 12288 Sep 3 2003 /usr/sbin/keyenvoy
-r-sr-xr-x 1 bin 16384 Jul 26 2004 /usr/sam/lbin/rsam
-r-sr-xr-x 1 bin 24576 Mar 11 2004 /usr/lbin/protect_pty
-r-sr-xr-x 1 bin 24576 Sep 3 2003 /usr/bin/slp
-r-sr-xr-x 1 bin 24576 Sep 3 2003 /usr/sbin/acct/accton
-r-sr-xr-x 1 bin 24576 Sep 3 2003 /usr/tsm/sys/tsm.root
-r-sr-xr-x 1 bin 28672 Apr 17 10:31 /usr/lbin/rwrite
-r-sr-xr-x 1 bin 28672 Mar 11 2004 /usr/bin/newgrp
-r-sr-xr-x 1 bin 28672 Sep 3 2003 /usr/old/usr/bin/uuname
-r-sr-xr-x 1 bin 28672 Sep 3 2003 /usr/tsm/sys/tsm.utmp
-r-sr-xr-x 1 bin 32768 Oct 27 2005 /usr/bin/rexec
-r-sr-xr-x 1 bin 32768 Sep 3 2003 /usr/old/usr/bin/uuls
-r-sr-xr-x 1 bin 32768 Sep 3 2003 /usr/old/usr/bin/uusnap
-r-sr-xr-x 1 bin 40960 May 19 2005 /usr/bin/bdf
-r-sr-xr-x 1 bin 45056 Jan 25 2005 /usr/bin/nfsstat
-r-sr-xr-x 1 bin 49152 Aug 27 2004 /usr/sbin/arp
-r-sr-xr-x 1 bin 49152 Sep 3 2003 /usr/dt/bin/dtappgather
-r-sr-xr-x 1 bin 49152 Sep 3 2003 /usr/lbin/uucp/uusched
-r-sr-xr-x 1 bin 53248 Oct 27 2005 /usr/bin/remsh
-r-sr-xr-x 1 bin 53248 Sep 3 2003 /usr/lbin/uucp/uusub
-r-sr-xr-x 1 bin 57016 Jul 30 2004 /opt/dce/bin/ep_scavenger
-r-sr-xr-x 1 bin 57344 Mar 11 2004 /usr/bin/mediainit
-r-sr-xr-x 1 bin 57344 Sep 3 2003 /usr/bin/cu
-r-sr-xr-x 1 bin 57344 Sep 3 2003 /usr/lbin/uucp/uuclean
-r-sr-xr-x 1 bin 61440 Apr 17 10:31 /usr/bin/enable
-r-sr-xr-x 1 bin 61440 Apr 17 10:31 /usr/sbin/accept
-r-sr-xr-x 1 bin 61440 Apr 17 10:31 /usr/sbin/lpfence
-r-sr-xr-x 1 bin 61440 Apr 17 10:31 /usr/sbin/lpshut
-r-sr-xr-x 1 bin 61440 Aug 27 2004 /usr/bin/chkey
-r-sr-xr-x 1 bin 61440 Sep 3 2003 /usr/dt/bin/dtterm
-r-sr-xr-x 1 bin 61440 Sep 3 2003 /usr/old/usr/bin/uustat
-r-sr-xr-x 1 bin 65536 Apr 13 2005 /usr/bin/ct
-r-sr-xr-x 1 bin 65536 Apr 17 10:31 /usr/bin/disable
-r-sr-xr-x 1 bin 65536 Apr 17 10:31 /usr/sbin/lpmove
-r-sr-xr-x 1 bin 65536 Apr 17 10:31 /usr/sbin/reject
-r-sr-xr-x 1 bin 65536 Aug 27 2004 /usr/contrib/bin/traceroute
-r-sr-xr-x 1 bin 65536 Aug 31 2004 /usr/sbin/pppoerd
-r-sr-xr-x 1 bin 69632 Apr 17 10:31 /usr/sbin/rcancel
-r-sr-xr-x 1 bin 69632 Apr 17 10:31 /usr/sbin/rlpstat
-r-sr-xr-x 1 bin 69632 Aug 31 2004 /usr/bin/pppoec
-r-sr-xr-x 1 bin 69632 Oct 27 2005 /usr/bin/rlogin
-r-sr-xr-x 1 bin 73728 Apr 17 10:31 /usr/bin/lpalt
-r-sr-xr-x 1 bin 73728 Aug 31 2004 /usr/sbin/pppoesd
-r-sr-xr-x 1 bin 73728 Mar 31 2005 /usr/bin/at
-r-sr-xr-x 1 bin 81920 Oct 27 2005 /usr/bin/rcp
-r-sr-xr-x 1 bin 81920 Sep 3 2003 /usr/old/usr/bin/uucp
-r-sr-xr-x 1 bin 81920 Sep 3 2003 /usr/old/usr/bin/uux
-r-sr-xr-x 1 bin 86016 Aug 27 2004 /usr/bin/login
-r-sr-xr-x 1 bin 90112 Sep 3 2003 /usr/lbin/uucp/uuxqt
-r-sr-xr-x 1 bin 98304 Apr 17 10:31 /usr/sbin/lpadmin
-r-sr-xr-x 1 bin 98304 Apr 17 10:31 /usr/sbin/lpsched
-r-sr-xr-x 1 bin 106496 Apr 17 10:31 /usr/sbin/rlpdaemon
-r-sr-xr-x 1 bin 106496 Oct 27 2005 /usr/bin/rdist
-r-sr-xr-x 1 bin 139264 May 4 2005 /usr/bin/df
-r-sr-xr-x 1 bin 163840 Sep 3 2003 /usr/lbin/uucp/uucico
-r-sr-xr-x 1 bin 212992 Sep 3 2003 /usr/contrib/bin/X11/xconsole
-r-sr-xr-x 1 bin 237568 May 28 2004 /usr/dt/bin/dtsession
-r-sr-xr-x 1 bin 299008 Apr 2 2003 /usr/contrib/bin/X11R5/xterm
-r-sr-xr-x 1 bin 331776 Mar 18 02:53 /usr/lbin/grmd
-r-sr-xr-x 1 bin 438272 Aug 27 2004 /sbin/shutdown
-r-sr-xr-x 1 bin 491520 Sep 3 2003 /usr/contrib/bin/X11/xterm
-r-sr-xr-x 1 bin 524288 Aug 31 2004 /usr/bin/pppd
-r-sr-xr-x 1 bin 526420 Sep 29 2004 /usr/dt/bin/dtprintinfo
-r-sr-xr-x 1 bin 696320 Jan 27 2006 /usr/bin/X11/xterm
-r-sr-xr-x 1 other 40960 Mar 18 02:53 /usr/bin/X11/X
-r-sr-xr-x 1 sys 40960 Jun 28 17:01 /usr/local/coreutils/bin/su
-r-sr-xr-x 1 sys 606208 Nov 24 2005 /usr/sbin/lvchange.run
-r-sr-xr-x 1 sys 999424 Nov 24 2005 /sbin/lvchange.run
-r-sr-xr-x 2 bin 1228800 Mar 21 04:05 /usr/sbin/swmodify
-r-sr-xr-x 2 bin 1228800 Mar 21 04:05 /usr/sbin/swpackage
-r-sr-xr-x 5 bin 61440 Jan 21 2005 /usr/bin/chfn
-r-sr-xr-x 5 bin 61440 Jan 21 2005 /usr/bin/chsh
-r-sr-xr-x 5 bin 61440 Jan 21 2005 /usr/bin/nispasswd
-r-sr-xr-x 5 bin 61440 Jan 21 2005 /usr/bin/yppasswd
-r-sr-xr-x 11 bin 2314240 Mar 21 04:05 /usr/sbin/sd
-r-sr-xr-x 11 bin 2314240 Mar 21 04:05 /usr/sbin/swacl
-r-sr-xr-x 11 bin 2314240 Mar 21 04:05 /usr/sbin/swask
-r-sr-xr-x 11 bin 2314240 Mar 21 04:05 /usr/sbin/swconfig
-r-sr-xr-x 11 bin 2314240 Mar 21 04:05 /usr/sbin/swcopy
-r-sr-xr-x 11 bin 2314240 Mar 21 04:05 /usr/sbin/swinstall
-r-sr-xr-x 11 bin 2314240 Mar 21 04:05 /usr/sbin/swjob
-r-sr-xr-x 11 bin 2314240 Mar 21 04:05 /usr/sbin/swlist
-r-sr-xr-x 11 bin 2314240 Mar 21 04:05 /usr/sbin/swreg
-r-sr-xr-x 11 bin 2314240 Mar 21 04:05 /usr/sbin/swremove
-r-sr-xr-x 11 bin 2314240 Mar 21 04:05 /usr/sbin/swverify
-r-sr-xr-x 23 bin 2084864 Jan 6 2006 /opt/mx/bin/mxagentconfig
-r-sr-xr-x 23 bin 2084864 Jan 6 2006 /opt/mx/bin/mxauth
-r-sr-xr-x 23 bin 2084864 Jan 6 2006 /opt/mx/bin/mxcert
-r-sr-xr-x 23 bin 2084864 Jan 6 2006 /opt/mx/bin/mxcollection
-r-sr-xr-x 23 bin 2084864 Jan 6 2006 /opt/mx/bin/mxexec
-r-sr-xr-x 23 bin 2084864 Jan 6 2006
/opt/mx/bin/mxglobalprotocolsettings
-r-sr-xr-x 23 bin 2084864 Jan 6 2006 /opt/mx/bin/mxglobalsettings
-r-sr-xr-x 23 bin 2084864 Jan 6 2006 /opt/mx/bin/mxlog
-r-sr-xr-x 23 bin 2084864 Jan 6 2006 /opt/mx/bin/mxmib
-r-sr-xr-x 23 bin 2084864 Jan 6 2006 /opt/mx/bin/mxngroup
-r-sr-xr-x 23 bin 2084864 Jan 6 2006 /opt/mx/bin/mxnode
-r-sr-xr-x 23 bin 2084864 Jan 6 2006 /opt/mx/bin/mxnodesetup
-r-sr-xr-x 23 bin 2084864 Jan 6 2006 /opt/mx/bin/mxquery
-r-sr-xr-x 23 bin 2084864 Jan 6 2006 /opt/mx/bin/mxreport
-r-sr-xr-x 23 bin 2084864 Jan 6 2006 /opt/mx/bin/mxstm
-r-sr-xr-x 23 bin 2084864 Jan 6 2006 /opt/mx/bin/mxtask
-r-sr-xr-x 23 bin 2084864 Jan 6 2006 /opt/mx/bin/mxtool
-r-sr-xr-x 23 bin 2084864 Jan 6 2006 /opt/mx/bin/mxtoolbox
-r-sr-xr-x 23 bin 2084864 Jan 6 2006 /opt/mx/bin/mxuser
-r-sr-xr-x 23 bin 2084864 Jan 6 2006 /opt/mx/bin/mxwbemsub
-r-sr-xr-x 23 bin 2084864 Jan 6 2006 /opt/mx/lbin/.CommandTemplate
-r-sr-xr-x 23 bin 2084864 Jan 6 2006 /opt/mx/lbin/mxmergehelp
-r-sr-xr-x 23 bin 2084864 Jan 6 2006 /opt/mx/lbin/mxreport
-r-sr-xr-x 31 sys 626688 Jul 26 20:48 /usr/sbin/lvchange
-r-sr-xr-x 31 sys 626688 Jul 26 20:48 /usr/sbin/lvcreate
-r-sr-xr-x 31 sys 626688 Jul 26 20:48 /usr/sbin/lvdisplay
-r-sr-xr-x 31 sys 626688 Jul 26 20:48 /usr/sbin/lvextend
-r-sr-xr-x 31 sys 626688 Jul 26 20:48 /usr/sbin/lvlnboot
-r-sr-xr-x 31 sys 626688 Jul 26 20:48 /usr/sbin/lvmerge
-r-sr-xr-x 31 sys 626688 Jul 26 20:48 /usr/sbin/lvreduce
-r-sr-xr-x 31 sys 626688 Jul 26 20:48 /usr/sbin/lvremove
-r-sr-xr-x 31 sys 626688 Jul 26 20:48 /usr/sbin/lvrmboot
-r-sr-xr-x 31 sys 626688 Jul 26 20:48 /usr/sbin/lvsplit
-r-sr-xr-x 31 sys 626688 Jul 26 20:48 /usr/sbin/lvsync
-r-sr-xr-x 31 sys 626688 Jul 26 20:48 /usr/sbin/nomwcsyncd
-r-sr-xr-x 31 sys 626688 Jul 26 20:48 /usr/sbin/pvchange
-r-sr-xr-x 31 sys 626688 Jul 26 20:48 /usr/sbin/pvck
-r-sr-xr-x 31 sys 626688 Jul 26 20:48 /usr/sbin/pvcreate
-r-sr-xr-x 31 sys 626688 Jul 26 20:48 /usr/sbin/pvdisplay
-r-sr-xr-x 31 sys 626688 Jul 26 20:48 /usr/sbin/pvmove
-r-sr-xr-x 31 sys 626688 Jul 26 20:48 /usr/sbin/pvremove
-r-sr-xr-x 31 sys 626688 Jul 26 20:48 /usr/sbin/vgcfgbackup
-r-sr-xr-x 31 sys 626688 Jul 26 20:48 /usr/sbin/vgcfgrestore
-r-sr-xr-x 31 sys 626688 Jul 26 20:48 /usr/sbin/vgchange
-r-sr-xr-x 31 sys 626688 Jul 26 20:48 /usr/sbin/vgchgid
-r-sr-xr-x 31 sys 626688 Jul 26 20:48 /usr/sbin/vgcreate
-r-sr-xr-x 31 sys 626688 Jul 26 20:48 /usr/sbin/vgdisplay
-r-sr-xr-x 31 sys 626688 Jul 26 20:48 /usr/sbin/vgexport
-r-sr-xr-x 31 sys 626688 Jul 26 20:48 /usr/sbin/vgextend
-r-sr-xr-x 31 sys 626688 Jul 26 20:48 /usr/sbin/vgimport
-r-sr-xr-x 31 sys 626688 Jul 26 20:48 /usr/sbin/vgreduce
-r-sr-xr-x 31 sys 626688 Jul 26 20:48 /usr/sbin/vgremove
-r-sr-xr-x 31 sys 626688 Jul 26 20:48 /usr/sbin/vgscan
-r-sr-xr-x 31 sys 626688 Jul 26 20:48 /usr/sbin/vgsync
-r-sr-xr-x 31 sys 1024000 Jul 26 20:48 /sbin/lvchange
-r-sr-xr-x 31 sys 1024000 Jul 26 20:48 /sbin/lvcreate
-r-sr-xr-x 31 sys 1024000 Jul 26 20:48 /sbin/lvdisplay
-r-sr-xr-x 31 sys 1024000 Jul 26 20:48 /sbin/lvextend
-r-sr-xr-x 31 sys 1024000 Jul 26 20:48 /sbin/lvlnboot
-r-sr-xr-x 31 sys 1024000 Jul 26 20:48 /sbin/lvmerge
-r-sr-xr-x 31 sys 1024000 Jul 26 20:48 /sbin/lvreduce
-r-sr-xr-x 31 sys 1024000 Jul 26 20:48 /sbin/lvremove
-r-sr-xr-x 31 sys 1024000 Jul 26 20:48 /sbin/lvrmboot
-r-sr-xr-x 31 sys 1024000 Jul 26 20:48 /sbin/lvsplit
-r-sr-xr-x 31 sys 1024000 Jul 26 20:48 /sbin/lvsync
-r-sr-xr-x 31 sys 1024000 Jul 26 20:48 /sbin/nomwcsyncd
-r-sr-xr-x 31 sys 1024000 Jul 26 20:48 /sbin/pvchange
-r-sr-xr-x 31 sys 1024000 Jul 26 20:48 /sbin/pvck
-r-sr-xr-x 31 sys 1024000 Jul 26 20:48 /sbin/pvcreate
-r-sr-xr-x 31 sys 1024000 Jul 26 20:48 /sbin/pvdisplay
-r-sr-xr-x 31 sys 1024000 Jul 26 20:48 /sbin/pvmove
-r-sr-xr-x 31 sys 1024000 Jul 26 20:48 /sbin/pvremove
-r-sr-xr-x 31 sys 1024000 Jul 26 20:48 /sbin/vgcfgbackup
-r-sr-xr-x 31 sys 1024000 Jul 26 20:48 /sbin/vgcfgrestore
-r-sr-xr-x 31 sys 1024000 Jul 26 20:48 /sbin/vgchange
-r-sr-xr-x 31 sys 1024000 Jul 26 20:48 /sbin/vgchgid
-r-sr-xr-x 31 sys 1024000 Jul 26 20:48 /sbin/vgcreate
-r-sr-xr-x 31 sys 1024000 Jul 26 20:48 /sbin/vgdisplay
-r-sr-xr-x 31 sys 1024000 Jul 26 20:48 /sbin/vgexport
-r-sr-xr-x 31 sys 1024000 Jul 26 20:48 /sbin/vgextend
-r-sr-xr-x 31 sys 1024000 Jul 26 20:48 /sbin/vgimport
-r-sr-xr-x 31 sys 1024000 Jul 26 20:48 /sbin/vgreduce
-r-sr-xr-x 31 sys 1024000 Jul 26 20:48 /sbin/vgremove
-r-sr-xr-x 31 sys 1024000 Jul 26 20:48 /sbin/vgscan
-r-sr-xr-x 31 sys 1024000 Jul 26 20:48 /sbin/vgsync
-r-xr-sr-x 1 bin 163840 Jul 7 2004 /usr/bin/X11/xfs
-r-xr-sr-x 1 bin 299008 Sep 9 2004 /usr/bin/stmkfont
-r-xr-sr-x 1 mail 28672 Sep 3 2003 /usr/lbin/rmmail
-r-xr-sr-x 1 mail 266240 Sep 3 2003 /usr/dt/bin/dtmailpr
-r-xr-sr-x 1 mail 655360 Aug 27 2004 /usr/bin/elm
-r-xr-sr-x 1 mail 872448 Sep 3 2003 /usr/dt/bin/dtmail
-r-xr-sr-x 1 sys 34664 Sep 3 2003 /usr/sbin/sysdef
-r-xr-sr-x 1 sys 40960 Aug 27 2004 /usr/sbin/lanscan
-r-xr-sr-x 1 sys 40960 Mar 11 2004 /usr/lbin/fs/hfs/diskusg
-r-xr-sr-x 1 sys 114688 Sep 1 2004 /usr/lbin/fs/vxfs/diskusg
-r-xr-sr-x 1 sys 233472 Sep 3 2003 /usr/contrib/bin/X11/xload
-r-xr-sr-x 1 tty 28672 Mar 11 2004 /usr/sbin/wall
-rwsr-xr-x 1 bin 32768 Jan 27 2006
/opt/hpws/apache/bin/suexec.hide
-rwsr-xr-x 1 bin 1052672 Feb 10 2006
/opt/ssh/PA-RISC2.0/libexec/ssh-keysign
-rwsr-xr-x 1 root 20480 Mar 28 17:42 /usr/local/bin/otp
-rwsr-xr-x 1 root 24576 Mar 28 17:42 /usr/local/bin/su
-rwxr-sr-x 1 sys 9382 Jul 26 19:54
/etc/vx/isis/Registry.pre-allocpro
-rwxr-sr-x 1 sys 23560 Jul 26 20:06 /etc/vx/isis/Registry
=> seems to me, doesn't need this or only for root

-rwsr-xr-x 1 sys 348160 Jul 7 17:51 /usr/local/bin/screen
=> why ??? (from hpux.connect.org.uk/hppd/hpux/)


-r-s------ 1 bin 446464 Mar 11 2004
/var/adm/sw/save/PHCO_32925/UX2-CORE/sbin/passwd
-r-sr-sr-t 1 mail 1339392 Aug 27 2004
/var/adm/sw/save/PHNE_34689/INETSVCS2-RUN/usr/sbin/sendmail
-r-sr-sr-t 1 mail 1339392 Sep 3 2003
/var/adm/sw/save/PHNE_31734/INETSVCS2-RUN/usr/sbin/sendmail
-r-sr-sr-x 1 mail 61440 Mar 11 2004
/var/adm/sw/save/PHNE_31725/CMDS2-MIN/usr/bin/mail
-r-sr-sr-x 1 sys 303104 Jun 12 2004
/var/adm/sw/save/PHSS_34159/X11-RUN-CL/usr/bin/X11/hpterm
-r-sr-sr-x 1 sys 303104 Sep 3 2003
/var/adm/sw/save/PHSS_31833/X11-RUN-CL/usr/bin/X11/hpterm
-r-sr-xr-- 1 lp 65536 Sep 3 2003
/var/adm/sw/save/PHCO_32278/LP2-SPOOL/usr/sbin/rlp
[...]
=> seems patch stuff which is not needed, right ?


thanks
regards
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-17-2008, 05:34 AM
julien Touche
 
Posts: n/a
Default Re: hpux 11i v2 & suid/sgid files


response from hp support (internal document only)

#chmod u-s /opt/graphics/phigs/bin/cgmiui
#chmod u-s /opt/perf/bin/glance
#chmod u-s /opt/perf/bin/gpm
chmod u-s /usr/bin/chkey
chmod u-s,g-s /usr/bin/kermit
chmod u-s,g-s /usr/bin/mail
chmod u-s /usr/bin/mediainit
chmod u-s /usr/bin/nispasswd
chmod u-s /usr/bin/pppd
chmod u-s,g-s /usr/bin/rmail
chmod u-s /usr/bin/yppasswd
chmod u-s /usr/sbin/keyenvoy
chmod u-s /usr/sbin/sw*
chmod u-s /usr/sam/lbin/rsam
chmod u-s /usr/tsm/sys/tsm.root
chmod u-s /usr/tsm/sys/tsm.utmp
chmod u-s /usr/bin/cu
chmod u-s /opt/dce/bin/ep_scavenger
#chmod u-s /opt/graphics/common/lbin/gwind
#chmod u-s /opt/graphics/common/lbin/sb_daemon_10.0
#chmod u-s /opt/graphics/common/lbin/sb_daemon_11.0
#chmod u-s /opt/graphics/common/lbin/sb_daemon_8.02
chmod u-s /usr/lbin/uucp/uucico
chmod u-s /usr/lbin/uucp/uuclean
chmod u-s /usr/lbin/uucp/uusched
chmod u-s /usr/lbin/uucp/uusub
chmod u-s /usr/lbin/uucp/uuxqt
#chmod u-s /opt/graphics/common/lbin/sb_daemon_8.02
#chmod u-s /opt/graphics/common/lbin/sb_daemon_8.05
#chmod u-s /opt/graphics/common/lbin/sb_daemon_8.07
#chmod u-s /opt/graphics/common/lbin/sb_daemon_9.0
#chmod u-s /opt/graphics/common/lbin/sb_daemon_10.0
#chmod u-s /opt/graphics/common/lbin/sb_daemon_11.0
#chmod u-s /opt/graphics/phigs/lbin/phg_daemon
chmod u-s /usr/old/usr/bin/uucp
chmod u-s /usr/old/usr/bin/uuls
chmod u-s /usr/old/usr/bin/uuname
chmod u-s /usr/old/usr/bin/uusnap
chmod u-s /usr/old/usr/bin/uustat
chmod u-s /usr/old/usr/bin/uux
#chmod u-s /opt/hpwebadmin/htdocs/casey/alarm_rhs.cgi
#chmod u-s /opt/hpwebadmin/htdocs/casey/alarm_top.cgi
#chmod u-s /opt/hpwebadmin/htdocs/casey/chglogvwr.cgi
#chmod u-s /opt/hpwebadmin/htdocs/casey/login.cgi
#chmod u-s /opt/hpwebadmin/htdocs/casey/logout.cgi
#chmod u-s /opt/hpwebadmin/htdocs/casey/modules_rhs.cgi
#chmod u-s /opt/hpwebadmin/htdocs/casey/modules_top.cgi
#chmod u-s /opt/hpwebadmin/htdocs/casey/nav.cgi
#chmod u-s /opt/hpwebadmin/htdocs/casey/param_rhs.cgi
#chmod u-s /opt/hpwebadmin/htdocs/casey/param_top.cgi
#chmod u-s /opt/hpwebadmin/htdocs/casey/priv/modify_alarm.cgi
#chmod u-s /opt/hpwebadmin/htdocs/casey/priv/modify_module.cgi
#chmod u-s /opt/hpwebadmin/htdocs/casey/priv/modify_param.cgi
#chmod u-s /opt/hpwebadmin/htdocs/casey/priv/reboot.cgi
#chmod u-s /opt/hpwebadmin/htdocs/casey/rhs_bottom.cgi
#chmod u-s /opt/hpwebadmin/htdocs/casey/top.cgi
#chmod u-s /opt/hpwebadmin/htdocs/common/login.cgi
#chmod u-s /opt/hpwebadmin/htdocs/pd/pd.cgi
#chmod u-s /opt/mx/bin/mxauth
#chmod u-s /opt/mx/bin/mxexec
#chmod u-s /opt/mx/bin/mxgethostname
#chmod u-s /opt/mx/bin/mxngroup
#chmod u-s /opt/mx/bin/mxnode
#chmod u-s /opt/mx/bin/mxnodesecurity
#chmod u-s /opt/mx/bin/mxpassword
#chmod u-s /opt/mx/bin/mxrepositoryrestore
#chmod u-s /opt/mx/bin/mxrepositorysave
#chmod u-s /opt/mx/bin/mxrole
#chmod u-s /opt/mx/bin/mxtool
#chmod u-s /opt/mx/bin/mxuser
#chmod u-s /opt/mx/bin/mxversion
#chmod u-s /opt/mx/lbin/.mxcli
#chmod u-s /opt/mx/lbin/mxconfigrepo

i comment exec i don't have

some added extra
# LVM tools
find /sbin \( -name 'lv*' -o -name 'pv*' -o -name 'vg*' \) -perm 4555
-type f -exec chmod 755 {} \;
# patch stuff
find /var/adm/sw/save -type f \( -perm -4000 -o -perm -2000 -o -perm
-1000 \) -exec chmod a-st {} \;
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:13 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
UnixAdminTalk.com

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945</