[sane-devel] Shotcut to detect IRQ
Stephen Liu
satimis at icare.com.hk
Sun Mar 9 09:29:28 GMT 2003
Hi Henning,
Henning Meier-Geinitz wrote:
> - snip -
>
> That's done by your distribution. I guess it's done with PAM. Check
> your distribution's manuals for this keyword.
>
> I'm pretty sure you can change the setup so everytime you login you
> /dev/sg1 gets the right permissions.
(referring to
https://www.redhat.com/docs/manuals/linux/RHL-7.3-Manual/ref-guide/s1-pam-config-files.html)
Hereinbelow is the PAM configuration file
# cat /etc/pam.d/login
#%PAM-1.0
auth required /lib/security/pam_securetty.so
auth required /lib/security/pam_stack.so service=system-auth
auth required /lib/security/pam_nologin.so
account required /lib/security/pam_stack.so service=system-auth
password required /lib/security/pam_stack.so service=system-auth
session required /lib/security/pam_stack.so service=system-auth
session optional /lib/security/pam_console.so
Shall I delete following 3 lines from the file
auth required /lib/security/pam_nologin.so
account required /lib/security/pam_stack.so service=system-auth
password required /lib/security/pam_stack.so service=system-auth
>>2) Neither modutils directory nor the file 'aliases' exist
>
> Put the options line in /etc/modules.conf instead. And place "modprobe
> aha152x" somewhere in the boot scrips, e.g. /etc/init.d/boot.local if
> it exists.
Hereinbelow is the content of /etc/modules.conf
# cat /etc/modules.conf
alias parport_lowlevel parport_pc
alias eth0 8139too
alias eth1 8139too
alias sound-slot-0 ymfpci
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L
>/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S
>/dev/null 2>&1 | | :
alias usb-controller usb-uhci
Shall I insert "aha152x=0x140,9,7,0" at the bottom?
The file "/etc/init.d/boot.local" does not exist.
B.Regards
Stephen
More information about the sane-devel
mailing list