From: "Dmitry V. Levin" <ldv@fandra.org>
To: mandrake-russian@linuxteam.iplabs.ru
Subject: [mdk-re] Re: [mdk-re] вход под обычным пользователем
Date: Tue Jan 16 03:18:00 2001
Message-ID: <20010116032409.C3096@LDV.fandra.org> (raw)
In-Reply-To: <Pine.LNX.4.31L.0101142257340.4975-100000@zephyrous.ru>; from vanyaz@mccme.ru on Sun, Jan 14, 2001 at 11:02:55PM +0300
[-- Attachment #1: Type: text/plain, Size: 1476 bytes --]
On Sun, Jan 14, 2001 at 11:02:55PM +0300, Ivan Zakharyaschev wrote:
> > IZ> > > DVL> Что происходит, если сделать:
> > IZ> > > DVL> # useradd test; su - test
> > IZ> > >
> > IZ> > > [root@earth /]# useradd test; su - test
> > IZ> > > su: cannot run /bin/bash: Permission denied
> > IZ> > >
> > IZ> > > хм... то же самое что и при загрузке...
> > IZ> >
> > IZ> > А у Вас root filesystem случайно не noexec?
> > IZ> > Вообще, что в /etc/fstab?
> > IZ>
> > IZ> А что с правами на /bin?
> >
> > нормально вроде...
> > drwxr-xr-x 2 root root 4096 Jan 14 10:12 bin/
>
> А на /? :-)
>
> (Вопросы, конечно, смешные; думаю, что если что-то с этими правами было бы
> не так, то это была бы не единственная проблема. Любопытно стало. Сделав
> chmod o-rx / я добился той же ситуации, что и у Вас.)
Так и есть:
stat64("/dev/..", 0xbfffef50) = -1 EACCES (Permission denied)
Срочно верните "chmod +x /"; а у Вас какой, кстати, securelevel
установлен? Что говорит
# grep ^SECURITY= /etc/sysconfig/system |cut -d= -f2-
Regards,
Dmitry
+-------------------------------------------------------------------------+
Dmitry V. Levin mailto://ldv@fandra.org
Software Engineer PGP pubkey http://www.fandra.org/users/ldv/pgpkeys.html
IPLabs Linux Team http://linux.iplabs.ru
Fandra Project http://www.fandra.org
+-------------------------------------------------------------------------+
UNIX is user friendly. It's just very selective about who its friends are.
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
next prev parent reply other threads:[~2001-01-16 3:18 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-14 7:32 [mdk-re] ×ÈÏÄ ÐÏÄ ÏÂÙÞÎÙÍ ÐÏÌØÚÏ×ÁÔÅÌÅÍ Pavel Marakhovsky
2001-01-14 7:39 ` Yury Zotov
2001-01-14 8:21 ` Pavel Marakhovsky
2001-01-14 12:57 ` [mdk-re] USB PCMCIA craddles Maksim Otstavnov
2001-01-14 15:46 ` [mdk-re] Re: [mdk-re] вход под обычным пользователем Dmitry V. Levin
2001-01-14 16:06 ` [mdk-re] Re: [mdk-re] ×ÈÏÄ ÐÏÄ ÏÂÙÞÎÙÍ ÐÏÌØÚÏ×ÁÔÅÌÅÍ Pavel Marakhovsky
2001-01-14 16:16 ` [mdk-re] Re: [mdk-re] вход под обычным пользователем Dmitry V. Levin
2001-01-14 16:32 ` [mdk-re] Re: [mdk-re] ×ÈÏÄ ÐÏÄ ÏÂÙÞÎÙÍ ÐÏÌØÚÏ×ÁÔÅÌÅÍ Pavel Marakhovsky
2001-01-14 20:13 ` [mdk-re] Re: [mdk-re] вход под обычным пользователем Ivan Zakharyaschev
2001-01-14 20:33 ` [mdk-re] Re: [mdk-re] ×ÈÏÄ ÐÏÄ ÏÂÙÞÎÙÍ ÐÏÌØÚÏ×ÁÔÅÌÅÍ Pavel Marakhovsky
2001-01-15 0:03 ` [mdk-re] Re: [mdk-re] Re: [mdk-re] вход под обычным пользователем Ivan Zakharyaschev
2001-01-15 3:13 ` Dmitry V. Levin
2001-01-15 6:49 ` [mdk-re] Re: [mdk-re] ×ÈÏÄ ÐÏÄ ÏÂÙÞÎÙÍ ÐÏÌØÚÏ×ÁÔÅÌÅÍ Pavel Marakhovsky
2001-01-15 14:32 ` [mdk-re] Re: [mdk-re] вход под обычным пользователем Dmitry V. Levin
2001-01-15 19:40 ` [mdk-re] Re: [mdk-re] ×ÈÏÄ ÐÏÄ ÏÂÙÞÎÙÍ ÐÏÌØÚÏ×ÁÔÅÌÅÍ Pavel Marakhovsky
2001-01-16 3:18 ` Dmitry V. Levin [this message]
2001-01-16 5:59 ` Pavel Marakhovsky
2001-01-16 18:14 ` Pavel Marakhovsky
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=20010116032409.C3096@LDV.fandra.org \
--to=ldv@fandra.org \
--cc=mandrake-russian@linuxteam.iplabs.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