Mailinglist Archive: opensuse (2955 mails)
| < Previous | Next > |
Re: [opensuse] Force module not to load
- From: Anders Johansson <andjoh@xxxxxxxxxx>
- Date: Mon, 12 Feb 2007 19:11:31 +0100
- Message-id: <200702121911.31870.andjoh@xxxxxxxxxx>
On Monday 12 February 2007 09:46, Fajar Priyanto wrote:
> On Monday 12 February 2007 07:05, Carl Hartung wrote:
> > > /bin/false would sound more logical to a human, but it returns "false"
> > > on exit, so modprobe thinks there was an error, and this would
> > > interrupt a boot, and/or give annoying error messages in the log
>
> This is what we implement in Finance dept so that users cannot copy data
> out of the PC using any USB storage device:
>
> /etc/modprobe.conf:
> install usb_storage \
> wall "Sorry, no USB storage devices are allowed" \
> && /bin/false
But then you'll get error messages. /bin/true gives the same effect but
without error messages
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
> On Monday 12 February 2007 07:05, Carl Hartung wrote:
> > > /bin/false would sound more logical to a human, but it returns "false"
> > > on exit, so modprobe thinks there was an error, and this would
> > > interrupt a boot, and/or give annoying error messages in the log
>
> This is what we implement in Finance dept so that users cannot copy data
> out of the PC using any USB storage device:
>
> /etc/modprobe.conf:
> install usb_storage \
> wall "Sorry, no USB storage devices are allowed" \
> && /bin/false
But then you'll get error messages. /bin/true gives the same effect but
without error messages
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |