From: "Вячеслав Диконов" <sdiconov@mail.ru>
To: mandrake-russian@altlinux.ru
Subject: [mdk-re] Sudo
Date: Sun Mar 24 11:44:02 2002
Message-ID: <1016959163.4471.15.camel@linuxbox.800n> (raw)
Message-ID: <20020324114402.CILbQRpNdMuq44blLm0Bd3jLOW5C20nJL5_XSHW3-Hw@z> (raw)
In-Reply-To: <20020322134214.DD3B02C4C@linux.ru.net>
Можно ли заставить sudo НИКОГДА не спрашивать пароля? Это нужно для
использования в меню, скриптах и тому подобных случаях.
Есть у меня чудесный эмулятор игровой приставки Sony Playstation -
ePSXe. Работает весьма достойно, но чтобы играть приставкины диски он
делает mount. Mount же (по умолчанию) разрешен только руту. Получается,
что играть в приставочные игры и смотреть телевизор на полном экране
опять может только root. Неужели нет правильного (БЕЗ НАБИРАНИЯ ПАРОЛЕЙ,
особенно в терминале) способа запуска таких приложений? Ведь
пользователем работать невозможно оказывается. Как сами авторы дистрибутива
и его его политик поступили бы? Я пока вынужден писать скрипты для каждой
программы, которые читают общий конфиг, в котором содержится пароль
в виде открытого текста. На этом и кончается вся хвалёная "безопасность".
Может это в BTS поместить надо? Искомый способ должен гарантированно работать
в post-install скриптах RPM пакетов и позволять пользователю запускать игры
и разлекаловку из меню как нормальному человеку.
(Нажал - получил да не ошибку, а результат).
Напомню, что совет сделать программу suid root не поможет, так как в
этом случае получим "This is not intended use of GTK+... Error", и
она не запустится.
next parent reply other threads:[~2002-03-24 11:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-24 11:43 ` Вячеслав Диконов [this message]
2002-03-24 11:44 ` Вячеслав Диконов
2002-03-24 12:07 ` Sergey Degtyaryov
2002-03-24 17:16 ` Любимов А.В.
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=1016959163.4471.15.camel@linuxbox.800n \
--to=sdiconov@mail.ru \
--cc=mandrake-russian@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