* [Comm] init
@ 2003-04-17 23:02 Oleg Tsymaenko
2003-04-18 4:06 ` Alexei Bayguzov
2003-04-18 15:26 ` Vitaly Lipatov
0 siblings, 2 replies; 7+ messages in thread
From: Oleg Tsymaenko @ 2003-04-17 23:02 UTC (permalink / raw)
To: community
Поставил Master 2.2 (4CD)
пишу
[a@a a]$ /sbin/init 3
не пашет....
пишу
ls -l /sbin/init
получаю :
-rwx------
Это как? Это почему? Это зачем?
--
Oleg Tsymaenko <tsyma@lafox.com.ua>
http://lafox.net/
LA4791-RIPE TO2-UANIC
GnuPG Key ID 203AED52
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Comm] init
2003-04-17 23:02 [Comm] init Oleg Tsymaenko
@ 2003-04-18 4:06 ` Alexei Bayguzov
2003-04-18 15:26 ` Vitaly Lipatov
1 sibling, 0 replies; 7+ messages in thread
From: Alexei Bayguzov @ 2003-04-18 4:06 UTC (permalink / raw)
To: community
On Fri, 18 Apr 2003 02:02:20 +0300
Oleg Tsymaenko <ts@lafox.com.ua> wrote:
> Поставил Master 2.2 (4CD)
> пишу
> [a@a a]$ /sbin/init 3
> не пашет....
>
> пишу
> ls -l /sbin/init
> получаю :
> -rwx------
>
> Это как? Это почему? Это зачем?
init скрипты, доступны только руту, а никак не пользователю.
IMHO ето правильно :)
С уважением,
Алексей
----------------------------------------
Alexei V. Bayguzov
E-mail: mrbond@itc.nstu.ru
----------------------------------------
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Comm] init
2003-04-17 23:02 [Comm] init Oleg Tsymaenko
2003-04-18 4:06 ` Alexei Bayguzov
@ 2003-04-18 15:26 ` Vitaly Lipatov
2003-04-18 15:53 ` Oleg Tsymaenko
1 sibling, 1 reply; 7+ messages in thread
From: Vitaly Lipatov @ 2003-04-18 15:26 UTC (permalink / raw)
To: community
On 18 Апрель 2003 03:02, Oleg Tsymaenko wrote:
> Поставил Master 2.2 (4CD)
> пишу
> [a@a a]$ /sbin/init 3
> не пашет....
>
> пишу
> ls -l /sbin/init
> получаю :
> -rwx------
>
> Это как? Это почему? Это зачем?
Вы бы хотели, чтобы пользователь менял runlevel?
--
Lav
Виталий Липатов
Санкт-Петербург
GNU! ALT Linux Team! LaTeX! LyX!
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Comm] init
2003-04-18 15:26 ` Vitaly Lipatov
@ 2003-04-18 15:53 ` Oleg Tsymaenko
2003-04-18 16:12 ` Vitaly Lipatov
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Oleg Tsymaenko @ 2003-04-18 15:53 UTC (permalink / raw)
To: community
> Вы бы хотели, чтобы пользователь менял runlevel?
Мнебы очень хотелось чтобы локальный пользователь мог менять runlevel
--
Oleg Tsymaenko <tsyma@lafox.com.ua>
http://lafox.net/
LA4791-RIPE TO2-UANIC
GnuPG Key ID 203AED52
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Comm] init
2003-04-18 15:53 ` Oleg Tsymaenko
@ 2003-04-18 16:12 ` Vitaly Lipatov
2003-04-18 16:20 ` Dmitry Lebkov
2003-04-25 12:38 ` [Comm] init Valentin Nechayev
2 siblings, 0 replies; 7+ messages in thread
From: Vitaly Lipatov @ 2003-04-18 16:12 UTC (permalink / raw)
To: community
On 18 Апрель 2003 19:53, Oleg Tsymaenko wrote:
> > Вы бы хотели, чтобы пользователь менял runlevel?
>
> Мнебы очень хотелось чтобы локальный пользователь мог менять
> runlevel
Тогда вы вольны разрешить ему это через sudo
--
Lav
Виталий Липатов
Санкт-Петербург
GNU! ALT Linux Team! LaTeX! LyX!
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Comm] init
2003-04-18 15:53 ` Oleg Tsymaenko
2003-04-18 16:12 ` Vitaly Lipatov
@ 2003-04-18 16:20 ` Dmitry Lebkov
2003-04-25 12:38 ` [Comm] init Valentin Nechayev
2 siblings, 0 replies; 7+ messages in thread
From: Dmitry Lebkov @ 2003-04-18 16:20 UTC (permalink / raw)
To: community
On Fri, 18 Apr 2003 18:53:27 +0300
Oleg Tsymaenko <ts@lafox.com.ua> wrote:
> > Вы бы хотели, чтобы пользователь менял runlevel?
> Мнебы очень хотелось чтобы локальный пользователь мог менять runlevel
man sudo
--
WBR, Dmitry Lebkov
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Comm] Re: init
2003-04-18 15:53 ` Oleg Tsymaenko
2003-04-18 16:12 ` Vitaly Lipatov
2003-04-18 16:20 ` Dmitry Lebkov
@ 2003-04-25 12:38 ` Valentin Nechayev
2 siblings, 0 replies; 7+ messages in thread
From: Valentin Nechayev @ 2003-04-25 12:38 UTC (permalink / raw)
To: community
VL>> Вы бы хотели, чтобы пользователь менял runlevel?
И это рассматривается в качестве причины таких прав на init?
OK, ставим ALT на произвольный тазик, копируем оттуда init, запускаем...
и вот права менять runlevel? Я не думаю, что авторы дистрибутива столь
глупы, как это представляет автор этой реплики ;)
Там ведь даже suid'а нет, просто 0700 (-rwx------)
Тем более, что вот с хоста с ALM 2.0 что видно -
$ ls -l /sbin/init
-rwxr-xr-x 1 root root 27880 Feb 28 2002 /sbin/init
На самом деле telinit отрабатывается не через права на /sbin/init,
а через нормальный IPC:
$ ls -l /dev/initctl
prw------- 1 root root 0 Apr 20 18:40 /dev/initctl
Так что если у установки 0700 на init была причина, то она совсем другая.
-netch-
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2003-04-25 12:38 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-17 23:02 [Comm] init Oleg Tsymaenko
2003-04-18 4:06 ` Alexei Bayguzov
2003-04-18 15:26 ` Vitaly Lipatov
2003-04-18 15:53 ` Oleg Tsymaenko
2003-04-18 16:12 ` Vitaly Lipatov
2003-04-18 16:20 ` Dmitry Lebkov
2003-04-25 12:38 ` [Comm] init Valentin Nechayev
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