From: Igor Vlasenko <vlasenko@imath.kiev.ua> To: ALT Devel discussion list <devel@lists.altlinux.org> Subject: [devel] udev + pam_console rakes Date: Thu, 13 Sep 2007 15:32:23 +0300 (EEST) Message-ID: <Pine.LNX.4.44.0709131445130.1673-100000@dad.imath.kiev.ua> (raw) Вопрос более к Сергею, как к майнтайнеру udev, но также прошу откликнуться кто знает. я к hplip прикрутил pam_console, чтобы принтер отдавался текущему юзеру, но заметил, что все гарантированно работает только в момент загрузки. При горячем втыкании (часто?) возникают проблемы. Нет ли противоречий в 55-hpmud.rules , мешающих запуску 94-pam-console.rules? "Добавлены вызовы /sbin/pam_console_apply - теперь при обработке событий не должны портиться права доступа к устройствам, которыми управляет pam_console." cat 80-hpmud.perms ------------------------------ # device class (hplip symlinks to real devices) <hplip>=/dev/hplip/* # hp-toolbox of logged in user gave direct access to the printer <console> 0664 <hplip> 0664 root.lp cat 55-hpmud.rules --------------------------------- SUBSYSTEM=="usb", GOTO="hpmud_rules_continue" # For backward compatibility match also against "usb_device" SUBSYSTEM=="usb_device", GOTO="hpmud_rules_continue" GOTO="hpmud_rules_end" LABEL="hpmud_rules_continue" ACTION!="add", GOTO="hpmud_rules_end" SYSFS{idVendor}=="03f0", GROUP="lp", MODE="0664", SYMLINK+="hplip/$attr{manufacturer}-$attr{serial}" LABEL="hpmud_rules_end" cat /etc/udev/rules.d/94-pam-console.rules ------------------------------------------- ACTION=="add", ATTR{dev}=="?*", KERNEL=="?*", RUN+="/sbin/pam_console_apply $env{DEVNAME} $env{DEVLINKS}" -- Dr. Igor Vlasenko -------------------- Topology Department Institute of Math Kiev, Ukraine
reply other threads:[~2007-09-13 12:32 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=Pine.LNX.4.44.0709131445130.1673-100000@dad.imath.kiev.ua \ --to=vlasenko@imath.kiev.ua \ --cc=devel@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git