Removing execute permissions from crypted filesystems
Hi all, I have a machine with /home set to be encrypted on SuSE 7.2 Pro. I see in /etc/cryptotab: /dev/loop0 /dev/hda4 /home reiserfs twofish noatime I'm wondering if adding "noexec" to that line will keep users from being able to execute programs located on that partition? Or am I wrong? Thanks for any help, Steven
On Friday 06 July 2001 11:15 am, Steven Hatfield wrote:
Hi all, I have a machine with /home set to be encrypted on SuSE 7.2 Pro. I see in /etc/cryptotab:
/dev/loop0 /dev/hda4 /home reiserfs twofish noatime
I'm wondering if adding "noexec" to that line will keep users from being able to execute programs located on that partition? Or am I wrong?
Thanks for any help, Steven
Welp, I am not known for my patience or good judgement, so I changed the line to read: /dev/loop0 /dev/hda4 /home reiserfs twofish noatime,noexec and it worked :) Have a great day, Steven
Hi. Suse 7.0 with kernel upgraded to 2.4.2, PIII-450, mobo chipset VIA693. 2.4.2 works almost ok. USB in 2.4.2 works perfectly. But when trying next kernels (2.4.3 to 2.4.6) I never get USB working, and repeated messages about USB errors appear on 'var/log/messages'. With 2.4.6 the initial lines at 'var/log/messages' are (see error): Jul 6 12:43:55 capricho syslogd 1.3-3: restart. Jul 6 12:43:58 capricho kernel: klogd 1.3-3, log source = /proc/kmsg started. Jul 6 12:43:58 capricho kernel: Loaded 10793 symbols from /boot/System.map-2.4.6. Jul 6 12:43:58 capricho kernel: Symbols match kernel version 2.4.6. Jul 6 12:43:58 capricho kernel: Loaded 288 symbols from 16 modules. Jul 6 12:43:58 capricho kernel: hub.c: Cannot enable port 1 of hub 1, disabling port. <-------- Jul 6 12:43:58 capricho kernel: hub.c: Maybe the USB cable is bad? <-------- Jul 6 12:43:58 capricho kernel: hub.c: USB new device connect on bus1/2, assigned device number 2 Jul 6 12:43:58 capricho kernel: eth0: 3c5x9 at 0x300, 10baseT port, address 00 20 af 69 04 fb, IRQ 9. ............... With 2.4.2 boot is as follows: Jul 6 08:27:33 capricho syslogd 1.3-3: restart. Jul 6 08:27:36 capricho kernel: klogd 1.3-3, log source = /proc/kmsg started. Jul 6 08:27:36 capricho kernel: Loaded 15305 symbols from /boot/System.map-2.4.2. Jul 6 08:27:36 capricho kernel: Symbols match kernel version 2.4.2. Jul 6 08:27:36 capricho kernel: Loaded 239 symbols from 15 modules. Jul 6 08:27:36 capricho kernel: irda_init() Jul 6 08:27:36 capricho kernel: irlmp_init() Jul 6 08:27:36 capricho kernel: eth0: 3c509 at 0x300, 10baseT port, address 00 20 af 69 04 fb, IRQ 9. ............... No term similar to 'usb' or hub appears in 'var/log/messages' in 2.4.2 at the boot process, but usb modules load correctly (I use a mouse and an usb radio), with the appropiate entries in '/etc/rc.config.d/usb.rc.config'. Although I compile my kernels, above error on 2.4.6 comes from its preconfigured kernel 'vmlinuz' after installing 'k_i386-2.4.6-0.i386.rpm' (Mantel); errors when I compile a kernel are the same. I have always used the same usb configuration and modules ('uhci.o', 'hid.o' and 'dsbr100.o'), although Mantel's rpm above leaves many more. Questions: -What can be the problem? -Should the boot process care about 'mk_initrd' for USB (I don't use it)? -Is there anything to change about USB for kernels>2.4.2? TIA.
participants (2)
-
Steven Hatfield
-
Webillo Disperso