ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Alex Yustasov <snmon@server.by>
To: ALT Linux Sisyphus mailing list <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] Права доступа на su и passwd
Date: Fri, 17 Jan 2003 11:45:40 +0200
Message-ID: <20030117094540.GA3690@server.by> (raw)
In-Reply-To: <20030116170549.GA28723@basalt.office.altlinux.ru>

On Thu, Jan 16, 2003 at 08:05:49PM +0300, Dmitry V. Levin wrote:
> On Thu, Jan 16, 2003 at 07:01:35PM +0200, Alex Yustasov wrote:
> > > > После сгодняшнего обновления $rpm -Va выдал
> > > > 
> > > > .M......   /bin/su 
> > > > .M....G.   /usr/bin/passwd  
> > > > 
> > > > В *.rpm на эти файлы права -rwx------  root root
> > > > Раньше такого кажется не было.
> > > 
> > > Да, это было сделано совсем недавно, в
> > > su-0.60-alt15
> > > passwd-1.0.2-alt1
> > > 
> > > Пользуйтесь control(8).
> > > 
> > > Детали см. в lastchange.
> > 
> > Простите. А это правильно? ls -l ....
> > 
> > -rws--x---    1 root     wheel       19608 Янв 12 21:53 /bin/su
> > -rwx--s--x    1 root     shadow       5672 Янв 12 20:28 /usr/bin/passwd
> 
> $ /usr/sbin/control su
> wheelonly
> $ ls -l /bin/su
> -rws--x---    1 root     wheel       19608 Янв 12 22:53 /bin/su
> 
> $ /usr/sbin/control passwd
> tcb
> $ ls -l /usr/bin/passwd 
> -rwx--s--x    1 root     shadow       5672 Янв 12 21:28 /usr/bin/passwd
> 
> Настоятельно рекомендую посмотреть control(8).

Посмотрел, кажется разобрался. Спасибо.
Только если su по умолчанию будет ставится wheelonly, может быть
в su.rpm тоже поставить такие владельца, группу и права, чтобы 
rpm -V молчал.


  reply	other threads:[~2003-01-17  9:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-16 15:46 Alex Yustasov
2003-01-16 15:50 ` Dmitry V. Levin
2003-01-16 17:01   ` Alex Yustasov
2003-01-16 17:05     ` Dmitry V. Levin
2003-01-17  9:45       ` Alex Yustasov [this message]
2003-01-17 12:41         ` Dmitry V. Levin

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=20030117094540.GA3690@server.by \
    --to=snmon@server.by \
    --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