[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

IMPORTANT: Fix for bad permissions on 1.1 boot floppies



If you've installed your system from the 1.1 boot floppies generated before
this date, there are permissions problems with the files that would cause
extreme security problems. You can tell if you have the problem if any
of the files mentioned in the following script have public-write permission
on your system.

The following shell script, run as root, will fix the problems.
However, _Never_ run something as root just because someone's told you
to do so - examine it and make sure you know what it is supposed to do,
and why. This script should be easy enough to figure out.

	Thanks

	Bruce Perens

chmod 755 bin/bash
chmod 660 dev/fd0D360
chmod 660 dev/fd0D720
chmod 660 dev/fd1D360
chmod 660 dev/fd1D720
chmod 660 dev/nrft0
chmod 755 etc/init.d/halt
chmod 755 etc/init.d/kerneld
chmod 755 etc/init.d/netbase
chmod 755 etc/init.d/reboot
chmod 755 etc/init.d/single
chmod 755 etc/init.d/sysklogd
chmod 755 lib/libc.so.5.2.18
chmod 755 lib/libcom_err.so.2.0
chmod 755 lib/libdl.so.1.7.14
chmod 755 lib/libe2p.so.2.1
chmod 755 lib/libext2fs.so.2.0
chmod 755 lib/libm.so.5.0.5
chmod 644 lib/libreadline.so.2.0
chmod 755 lib/libss.so.2.0
chmod 755 mnt/
chmod 755 proc/
chmod 755 sbin/halt
chmod 755 sbin/init
chmod 755 sbin/insmod
chmod 755 sbin/killall5
chmod 755 sbin/modprobe
chmod 755 sbin/swapon
chmod 755 usr/bin/genksyms
chmod 755 usr/bin/last
chmod 755 usr/bin/perl
chmod 755 usr/doc/copyright/base/
chmod 644 usr/doc/copyright/syslinux
chmod 755 usr/doc/examples/modules/
chmod 755 usr/lib/libdb.so.1.85.2
chmod 644 usr/lib/libgdbm.so.1.7.3
chmod 644 usr/lib/libhistory.so.2.0
chmod 644 usr/man/man1/depmod.1
chmod 644 usr/man/man1/grep.1
chmod 644 usr/man/man1/ls.1
chmod 644 usr/man/man3/dlopen.3
chmod 644 usr/man/man8/adduser.8
chmod 644 usr/man/man8/vipw.8
chmod 755 usr/sbin/adduser
chmod 755 usr/sbin/rdev
chmod 755 usr/sbin/vipw
chmod 644 usr/doc/copyright/GPL
chmod 644 usr/doc/copyright/BSD
chmod 644 usr/doc/copyright/LGPL
chmod 644 usr/doc/copyright/Artistic


Reply to: