From: Pavlov Konstantin <thresh@altlinux.ru>
To: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] блокировка файла shadow
Date: Wed, 10 Oct 2007 16:13:44 +0400
Message-ID: <20071010121344.GF16584@cryo.net.ru> (raw)
In-Reply-To: <200710101615.41023.ashen@nsrz.ru>
[-- Attachment #1: Type: text/plain, Size: 1140 bytes --]
On Wed, Oct 10, 2007 at 04:15:40PM +0400, Алексей Шенцев wrote:
> В сообщении от Wednesday 10 October 2007 16:05:58 Алексей Шенцев написал(а):
> > В сообщении от Wednesday 10 October 2007 15:55:04 Алексей Шенцев написал(а):
> > > В сообщении от Wednesday 10 October 2007 15:43:00 Pavlov Konstantin
> > >
> > > написал(а):
> > > > Проверьте права на /etc/tcb/awstats/shadow*
> > > > Только сегодня наткнулся, что они почему-то были root:shadow в одном из
> > > > 4.0 VPS.
> > >
> > > а нет такого /etc/tcb/awstats ...
> >
> > зато есть такое:
> > [root@gw /]# id awstats
> > uid=114(awstats) gid=432 группы=432
> > [root@gw /]#
>
> Выкрутился так: восстановил /etc/tcb/awstats из резервной копии /etc,
> установив chwon root:root /etc/tcb/awstats и спокойно удалил его из системы.
> А вот как быть, если бы не было у меня резервной копии (да и та что есть не
> корректно мной сделана)?
Посмотреть на strace id awstats и догадаться, что кое-какая информация
может быть в /etc/passwd и /etc/group.
--
Ваши желания не означают необходимости их реализации так, как Вам
это представляется.
-- zerg in devel@
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2007-10-10 12:13 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-10 7:35 Алексей Шенцев
2007-10-10 7:41 ` Avramenko Andrew
2007-10-10 11:32 ` Алексей Шенцев
2007-10-10 11:36 ` Avramenko Andrew
2007-10-10 11:38 ` Dmitry V. Levin
2007-10-10 11:53 ` Алексей Шенцев
2007-10-10 12:08 ` Avramenko Andrew
2007-10-10 19:07 ` Michael Shigorin
2007-10-10 21:25 ` Dmitry V. Levin
2007-10-11 5:16 ` Алексей Шенцев
2007-10-11 8:34 ` Michael Shigorin
2007-10-10 11:43 ` Pavlov Konstantin
2007-10-10 11:55 ` Алексей Шенцев
2007-10-10 12:05 ` Алексей Шенцев
2007-10-10 12:09 ` Avramenko Andrew
2007-10-10 12:15 ` Алексей Шенцев
2007-10-10 12:13 ` Pavlov Konstantin [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=20071010121344.GF16584@cryo.net.ru \
--to=thresh@altlinux.ru \
--cc=sysadmins@lists.altlinux.org \
/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 sysadmins discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
public-inbox-index sysadmins
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sysadmins
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git