home *** CD-ROM | disk | FTP | other *** search
/ chilidog.highland.cc.ks.us / chilidog.highland.cc.ks.us.zip / chilidog.highland.cc.ks.us / backup / bradford.20120521.etc.tar.gz / bradford.20120521.etc.tar / etc / permissions.easy < prev    next >
Text File  |  2006-04-22  |  21KB  |  429 lines

  1. #
  2. # Copyright (c) 2001 SuSE GmbH Nuernberg, Germany.  All rights reserved.
  3. #
  4. # Author: Roman Drahtmueller <draht@suse.de>, 2001
  5. #
  6. # See /etc/permissions for general hints on how to use this file.
  7. #
  8. # /etc/permissions.easy is set up for the use in a standalone and single-user
  9. # installation to make things "work" out-of-the box.
  10. # Some of the settings might be considered somewhat lax from the security
  11. # standpoint. These aspects are handled differently in the permissions.secure
  12. # file.
  13.  
  14. #
  15. # Directories
  16. #
  17.  
  18. # lock file for emacs
  19. /var/lib/xemacs/lock                                    root:root         1777
  20. # for screen's session sockets:
  21. /var/run/uscreens                                       root:root         1777
  22.  
  23. #
  24. # /etc
  25. #
  26. /etc/crontab                                            root:root          644
  27. /etc/exports                                            root:root          644
  28. /etc/fstab                                              root:root          644
  29. # we don't package it
  30. /etc/ftpaccess                                          root:root          644
  31. /etc/ftpusers                                           root:root          644
  32. /etc/inetd.conf                                         root:root          644
  33. /etc/inittab                                            root:root          644
  34. /etc/mtab                                               root:root          644
  35. /etc/rmtab                                              root:root          644
  36. /var/lib/nfs/rmtab                                      root:root          644
  37. /etc/syslog.conf                                        root:root          644
  38.  
  39. #
  40. # suid system programs that need the suid bit to work:
  41. #
  42. /bin/su                                                 root:root         4755
  43. /usr/bin/at                                             root:trusted      4755
  44. /usr/bin/crontab                                        root:trusted      4755
  45. /usr/bin/gpasswd                                        root:shadow       4755
  46. /usr/bin/newgrp                                         root:root         4755
  47. /usr/bin/passwd                                         root:shadow       4755
  48. /usr/bin/chfn                                           root:shadow       4755
  49. /usr/bin/chage                                          root:shadow       4755
  50. /usr/bin/chsh                                           root:shadow       4755
  51. /usr/bin/expiry                                         root:shadow       4755
  52. # the default configuration of the sudo package in SuSE distribution is to
  53. # intimidate users.
  54. /usr/bin/sudo                                           root:root         4755
  55. /usr/sbin/su-wrapper                                    root:root         4755
  56. # opie password system
  57. # #66303
  58. /usr/bin/opiepasswd                                     root:root         4755
  59. /usr/bin/opiesu                                         root:root         4755
  60. # "user" entries in /etc/fstab make mount work for non-root users:
  61. /usr/bin/ncpmount                                       root:trusted      4750
  62. /usr/bin/ncpumount                                      root:trusted      4750
  63. # mount/umount have had their problems already:
  64. /bin/mount                                              root:root         4755
  65. /bin/umount                                             root:root         4755
  66. /bin/eject                                              root:audio        4755
  67. #
  68. # #133657
  69. /usr/bin/fusermount                                     root:trusted      4755
  70. # #66203
  71. /usr/lib/majordomo/wrapper                              root:daemon       4755
  72. # glibc backwards compatibility
  73. /usr/lib/pt_chown                                       root:root         4755
  74. /usr/lib64/pt_chown                                     root:root         4755
  75. /sbin/unix_chkpwd                                       root:shadow       2755
  76. /sbin/unix2_chkpwd                                      root:shadow       2755
  77. # qpopper
  78. /usr/sbin/popauth                                       pop:trusted       4755
  79. # from the squid package
  80. /usr/sbin/pam_auth                                      root:shadow       2755
  81.  
  82. # still to be converted to utempter
  83. /opt/gnome/lib/vte/gnome-pty-helper                     root:tty          2755
  84.  
  85. # gpg cannot pin memory into the ram using mlock(2) if not suid.
  86. # In memory pressure conditions, memory pages containing sensitive information
  87. # can be paged to disk.
  88. # the suid bit also removes gpg's complaints wrt the insecure memory.
  89. /usr/bin/gpg                                            root:root         4755
  90.  
  91. #
  92. # mixed section:
  93. #
  94. #########################################################################
  95. # rpm subsystem:
  96. /usr/src/packages/SOURCES/                              root:root         1777
  97. /usr/src/packages/BUILD/                                root:root         1777
  98. /usr/src/packages/RPMS/                                 root:root         1777
  99. /usr/src/packages/RPMS/alpha/                           root:root         1777
  100. /usr/src/packages/RPMS/alphaev56/                       root:root         1777
  101. /usr/src/packages/RPMS/alphaev67/                       root:root         1777
  102. /usr/src/packages/RPMS/alphaev6/                        root:root         1777
  103. /usr/src/packages/RPMS/arm4l/                           root:root         1777
  104. /usr/src/packages/RPMS/athlon/                          root:root         1777
  105. /usr/src/packages/RPMS/i386/                            root:root         1777
  106. /usr/src/packages/RPMS/i486/                            root:root         1777
  107. /usr/src/packages/RPMS/i586/                            root:root         1777
  108. /usr/src/packages/RPMS/i686/                            root:root         1777
  109. /usr/src/packages/RPMS/ia64/                            root:root         1777
  110. /usr/src/packages/RPMS/mips/                            root:root         1777
  111. /usr/src/packages/RPMS/ppc/                             root:root         1777
  112. /usr/src/packages/RPMS/ppc64/                           root:root         1777
  113. /usr/src/packages/RPMS/powerpc/                         root:root         1777
  114. /usr/src/packages/RPMS/powerpc64/                       root:root         1777
  115. /usr/src/packages/RPMS/s390/                            root:root         1777
  116. /usr/src/packages/RPMS/s390x/                           root:root         1777
  117. /usr/src/packages/RPMS/sparc/                           root:root         1777
  118. /usr/src/packages/RPMS/sparcv9/                         root:root         1777
  119. /usr/src/packages/RPMS/sparc64/                         root:root         1777
  120. /usr/src/packages/RPMS/x86_64/                          root:root         1777
  121. /usr/src/packages/RPMS/armv4l/                          root:root         1777
  122. /usr/src/packages/RPMS/hppa/                            root:root         1777
  123. /usr/src/packages/RPMS/hppa2.0/                         root:root         1777
  124. /usr/src/packages/RPMS/noarch/                          root:root         1777
  125. /usr/src/packages/SPECS/                                root:root         1777
  126. /usr/src/packages/SRPMS/                                root:root         1777
  127. #########################################################################
  128. # video
  129. /usr/X11R6/bin/v4l-conf                                 root:video        4755
  130. /opt/gnome/sbin/zapping_setup_fb                        root:video        4755
  131. # vmware
  132. /usr/bin/vmware                                         root:trusted      4755
  133. /usr/bin/vmware-ping                                    root:trusted      4755
  134. # Itanium ia32 emulator
  135. /usr/lib/ia32el/suid_ia32x_loader                       root:root         4755
  136. # scotty:
  137. # #66211
  138. /usr/bin/ntping                                         root:trusted      4750
  139. # screen savers:
  140. /usr/bin/vlock                                          root:shadow       2755
  141. /usr/X11R6/bin/Xorg                                     root:root         4711
  142. /usr/bin/man                                            root:root         4755
  143. /usr/bin/mandb                                          root:root         4755
  144. # turn off write and wall by disabling sgid tty:
  145. /usr/bin/wall                                           root:tty          2755
  146. /usr/bin/write                                          root:tty          2755
  147. # thttpd:
  148. /usr/bin/makeweb                                        root:www          2755
  149. # yaps, pager software, accesses /dev/ttyS?
  150. /usr/bin/yaps                                           root:uucp         2755
  151. # scmxx, tool for mobile phone, accesses /dev/ttyS?
  152. # #66309
  153. /usr/bin/scmxx                                          root:uucp         2755
  154. # ncpfs tool
  155. /usr/bin/nwsfind                                        root:trusted      4750
  156. /usr/bin/ncplogin                                       root:trusted      4750
  157. /usr/bin/ncpmap                                         root:trusted      4750
  158. # lpdfilter:
  159. # checks itself that only lp and root can call it
  160. /usr/lib/lpdfilter/bin/runlpr                           root:root         4755
  161. # pcmcia:
  162. # Needs setuid to eject cards (#100120)
  163. /sbin/pccardctl                                         root:trusted      4755
  164. # pcmcia-cardinfo:
  165. # for visual pcmcia status info. Needs setuid for creating device files. It
  166. # does that before initializing X
  167. /usr/X11R6/bin/cardinfo                                 root:root         4755
  168. # gnokii nokia cellphone software
  169. # #66209
  170. /usr/sbin/mgnokiidev                                    root:uucp         4755
  171. # pcp, performance co-pilot
  172. # setuid root is used to write /var/log/pcp/NOTICES
  173. # #66205
  174. /usr/lib/pcp/pmpost                                     root:root         4755
  175. # mailman mailing list software
  176. # #66315
  177. /usr/lib/mailman/cgi-bin/admin                          root:mailman      2755
  178. /usr/lib/mailman/cgi-bin/admindb                        root:mailman      2755
  179. /usr/lib/mailman/cgi-bin/edithtml                       root:mailman      2755
  180. /usr/lib/mailman/cgi-bin/listinfo                       root:mailman      2755
  181. /usr/lib/mailman/cgi-bin/options                        root:mailman      2755
  182. /usr/lib/mailman/cgi-bin/private                        root:mailman      2755
  183. /usr/lib/mailman/cgi-bin/roster                         root:mailman      2755
  184. /usr/lib/mailman/cgi-bin/subscribe                      root:mailman      2755
  185. /usr/lib/mailman/cgi-bin/confirm                        root:mailman      2755
  186. /usr/lib/mailman/cgi-bin/create                         root:mailman      2755
  187. /usr/lib/mailman/cgi-bin/editarch                       root:mailman      2755
  188. /usr/lib/mailman/cgi-bin/rmlist                         root:mailman      2755
  189. /usr/lib/mailman/mail/mailman                           root:mailman      2755
  190.  
  191. # libgnomesu (#75823)
  192. /opt/gnome/lib/libgnomesu/gnomesu-pam-backend           root:root         4755
  193.  
  194. # control-center2 (#104993)
  195. /opt/gnome/sbin/change-passwd                           root:root         4755
  196.  
  197. #
  198. # cups (#66305)
  199. #
  200. /usr/bin/lppasswd                                       lp:sys            4755
  201.  
  202. #
  203. # networking (need root for the privileged socket)
  204. #
  205. /bin/ping                                               root:root         4755
  206. /bin/ping6                                              root:root         4755
  207. /usr/bin/bing                                           root:trusted      4755
  208. /usr/sbin/traceroute6                                   root:root         4755
  209. # mtr is linked against ncurses. For dialout only.
  210. /usr/sbin/mtr                                           root:dialout      4750
  211. /usr/bin/rcp                                            root:root         4755
  212. /usr/bin/rlogin                                         root:root         4755
  213. /usr/bin/rsh                                            root:root         4755
  214.  
  215. # OpenPBS #66320
  216. /var/spool/pbs/spool                                    root:root         1777
  217. /var/spool/pbs/undelivered                              root:root         1777
  218. /opt/pbs/sbin/pbs_iff                                   root:root         4755
  219. /opt/pbs/sbin/pbs_rcp                                   root:root         4755
  220.  
  221. # heartbeat #66310
  222. # cl_status needs to be allowed to connect to the heartbeat API. If the setgid
  223. # bit is removed, one can manually add users to the haclient group instead.
  224. /usr/bin/cl_status                                      root:haclient     2555
  225.  
  226. # apache2
  227. /usr/sbin/suexec2                                       root:root         4755
  228.  
  229. # exim
  230. /usr/sbin/exim                                          root:root         4755
  231.  
  232. #
  233. # dialup networking programs
  234. #
  235. /usr/sbin/pppoe-wrapper                                 root:dialout      4750
  236. # i4l package (#100750):
  237. /sbin/isdnctrl                                          root:dialout      4750
  238. # #66111
  239. /usr/bin/vboxbeep                                       root:trusted      4755
  240.  
  241.  
  242. #
  243. # linux text console utilities
  244. #
  245. # setuid needed on the text console to set the terminal content on ctrl-o
  246. # #66112
  247. /usr/lib/mc/cons.saver                                  root:root         4755
  248.  
  249.  
  250. #
  251. # terminal emulators
  252. # This and future SuSE products have support for the utempter, a small helper
  253. # program that does the utmp/wtmp update work with the necessary rights.
  254. # The use of utempter obsoletes the need for sgid bits on terminal emulator
  255. # binaries. We mention screen here, but all other terminal emulators have
  256. # moved to /etc/permissions, with modes set to 0755.
  257.  
  258. # needs setuid to access /dev/console
  259. # framebuffer terminal emulator (japanese)
  260. /usr/bin/jfbterm                                        root:tty          6755
  261.  
  262. #
  263. # kde
  264. # (all of them are disabled in permissions.secure except for 
  265. # the helper programs)
  266. #
  267. # arts wrapper, normally suid root:
  268. /opt/kde3/bin/artswrapper                               root:root         4755
  269. # needs setuid root when using shadow via NIS:
  270. # #66218
  271. /opt/kde3/bin/kcheckpass                                root:shadow       4755
  272. # allow khc_indexbuilder to write into /var/cache/susehelp/
  273. /opt/kde3/bin/khc_indexbuilder                          root:man          2755
  274. # This has a meaning... hmm...
  275. /opt/kde3/bin/kdesud                                    root:nogroup      2755
  276. # used for getting proxy settings from dhcp
  277. /opt/kde3/bin/kpac_dhcp_helper                          root:root         4755
  278. # edits /etc/smb.conf
  279. # #66312
  280. /usr/bin/fileshareset                                   root:root         4755
  281.  
  282.  
  283. #
  284. # amanda
  285. #
  286. /usr/sbin/amcheck                                       root:disk         4750
  287. /usr/lib/amanda/calcsize                                root:disk         4750
  288. /usr/lib/amanda/rundump                                 root:disk         4750
  289. /usr/lib/amanda/planner                                 root:disk         4750
  290. /usr/lib/amanda/runtar                                  root:disk         4750
  291. /usr/lib/amanda/dumper                                  root:disk         4750
  292. /usr/lib/amanda/killpgrp                                root:disk         4750
  293.  
  294.  
  295. #
  296. # gnats
  297. #
  298. /usr/lib/gnats/gen-index                                gnats:root        4555
  299. /usr/lib/gnats/pr-edit                                  gnats:root        4555
  300. /usr/lib/gnats/queue-pr                                 gnats:root        4555
  301.  
  302.  
  303. #
  304. # news (inn)
  305. #
  306. # the inn start script changes it's uid to news:news. Later innstart and
  307. # innfeed are called by this user. Those programs do not need to be called by
  308. # anyone else, therefore the strange permissions 4554 are required for
  309. # operation. (#67032)
  310. #
  311. /usr/lib/news/bin/rnews                                 news:uucp         4550
  312. /usr/lib/news/bin/startinnfeed                          root:news         4554
  313. /usr/lib/news/bin/inndstart                             root:news         4554
  314. /usr/lib/news/bin/inews                                 news:news         2555
  315.  
  316.  
  317. #
  318. # fax
  319. #
  320. # faxq helper:
  321. /usr/lib/mgetty+sendfax/faxq-helper                     fax:root          4711
  322. /var/spool/fax/outgoing                                 fax:root          1755
  323. /var/spool/fax/outgoing/locks                           fax:root          0777
  324. # TODO: package should set this permissions
  325. /var/spool/fax/archive                                  fax:uucp           700
  326. /var/spool/fax/bin                                      fax:uucp           755
  327. /var/spool/fax/client                                   fax:uucp           755
  328. /var/spool/fax/config                                   fax:uucp           755
  329. /var/spool/fax/dev                                      fax:uucp           755
  330. /var/spool/fax/docq                                     fax:uucp           700
  331. /var/spool/fax/doneq                                    fax:uucp           700
  332. /var/spool/fax/etc                                      fax:uucp           755
  333. /var/spool/fax/info                                     fax:uucp           755
  334. /var/spool/fax/log                                      fax:uucp           755
  335. /var/spool/fax/pollq                                    fax:uucp           700
  336. /var/spool/fax/recvq                                    fax:uucp           755
  337. /var/spool/fax/sendq                                    fax:uucp           700
  338. /var/spool/fax/status                                   fax:uucp           755
  339. /var/spool/fax/tmp                                      fax:uucp           700
  340.  
  341. #
  342. # uucp
  343. #
  344. /var/spool/uucppublic                                   root:root         1777
  345. /usr/bin/uucp                                           uucp:uucp         6555
  346. /usr/bin/uuname                                         uucp:uucp         6555
  347. /usr/bin/uustat                                         uucp:uucp         6555
  348. /usr/bin/uux                                            uucp:uucp         6555
  349. /usr/lib/uucp/uucico                                    uucp:uucp         6555
  350. /usr/lib/uucp/uuxqt                                     uucp:uucp         6555
  351.  
  352.  
  353. #
  354. # games of all kinds, toys
  355. #
  356.  
  357. # bsd-games
  358. /usr/games/atc                                          games:games       2755
  359. /usr/games/battlestar                                   games:games       2755
  360. /usr/games/canfield                                     games:games       2755
  361. /usr/games/cribbage                                     games:games       2755
  362. /usr/games/phantasia                                    games:games       2755
  363. /usr/games/robots                                       games:games       2755
  364. /usr/games/sail                                         games:games       2755
  365. /usr/games/snake                                        games:games       2755
  366. /usr/games/tetris-bsd                                   games:games       2755
  367.  
  368. # Maelstrom
  369. /usr/games/Maelstrom                                    games:games       2755
  370.  
  371. # pachi
  372. /usr/games/pachi                                        games:games       2755
  373. /usr/games/martian                                      games:games       2755
  374.  
  375. # nethack
  376. /usr/lib/nethack/nethack.tty                            games:games       2755
  377.  
  378. # chromium,
  379. /usr/games/chromium                                     games:games       2755
  380.  
  381. # geki2
  382. /usr/games/geki2                                        games:games       2755
  383. /usr/games/grande                                       games:games       2755
  384.  
  385. # xscrabble
  386. /usr/games/xscrab                                       games:games       2755
  387.  
  388. # trackballs
  389. /usr/games/trackballs                                   games:games       2755
  390.  
  391. # ltris
  392. /usr/games/ltris                                        games:games       2755
  393.  
  394. # xlogical
  395. /usr/games/xlogical                                     games:games       2755
  396.  
  397. # lbreakout
  398. /usr/games/lbreakout2                                   games:games       2755
  399.  
  400. # xgalaga
  401. /usr/X11R6/bin/xgalaga                                  games:games       2755
  402.  
  403. # xtetris
  404. /usr/X11R6/bin/xtetris                                  games:games       2755
  405.  
  406. # xmris
  407. /usr/X11R6/bin/xmris                                    games:games       2755
  408.  
  409. # rocksndiamonds
  410. /usr/games/rocksndiamonds                               games:games       2755
  411.  
  412. # gnome-games
  413. /opt/gnome/bin/gtali                                    games:games       2755
  414. /opt/gnome/bin/gnotski                                  games:games       2755
  415. /opt/gnome/bin/gnome-stones                             games:games       2755
  416. /opt/gnome/bin/glines                                   games:games       2755
  417. /opt/gnome/bin/gnibbles                                 games:games       2755
  418. /opt/gnome/bin/gnotravex                                games:games       2755
  419. /opt/gnome/bin/mahjongg                                 games:games       2755
  420. /opt/gnome/bin/gnometris                                games:games       2755
  421. /opt/gnome/bin/gnobots2                                 games:games       2755
  422. /opt/gnome/bin/gnomine                                  games:games       2755
  423. /opt/gnome/bin/same-gnome                               games:games       2755
  424.  
  425. # Novell nici. See bug 127545
  426. /var/opt/novell/nici/nicimud                            root:root         4755
  427.