From: "Alexey V. Lubimov" <avl@l14.ru> To: sisyphus@altlinux.ru Subject: Re: [sisyphus] poweroff и reboot от юзера. Date: Wed, 19 Mar 2003 17:32:35 +0300 Message-ID: <20030319173235.49f22a6b.avl@l14.ru> (raw) In-Reply-To: <20030319103344.GD28628@basalt.office.altlinux.org> > > я так понимаю, на нем должен стоять suid в таком варианте. > > Ну вы же не станете так делать, верно? да уж не хочется. > > > Что это за новые чудеса? Неужели они работают? > > > > кто они? у меня гном2 и рокс выключают компьютер, как положено, без перехода в gdm. > > Но gnome-session пришлось пеесобрать, благо это несложно. > > Посредством какой привилегированной программы? sudo положил в /usr/bin скриптики poweroff и reboot с содержимым вида: #!/bin/sh sudo -x /sbin/poweroff и пересобрал gnome-session c этими командами. И все таки хотелось бы один раз написать такой враппер (с проверками) и сделать его для всех, потому что аналогичные проблемы есть во всех менеджерах и хотелось бы иметь в дистре решение этой проблемы. > > > > Вообще-то есть ещё пакет SysVinit-usermode. > > > > смотрел я на него. Какая то странная вещь. Как ее использовать я так и не понял. > > Ставите и используете. не получилось. но с этим ладно. -- С уважением, Алексей Любимов avl@cad.ru
prev parent reply other threads:[~2003-03-19 14:32 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-03-18 22:05 "Алексей Любимов" 2003-03-18 22:11 ` Dmitry V. Levin 2003-03-18 23:06 ` "Алексей Любимов" 2003-03-19 10:33 ` Dmitry V. Levin 2003-03-19 14:32 ` Alexey V. Lubimov [this message]
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=20030319173235.49f22a6b.avl@l14.ru \ --to=avl@l14.ru \ --cc=sisyphus@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 Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git