ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Denis S. Filimonov" <den@academ.org>
To: community@altlinux.ru
Subject: Re: [Comm] Будильник
Date: Wed, 5 Nov 2003 10:18:44 +0600
Message-ID: <200311051018.45369.den@academ.org> (raw)
In-Reply-To: <200311050908.51639.therion@pochta.ru>

On Wednesday 05 November 2003 10:08, therion wrote:
> В сообщении от 4 Ноябрь 2003 15:58 Denis S. Filimonov написал(a):
> > > OK завтра дам ответ :)
> > > Воспользуюсь предложением, кстати, вопрос, - ls информацию
> > > выкидывает в stdout (по умолчанию) т.е. надо нечто такое ls -l
> > > /dev/dsp > /home/user/redme.txt или же сообщение можно будет
> > > просмотреть где нибудь в /var/mail/user
> >
> > и так и так можно, если задача, порожденная кроном чего-то
> > вываливает на stdout или stderr, он оправляет это по почте.
>
> Ну что же, все понемногу начинает проясняться. От root, кстати задача
> отрабатывает (может быть до этого как-то неудачно файл конфигурации
> написал). До того как пользователь зашел в систему имеем следующее:
> crw-rw----    1 root     audio     14,   3 Jan 20  2003 /dev/dsp
> (владелец root, группа audio) после того как произойдет регистрация,
> владелец меняется (видимо в соответствии с файлом console.perm)
> crw-rw----    1 user  audio     14,   3 Jan 20  2003 /dev/dsp
>
> Насколько я понимаю, самым простым вариантом в данной ситуации будет
> занесение user в группу audio ? Еще такой вопрос: можно ли как-нибудь
да, конечно.

> разрешить обычному пользователю отключение и перезагрузку компьютера
> с помощью консольных утилит: reboot, shutdown, poweroff без
> дополнительного ввода пароля для root. Последнее попытался решить
> разрешением на запуск перечисленных утилит для всех пользователей
> (тоже не хорошо, но все равно не помогло), а также редактированием
> файлов в каталоге /etc/security/console.apps. Ни то ни другое не
> помогло. Благодарю за помощь.
наверно правильнее всего через sudo, его можно заставить не требовать 
пароль.

-- 
Sincerely,
Denis.


  reply	other threads:[~2003-11-05  4:18 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-03  3:42 therion
2003-11-03  9:08   ` therion
2003-11-03  9:49     ` Denis S. Filimonov
2003-11-03 11:23       ` therion
2003-11-03 11:41         ` Denis S. Filimonov
2003-11-04  3:10           ` therion
2003-11-04  5:44             ` Denis S. Filimonov
2003-11-04  6:16               ` therion
2003-11-04  6:26                 ` Denis S. Filimonov
2003-11-04  6:47                   ` therion
2003-11-04 10:58                     ` Denis S. Filimonov
2003-11-05  4:08                       ` therion
2003-11-05  4:18                         ` Denis S. Filimonov [this message]
2003-11-03 10:29     ` Andrey Golovin
2003-11-03 11:03       ` therion

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=200311051018.45369.den@academ.org \
    --to=den@academ.org \
    --cc=community@altlinux.ru \
    /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