From: Sergey Vlasov <vsu@altlinux.ru> To: community@lists.altlinux.org Subject: Re: [Comm] ALD4.1 - несколько сессий Date: Tue, 9 Dec 2008 21:49:52 +0300 Message-ID: <20081209184952.GA7352@atlas.home> (raw) In-Reply-To: <20081209152637.GV9564@osdn.org.ua> [-- Attachment #1: Type: text/plain, Size: 1475 bytes --] On Tue, Dec 09, 2008 at 05:26:37PM +0200, Michael Shigorin wrote: > On Tue, Dec 09, 2008 at 01:06:33AM +0200, Valentin Lavrinenko wrote: > > Наконец-то поставил дома Desktop 4.1 (который, конечно, уже изрядно > > оббранчился), и снова подписался на рассылку. Пока все работает неплохо :) > > > > Основная проблема: когда запущено несколько сессий с KDE (от разных > > пользователей) - некоторые вещи работают кривовато, возникают проблемы с > > правами. Последний пример: поставил сканер (МФУ HP ScanJet M1120), его > > девайс заводится с правами 600, причем пользователь - тот, от кого > > запущена первая KDE сессия (которая на 7-й консоли). Объясните, может > > так и должно быть, а я чего-то не понимаю? А какое именно там устройство? С обычными сканерами (которые в большинстве случаев работают через /dev/bus/usb/*) такого не должно быть, поскольку pam_console с ними не работает - выставляются только права для группы scanner. > Если udev выставляет на такие девайсы группы -- то можно > повносить пользователей в них и повесить багу насчёт > s/600/660/; если не выставляет -- то бага и про группы, > и про права. > > В прошлом было полезно смотреть в /etc/security/console.perms, > в светлом будущем(tm) -- воевать с ConsoleKit, как понимаю. Это, скорее всего, и есть /etc/security/console.perms (pam_console) - в правилах udev есть вызов pam_console_apply. Сам по себе udevd не знает, какой пользователь куда залогинился. [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2008-12-09 18:49 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-12-08 23:06 Valentin Lavrinenko 2008-12-09 15:26 ` Michael Shigorin 2008-12-09 18:49 ` Sergey Vlasov [this message] 2008-12-10 8:09 ` Valentin Lavrinenko
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=20081209184952.GA7352@atlas.home \ --to=vsu@altlinux.ru \ --cc=community@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 Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git