Re: default /etc permissions

From: Holger.VanKoll@SWISSCOM.COM
Date: Tue Apr 13 2004 - 11:33:56 EDT


youŽd better look with restore -Tqf /your/mksysb-file what your permissions were

anyway;

ls -l /etc|grep -v ...x..x..x
total 2928
-rw-r--r-- 1 root system 2 Mar 02 15:55 .init.state
-rw-rw-r-- 1 root system 3134 Dec 04 14:37 3270.keys
-rw-rw-r-- 1 root system 4388 Dec 04 14:37 3270_arab_kyb.map
-rw-rw-r-- 1 root system 6207 Dec 04 14:37 3270keys.dtterm
-rw-rw-r-- 1 root system 5943 Dec 04 14:37 3270keys.hft
-rw-r----- 1 root system 0 Dec 05 18:04 Spmi_shm_hook
-rw-r----- 1 root system 3683 Dec 04 14:37 aixmibd.conf
-rw-r--r-- 1 bin bin 15390 Dec 04 14:41 atm.defs
-rw-r--r-- 1 root system 4 Mar 02 15:55 atmsvcd.pid
-rw-r--r-- 1 root system 10845 Dec 04 14:48 basecust
-rw-rw-r-- 1 root system 24321 Dec 04 14:37 binld.cnf
-rw-r--r-- 1 root system 2451 Dec 04 14:37 bootptab
-r-------- 1 root system 18 Dec 07 16:15 bosboot.sum
-rw-r--r-- 1 root system 754 May 14 2001 cdrecord.conf
-rw-r--r-- 1 root system 3595 Dec 04 14:38 cdromd.conf
-rw-r----- 1 root system 2302 Dec 04 14:37 clsnmp.conf
-rw-r--r-- 1 root system 2270 Sep 13 2002 consdef
-rw-r----- 1 root system 130 Dec 04 14:39 ct_node_id
-rw-rw---- 1 root system 1147 Dec 04 14:37 dfpd.conf
-rw-r--r-- 1 root system 9809 Dec 04 14:37 dhcpcd.ini
-rw-rw-r-- 1 root system 3513 Dec 04 14:37 dhcprd.cnf
-rw-rw-r-- 1 root system 29085 Dec 04 14:37 dhcpsd.cnf
-rw-r--r-- 1 bin bin 1547 Sep 13 2002 dlpi.conf
-rw-rw-r-- 1 bin system 0 Sep 16 2002 dumpdates
-rw-rw-r-- 1 root system 1925 Dec 05 17:24 environment
-rw-r--r-- 1 root system 80 Feb 18 15:19 exclude.rootvg
-rw-rw-r-- 1 root system 3560 Mar 25 19:13 filesystems
-rw-rw-r-- 1 root system 50797 Dec 04 14:37 gated.conf
-rw-r--r-- 1 root security 466 Jan 23 12:35 group
-rw-r--r-- 1 root system 1036 Dec 04 14:35 hba.conf
-rw-r----- 1 root system 1967 Dec 04 14:37 hostmibd.conf
-rw-rw-r-- 1 root system 35469 Jan 23 12:47 hosts
-rw-r--r-- 1 root system 2049 Dec 04 14:37 hosts.equiv
-rw-rw-r-- 1 root system 1895 Dec 04 14:37 hosts.lpd
-rw-rw-r-- 1 root system 4672 Jan 21 07:09 inetd.conf
-rw-r--r-- 1 root system 1066 Dec 04 14:32 info-dir
-rw------- 1 root system 2796 Mar 02 15:55 inittab
-rw-r----- 1 ipsec ipsec 2638 Dec 04 14:37 isakmpd.conf
-r--r--r-- 1 root system 2721 Dec 04 14:37 isoaliases
-r--r--r-- 1 root system 8577 Dec 04 14:37 isobjects
-r--r--r-- 1 root system 12517 Dec 04 14:37 isoentities
-r--r--r-- 1 root system 3310 Dec 04 14:37 isomacros
-r--r--r-- 1 root system 6972 Dec 04 14:37 isoservices
-r--r--r-- 1 bin bin 21831 Dec 04 14:32 magic
-r--r--r-- 1 root system 19238 Dec 04 14:37 map3270
-rw-r----- 1 root system 104293 Dec 04 14:41 mib.defs
-r--r--r-- 1 bin bin 880 Sep 16 2002 motd
-rw-r--r-- 1 root system 2432 Dec 04 14:37 mrouted.conf
-rw-r--r-- 1 root system 5 Mar 02 15:55 muxatmd.pid
-rw-rw-r-- 1 root system 23 Jan 23 12:35 netsvc.conf
-rw-rw-r-- 1 root system 1078 Dec 05 17:18 ntp.conf
-rw-r--r-- 1 root system 9 Apr 13 16:55 ntp.drift
-rw-r--r-- 1 root system 0 Dec 05 17:20 ntp.trace
-rw-r--r-- 1 root security 446 Jan 21 16:54 ogroup
-rw-r--r-- 1 root security 828 Apr 13 14:04 opasswd
-r--r--r-- 1 root system 4540 Dec 04 14:37 options.file
-rw-r--r-- 1 root system 55 Dec 12 12:19 oraInst.loc
-rw-rw-r-- 1 oracle system 724 Dec 12 14:16 oratab
-rw-r--r-- 1 root security 828 Apr 13 14:04 passwd
-rw-r--r-- 1 root system 2229 Dec 04 14:37 policyd.conf
-r-xr-x--- 1 root system 1220 Dec 04 14:36 preserve.list
-rw-r--r-- 1 root system 4201 Dec 04 14:37 protocols
-rw-r--r-- 1 bin bin 3324 Sep 13 2002 pse.conf
-rw-r--r-- 1 bin bin 2062 Sep 13 2002 pse_tune.conf
-rw-rw-r-- 1 root system 29568 Dec 04 14:37 pxed.cnf
-rw-rw-r-- 1 root printq 1640 Sep 16 2002 qconfig
-rw-rw---- 1 root printq 4 Mar 02 15:55 qconfig.bin
-r-xr-xr-- 1 bin bin 3459 Sep 16 2002 rc
-r-xr-xr-- 1 bin bin 1072 Sep 16 2002 rc.C2
-r-xr-xr-- 1 bin bin 1251 Sep 16 2002 rc.CC
-r-xr-xr-- 1 bin bin 3241 Dec 04 14:37 rc.bsdnet
-r-xr-xr-- 1 bin bin 2312 Sep 16 2002 rc.dacinet
-rwxr-xr-- 1 root system 2733 Jan 21 17:00 rc.db2
-rwx------ 1 root system 1148 Sep 16 2002 rc.ha_star
-r-xr-xr-- 1 bin bin 8301 Dec 04 14:37 rc.net
-r-xr-xr-- 1 bin bin 5187 Dec 04 14:37 rc.net.serial
-rwx------ 1 root system 31897 Sep 16 2002 rc.powerfail
-rwxr--r-- 1 root bikadm 697 May 02 2003 rc.shutdown
-rwxrwxr-- 1 root system 5447 Jan 23 12:35 rc.tcpip
-rw-r--r-- 1 root system 45 Dec 04 15:13 resolv.conf
-rw-r--r-- 1 root system 121 Mar 26 12:12 rmtab
-rw-r--r-- 1 root system 1040 Dec 04 14:37 rpc
-rw-r--r-- 1 root system 3036 Dec 04 14:37 rsvpd.conf
-r-xr-xr-- 1 root system 2037 Dec 04 14:37 securetcpip
drwxr-x--- 4 root security 1024 Jan 21 16:52 security
-rw-r--r-- 1 root system 23284 Dec 17 17:11 services
-rw-r--r-- 1 bin bin 111 Sep 16 2002 shells
-rw-r--r-- 1 root system 1236 Dec 04 14:37 slip.hosts
-rw-r--r-- 1 root system 37 Mar 02 15:55 snmpd.boots
-rw-r----- 1 root system 10270 Jan 26 13:16 snmpd.conf
-rw-r----- 1 root system 2559 Dec 04 14:41 snmpd.peers
-rw-r----- 1 root system 10000 Dec 04 14:41 snmpdv3.conf
-rw-r----- 1 root system 1954 Dec 04 14:37 snmpmibd.conf
-rw-rw-r-- 1 root system 408 Dec 04 14:48 swapspaces
-rw-r--r-- 1 root system 4023 Dec 09 12:35 syslog.conf
-rw-r--r-- 1 root system 6 Mar 02 15:55 syslog.pid
-rw-rw-r-- 1 root system 1223 Dec 04 14:37 telnet.conf
-rw-rw-r-- 1 root system 480165 Dec 17 18:26 trcfmt
-r--r--r-- 1 root system 2344 Sep 13 2002 tsh_profile
drwx------ 2 root system 512 Mar 02 15:55 tunables
-rw-r--r-- 1 root system 25920 Apr 13 17:30 utmp
-rw-r--r-- 1 root system 1568 Dec 04 14:37 vfs
-rw-r--r-- 1 root system 33 Mar 26 11:56 xtab
-rw-r--r-- 1 bin bin 1721 Sep 13 2002 xtiso.conf

-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of JMonahan@COMPURES.COM
Sent: Tuesday, April 13, 2004 5:31 PM
To: aix-l@Princeton.EDU
Subject: Re: default /etc permissions

I'm sorry, I meant I did a chmod +x while in /etc, so I need everything
within /etc.

______________________________
John Monahan
Senior Consultant Enterprise Solutions
Computech Resources, Inc.
Office: 952-833-0930 ext 109
Cell: 952-221-6938
http://www.computechresources.com

             Bill Verzal
             <BVerzal@KOMATSUN
             A.COM> To
             Sent by: IBM AIX aix-l@Princeton.EDU
             Discussion List cc
             <aix-l@Princeton.
             EDU> Subject
                                       Re: default /etc permissions

             04/13/2004 10:11
             AM

             Please respond to
                  IBM AIX
              Discussion List
             <aix-l@Princeton.
                   EDU>

755
root:system
--------------------------------------------------------

"If everything is coming your way, then you are in the wrong lane"

Bill Verzal
AIX Administrator, Komatsu America
(847) 970-3726 - direct
(847) 970-4184 - fax

             JMonahan@COMPURES
             .COM
             Sent by: IBM AIX To
             Discussion List aix-l@Princeton.EDU
             <aix-l@Princeton. cc
             EDU>
                                                                   Subject
                                       default /etc permissions
             04/13/2004 10:09
             AM

             Please respond to
                  IBM AIX
              Discussion List
             <aix-l@Princeton.
                   EDU>

 I feel like a luser idiot and accidentally did a chmod +x on /etc (AIX
5.2). Can someone privately send me a list of the /etc perms on their AIX
5.2 box or point me to a place where they are listed? I don't want to
retrieve a tape unless absolutely necessary.

Thanks

______________________________
John Monahan
Senior Consultant Enterprise Solutions
Computech Resources, Inc.
Office: 952-833-0930 ext 109
Cell: 952-221-6938
http://www.computechresources.com



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:17:49 EDT