home *** CD-ROM | disk | FTP | other *** search
/ tusportal.tus.k12.pa.us / tusportal.tus.k12.pa.us.tar / tusportal.tus.k12.pa.us / Wyse / latest-image.raw / 0.img / etc / permissions.paranoid < prev    next >
Text File  |  2010-05-05  |  22KB  |  446 lines

  1. # /etc/permissions.paranoid
  2. #
  3. # Copyright (c) 2001 SuSE GmbH Nuernberg, Germany.  All rights reserved.
  4. #
  5. # Author: Roman Drahtmueller <draht@suse.de>, 2001
  6. #
  7. # See /etc/permissions for general hints on how to use this file.
  8. #
  9. # /etc/permissions.paranoid is NOT designed to be used in a single-user as
  10. # well as a multi-user installation, be it networked or not.
  11. # Derived from /etc/permissions.secure, it has _all_ sgid and suid bits
  12. # cleared - therefore, the system might be useable for non-privileged users
  13. # except for simple tasks like changing passwords and such. In addition, 
  14. # some of the configuration files are not readable for world any more.
  15. #
  16. # Feel free to use this file as a basis of a system configuration that meets
  17. # your understanding of "secure", for the case that you're a bit paranoid.
  18. # Since there is no such thing as "it works" with this configuration, please
  19. # use these settings with care. Some experience on behalf of the administrator
  20. # is needed to have a system running flawlessly when users are present.
  21. # In particular, all terminal emulators will not be able to write to utmp
  22. # and wtmp any more, which renders who(1) and finger(1) useless.
  23. #
  24. # Please always keep in mind that your system listens on network sockets
  25. # in the default configuration. Change this by disabling the services that 
  26. # you do not need or by restricting access to them using packet filters
  27. # or tcp wrappers (see hosts_access(5)) to gain a higher level of security
  28. # in your system.
  29.  
  30. #
  31. # Directories
  32. #
  33. # no lock files for emacs:
  34. /var/lib/xemacs/lock                                    root:trusted      1775
  35. # for screen's session sockets:
  36. /var/run/uscreens                                       root:trusted      1775
  37.  
  38.  
  39. #
  40. # /etc
  41. #
  42. /etc/crontab                                            root:root          600
  43. /etc/exports                                            root:root          600
  44. /etc/fstab                                              root:root          600
  45. /etc/ftpaccess                                          root:root          600
  46. /etc/ftpusers                                           root:root          600
  47. /etc/inetd.conf                                         root:root          600
  48. /etc/inittab                                            root:root          600
  49. /etc/mtab                                               root:root          600
  50. /etc/rmtab                                              root:root          600
  51. /var/lib/nfs/rmtab                                      root:root          600
  52. /etc/syslog.conf                                        root:root          600
  53.  
  54. #
  55. # suid system programs that need the suid bit to work:
  56. #
  57. /bin/su                                                 root:root         0755
  58. # disable at and cron for non-root users
  59. /usr/bin/at                                             root:trusted      0755
  60. /usr/bin/crontab                                        root:trusted      0755
  61. /usr/bin/gpasswd                                        root:shadow       0755
  62. /usr/bin/newgrp                                         root:root         0755
  63. /usr/bin/passwd                                         root:shadow       0755
  64. /usr/bin/chfn                                           root:shadow       0755
  65. /usr/bin/chage                                          root:shadow       0755
  66. /usr/bin/chsh                                           root:shadow       0755
  67. /usr/bin/expiry                                         root:shadow       0755
  68. # the default configuration of the sudo package in SuSE distribution is to
  69. # intimidate users.
  70. /usr/bin/sudo                                           root:root         0755
  71. /usr/sbin/su-wrapper                                    root:root         0755
  72. # opie password system
  73. # #66303
  74. /usr/bin/opiepasswd                                     root:root         0755
  75. /usr/bin/opiesu                                         root:root         0755
  76. # "user" entries in /etc/fstab make mount work for non-root users:
  77. /usr/bin/ncpmount                                       root:trusted      0755
  78. /usr/bin/ncpumount                                      root:trusted      0755
  79. # #331020
  80. /sbin/mount.nfs                                         root:root         0755
  81. # mount/umount have had their problems already:
  82. /bin/mount                                              root:root         0755
  83. /bin/umount                                             root:root         0755
  84. /bin/eject                                              root:audio        0755
  85. #
  86. # #133657
  87. /usr/bin/fusermount                                     root:trusted      0755
  88. # #66203
  89. /usr/lib/majordomo/wrapper                              root:daemon       0755
  90. # glibc backwards compatibility
  91. /usr/lib/pt_chown                                       root:root         0755
  92. /usr/lib64/pt_chown                                     root:root         0755
  93. # needs setuid root when using shadow via NIS:
  94. # #216816
  95. /sbin/unix_chkpwd                                       root:shadow       0755
  96. /sbin/unix2_chkpwd                                      root:shadow       0755
  97. # qpopper
  98. /usr/sbin/popauth                                       pop:trusted       0755
  99. # from the squid package
  100. /usr/sbin/pam_auth                                      root:shadow       0755
  101.  
  102. # still to be converted to utempter
  103. /usr/lib/vte/gnome-pty-helper                           root:tty          0755
  104.  
  105. #
  106. # mixed section: most of it is disabled in this permissions.secure:
  107. #
  108. #########################################################################
  109. # rpm subsystem:
  110. /usr/src/packages/SOURCES/                              root:root          700
  111. /usr/src/packages/BUILD/                                root:root          700
  112. /usr/src/packages/RPMS/                                 root:root          700
  113. /usr/src/packages/RPMS/alpha/                           root:root          700
  114. /usr/src/packages/RPMS/alphaev56/                       root:root          700
  115. /usr/src/packages/RPMS/alphaev67/                       root:root          700
  116. /usr/src/packages/RPMS/alphaev6/                        root:root          700
  117. /usr/src/packages/RPMS/arm4l/                           root:root          700
  118. /usr/src/packages/RPMS/athlon/                          root:root          700
  119. /usr/src/packages/RPMS/i386/                            root:root          700
  120. /usr/src/packages/RPMS/i486/                            root:root          700
  121. /usr/src/packages/RPMS/i586/                            root:root          700
  122. /usr/src/packages/RPMS/i686/                            root:root          700
  123. /usr/src/packages/RPMS/ia64/                            root:root          700
  124. /usr/src/packages/RPMS/mips/                            root:root          700
  125. /usr/src/packages/RPMS/ppc/                             root:root          700
  126. /usr/src/packages/RPMS/ppc64/                           root:root          700
  127. /usr/src/packages/RPMS/powerpc/                         root:root          700
  128. /usr/src/packages/RPMS/powerpc64/                       root:root          700
  129. /usr/src/packages/RPMS/s390/                            root:root          700
  130. /usr/src/packages/RPMS/s390x/                           root:root          700
  131. /usr/src/packages/RPMS/sparc/                           root:root          700
  132. /usr/src/packages/RPMS/sparcv9/                         root:root          700
  133. /usr/src/packages/RPMS/sparc64/                         root:root          700
  134. /usr/src/packages/RPMS/x86_64/                          root:root          700
  135. /usr/src/packages/RPMS/armv4l/                          root:root          700
  136. /usr/src/packages/RPMS/hppa/                            root:root          700
  137. /usr/src/packages/RPMS/hppa2.0/                         root:root          700
  138. /usr/src/packages/RPMS/noarch/                          root:root          700
  139. /usr/src/packages/SPECS/                                root:root          700
  140. /usr/src/packages/SRPMS/                                root:root          700
  141. #########################################################################
  142. # video
  143. /usr/bin/v4l-conf                                       root:video        0755
  144. # Itanium ia32 emulator
  145. /usr/lib/ia32el/suid_ia32x_loader                       root:root         0755
  146. #########################################################################
  147. # scotty:
  148. # #66211
  149. /usr/bin/ntping                                         root:trusted      0755
  150. # This is not extensively tested.
  151. /usr/bin/vlock                                          root:shadow       0755
  152. /usr/bin/Xorg                                           root:root         0711
  153. # turned off write and wall by disabling sgid tty:
  154. /usr/bin/wall                                           root:tty          0755
  155. /usr/bin/write                                          root:tty          0755
  156. # thttpd
  157. /usr/bin/makeweb                                        root:www          0750
  158. # yaps, pager software, accesses /dev/ttyS? . Disabled sgid uucp.
  159. /usr/bin/yaps                                           root:uucp         0755
  160. # ncpfs tool: trusted only
  161. /usr/bin/nwsfind                                        root:trusted      0750
  162. /usr/bin/ncplogin                                       root:trusted      0750
  163. /usr/bin/ncpmap                                         root:trusted      0750
  164. # lpdfilter:
  165. # checks itself that only lp and root can call it
  166. /usr/lib/lpdfilter/bin/runlpr                           root:root         0755
  167. # pcmcia:
  168. # Needs setuid to eject cards (#100120)
  169. /sbin/pccardctl                                         root:trusted      0755
  170. # gnokii nokia cellphone software
  171. # #66209
  172. /usr/sbin/mgnokiidev                                    root:uucp          755
  173. # pcp, performance co-pilot
  174. # setuid root is used to write /var/log/pcp/NOTICES
  175. # #66205
  176. /usr/lib/pcp/pmpost                                     root:trusted      0755
  177. # mailman mailing list software
  178. # #66315
  179. /usr/lib/mailman/cgi-bin/admin                          root:mailman      0755
  180. /usr/lib/mailman/cgi-bin/admindb                        root:mailman      0755
  181. /usr/lib/mailman/cgi-bin/edithtml                       root:mailman      0755
  182. /usr/lib/mailman/cgi-bin/listinfo                       root:mailman      0755
  183. /usr/lib/mailman/cgi-bin/options                        root:mailman      0755
  184. /usr/lib/mailman/cgi-bin/private                        root:mailman      0755
  185. /usr/lib/mailman/cgi-bin/roster                         root:mailman      0755
  186. /usr/lib/mailman/cgi-bin/subscribe                      root:mailman      0755
  187. /usr/lib/mailman/cgi-bin/confirm                        root:mailman      0755
  188. /usr/lib/mailman/cgi-bin/create                         root:mailman      0755
  189. /usr/lib/mailman/cgi-bin/editarch                       root:mailman      0755
  190. /usr/lib/mailman/cgi-bin/rmlist                         root:mailman      0755
  191. /usr/lib/mailman/mail/mailman                           root:mailman      0755
  192.  
  193. # libgnomesu (#75823, #175616)
  194. /usr/lib/libgnomesu/gnomesu-pam-backend                 root:root         0755
  195.  
  196. # control-center2 (#104993)
  197. /usr/sbin/change-passwd                                 root:root         0755
  198.  
  199. #
  200. # cups (#66305,#406058)
  201. #
  202. /usr/bin/lppasswd                                       lp:lp             0755
  203.  
  204. #
  205. # smb printing with kerberos authentication (#177114)
  206. #
  207. /usr/bin/get_printing_ticket                            root:lp           0755
  208.  
  209. #
  210. # networking (need root for the privileged socket)
  211. #
  212. /bin/ping                                               root:root         0755
  213. /bin/ping6                                              root:root         0755
  214. /usr/sbin/traceroute6                                   root:root         0755
  215. # mtr is linked against ncurses.
  216. /usr/sbin/mtr                                           root:dialout      0755
  217. /usr/bin/rcp                                            root:root         0755
  218. /usr/bin/rlogin                                         root:root         0755
  219. /usr/bin/rsh                                            root:root         0755
  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     0555
  225.  
  226. # exim
  227. /usr/sbin/exim                                          root:root         0755
  228.  
  229. #
  230. # dialup networking programs
  231. #
  232. /usr/sbin/pppoe-wrapper                                 root:dialout      0750
  233. # i4l package (#100750):
  234. /sbin/isdnctrl                                          root:dialout      0750
  235. # #66111
  236. /usr/bin/vboxbeep                                       root:trusted      0755
  237.  
  238.  
  239. #
  240. # linux text console utilities
  241. #
  242. # setuid needed on the text console to set the terminal content on ctrl-o
  243. # #66112
  244. /usr/lib/mc/cons.saver                                  root:root         0755
  245.  
  246.  
  247. #
  248. # terminal emulators
  249. # This and future SuSE products have support for the utempter, a small helper
  250. # program that does the utmp/wtmp update work with the necessary rights.
  251. # The use of utempter obsoletes the need for sgid bits on terminal emulator
  252. # binaries. We mention screen here, but all other terminal emulators have
  253. # moved to /etc/permissions, with modes set to 0755.
  254.  
  255. # framebuffer terminal emulator (japanese).
  256. /usr/bin/jfbterm                                        root:tty          0755
  257.  
  258. #
  259. # kde
  260. #
  261. # arts wrapper, normally suid root:
  262. /opt/kde3/bin/artswrapper                               root:root         0755
  263. # needs setuid root when using shadow via NIS:
  264. # #66218
  265. /opt/kde3/bin/kcheckpass                                root:shadow       0755
  266. /usr/lib/kde4/libexec/kcheckpass                        root:shadow       0755
  267. /usr/lib64/kde4/libexec/kcheckpass                      root:shadow       0755
  268. # This has a meaning... hmm...
  269. /opt/kde3/bin/kdesud                                    root:nogroup      0755
  270. /usr/lib/kde4/libexec/kdesud                            root:nogroup      0755
  271. /usr/lib64/kde4/libexec/kdesud                          root:nogroup      0755
  272. # used for getting proxy settings from dhcp
  273. /opt/kde3/bin/kpac_dhcp_helper                          root:root         0755
  274. # used to distract the oom killer
  275. # #203535
  276. /opt/kde3/bin/start_kdeinit                             root:root         0755
  277. # edits /etc/smb.conf
  278. # #66312
  279. /usr/bin/fileshareset                                   root:root         0755
  280.  
  281.  
  282. #
  283. # amanda
  284. #
  285. # Well, if you are gid disk already, you don't need these amanda binaries
  286. # to get root.
  287. # Anyway, we don't keep the suid bits.
  288. /usr/sbin/amcheck                                       root:disk         0750
  289. /usr/lib/amanda/calcsize                                root:disk         0750
  290. /usr/lib/amanda/rundump                                 root:disk         0750
  291. /usr/lib/amanda/planner                                 root:disk         0750
  292. /usr/lib/amanda/runtar                                  root:disk         0750
  293. /usr/lib/amanda/dumper                                  root:disk         0750
  294. /usr/lib/amanda/killpgrp                                root:disk         0750
  295.  
  296.  
  297. #
  298. # gnats
  299. #
  300. /usr/lib/gnats/gen-index                                gnats:root        0555
  301. /usr/lib/gnats/pr-edit                                  gnats:root        0555
  302. /usr/lib/gnats/queue-pr                                 gnats:root        0555
  303.  
  304.  
  305. #
  306. # news (inn)
  307. #
  308. # the inn start script changes it's uid to news:news. Later innstart and
  309. # innfeed are called by this user. Those programs do not need to be called by
  310. # anyone else, therefore the strange permissions 4554 are required for
  311. # operation. (#67032)
  312. #
  313. /usr/lib/news/bin/rnews                                 news:uucp         0555
  314. /usr/lib/news/bin/startinnfeed                          root:news         0555
  315. /usr/lib/news/bin/inndstart                             root:news         0555
  316. /usr/lib/news/bin/inews                                 news:news         0555
  317.  
  318.  
  319. #
  320. # fax
  321. #
  322. # restrictive, only for "trusted" group users:
  323. # faxq helper:
  324. /usr/lib/mgetty+sendfax/faxq-helper                     fax:root          0711
  325. /var/spool/fax/outgoing                                 fax:trusted       1770
  326. /var/spool/fax/outgoing/locks                           fax:trusted       1770
  327. # TODO: package should set this permissions
  328. /var/spool/fax/archive                                  fax:uucp           700
  329. /var/spool/fax/bin                                      fax:uucp           755
  330. /var/spool/fax/client                                   fax:uucp           755
  331. /var/spool/fax/config                                   fax:uucp           755
  332. /var/spool/fax/dev                                      fax:uucp           755
  333. /var/spool/fax/docq                                     fax:uucp           700
  334. /var/spool/fax/doneq                                    fax:uucp           700
  335. /var/spool/fax/etc                                      fax:uucp           755
  336. /var/spool/fax/info                                     fax:uucp           755
  337. /var/spool/fax/log                                      fax:uucp           755
  338. /var/spool/fax/pollq                                    fax:uucp           700
  339. /var/spool/fax/recvq                                    fax:uucp           755
  340. /var/spool/fax/sendq                                    fax:uucp           700
  341. /var/spool/fax/status                                   fax:uucp           755
  342. /var/spool/fax/tmp                                      fax:uucp           700
  343.  
  344. #
  345. # uucp
  346. #
  347. /var/spool/uucppublic                                   root:uucp         1770
  348. /usr/bin/uucp                                           uucp:uucp         0555
  349. /usr/bin/uuname                                         uucp:uucp         0555
  350. /usr/bin/uustat                                         uucp:uucp         0555
  351. /usr/bin/uux                                            uucp:uucp         0555
  352. /usr/lib/uucp/uucico                                    uucp:uucp         0555
  353. /usr/lib/uucp/uuxqt                                     uucp:uucp         0555
  354.  
  355.  
  356. #
  357. # games of all kinds, toys
  358. #
  359.  
  360. # bsd-games
  361. /usr/games/atc                                          games:games       0755
  362. /usr/games/battlestar                                   games:games       0755
  363. /usr/games/canfield                                     games:games       0755
  364. /usr/games/cribbage                                     games:games       0755
  365. /usr/games/phantasia                                    games:games       0755
  366. /usr/games/robots                                       games:games       0755
  367. /usr/games/sail                                         games:games       0755
  368. /usr/games/snake                                        games:games       0755
  369. /usr/games/tetris-bsd                                   games:games       0755
  370.  
  371. # Maelstrom
  372. /usr/games/Maelstrom                                    games:games       0755
  373.  
  374. # pachi
  375. /usr/games/pachi                                        games:games       0755
  376. /usr/games/martian                                      games:games       0755
  377.  
  378. # nethack
  379. /usr/lib/nethack/nethack.tty                            games:games       0755
  380.  
  381. # chromium,
  382. /usr/games/chromium                                     games:games       0755
  383.  
  384. # xscrabble
  385. /usr/games/xscrab                                       games:games       0755
  386.  
  387. # trackballs
  388. /usr/games/trackballs                                   games:games       0755
  389.  
  390. # ltris
  391. /usr/games/ltris                                        games:games       0755
  392.  
  393. # xlogical
  394. /usr/games/xlogical                                     games:games       0755
  395.  
  396. # lbreakout
  397. /usr/games/lbreakout2                                   games:games       0755
  398.  
  399. # xgalaga
  400. /usr/bin/xgalaga                                        games:games       0755
  401.  
  402. # rocksndiamonds
  403. /usr/games/rocksndiamonds                               games:games       0755
  404.  
  405. # gnome-games
  406. /usr/bin/glines                                         games:games       0755
  407. /usr/bin/gnibbles                                       games:games       0755
  408. /usr/bin/gnobots2                                       games:games       0755
  409. /usr/bin/gnometris                                      games:games       0755
  410. /usr/bin/gnomine                                        games:games       0755
  411. /usr/bin/gnotravex                                      games:games       0755
  412. /usr/bin/gnotski                                        games:games       0755
  413. /usr/bin/gtali                                          games:games       0755
  414. /usr/bin/mahjongg                                       games:games       0755
  415. /usr/bin/same-gnome                                     games:games       0755
  416.  
  417. # zypp (#385207)
  418. /usr/sbin/zypp-refresh-wrapper                          root:root         0755
  419.  
  420. # PolicyKit (#295341)
  421. /usr/lib/PolicyKit/polkit-set-default-helper            root:polkituser   0755
  422. /usr/lib/PolicyKit/polkit-read-auth-helper              root:polkituser   0755
  423. /usr/lib/PolicyKit/polkit-revoke-helper                 root:polkituser   0755
  424. /usr/lib/PolicyKit/polkit-explicit-grant-helper         root:polkituser   0755
  425. /usr/lib/PolicyKit/polkit-grant-helper                  root:polkituser   0755
  426. /usr/lib/PolicyKit/polkit-grant-helper-pam              root:polkituser   0755
  427.  
  428. # dbus-1 (#333361)
  429. /lib/dbus-1/dbus-daemon-launch-helper                   root:messagebus   0750
  430. /lib64/dbus-1/dbus-daemon-launch-helper                 root:messagebus   0750
  431.  
  432. # policycoreutils (#440596)
  433. /usr/bin/newrole                                        root:root         0755
  434.  
  435. # VirtualBox (#429725)
  436. /usr/lib/virtualbox/VirtualBox                          root:vboxusers    0755
  437. /usr/lib/virtualbox/VirtualBox3                         root:vboxusers    0755
  438. /usr/lib/virtualbox/VBoxBFE                             root:vboxusers    0755
  439. /usr/lib/virtualbox/VBoxHeadless                        root:vboxusers    0755
  440. /usr/lib/virtualbox/VBoxSDL                             root:vboxusers    0755
  441.  
  442. # binary only nicimud (bnc#591372)
  443. /var/opt/novell/nici/nicimud                            root:root         0755
  444. /var/opt/novell/nici/nicimud64                          root:root         0755
  445.