ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] useradd in %post
@ 2008-11-27 18:42 Igor Vlasenko
  2008-11-27 21:18 ` Dmitry V. Levin
  0 siblings, 1 reply; 3+ messages in thread
From: Igor Vlasenko @ 2008-11-27 18:42 UTC (permalink / raw)
  To: devel

И еще тема для дискуссии в виде пакетов,
которые вызывают useradd в %post.

Это как бы и не ошибка, поскольку файлов/каталогов
псевдопользователю можно и не давать,
но перемещение этих вызовов в %pre было бы элегантнее 
и заодно дало бы защиту от дурака, 
возникни вдруг необходимость дать файл или каталог 
псевдопользователю.

Вот список.
cmdproxyd-0.1-alt2.x86_64
iftop-0.17-alt3.x86_64
kdenetwork-lisa-3.5.10-alt1.x86_64
nmicmpd-3.0.0-alt5.x86_64
popa3d-1.0.2-alt3.x86_64
portmap-6.0-alt1.x86_64
pound-2.4.3-alt1.1.x86_64
rsync-server-3.0.4-alt1.x86_64
scanlogd-2.2.6-alt2.x86_64
spamassassin-spamc-3.2.5-alt1.x86_64
talk-server-0.17-alt3.x86_64
tcpdump-3.9.7-alt1.x86_64
tftp-server-0.48-alt1.x86_64
vsftpd-2.0.6-alt1.x86_64


-- 

Dr. Igor Vlasenko
--------------------
Topology Department
Institute of Math
Kiev, Ukraine


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [devel] useradd in %post
  2008-11-27 18:42 [devel] useradd in %post Igor Vlasenko
@ 2008-11-27 21:18 ` Dmitry V. Levin
  2008-11-27 21:47   ` Igor Vlasenko
  0 siblings, 1 reply; 3+ messages in thread
From: Dmitry V. Levin @ 2008-11-27 21:18 UTC (permalink / raw)
  To: ALT Devel discussion list

[-- Attachment #1: Type: text/plain, Size: 1099 bytes --]

On Thu, Nov 27, 2008 at 08:42:47PM +0200, Igor Vlasenko wrote:
> И еще тема для дискуссии в виде пакетов,
> которые вызывают useradd в %post.
> 
> Это как бы и не ошибка, поскольку файлов/каталогов
> псевдопользователю можно и не давать,
> но перемещение этих вызовов в %pre было бы элегантнее 
> и заодно дало бы защиту от дурака, 
> возникни вдруг необходимость дать файл или каталог 
> псевдопользователю.

Есть псевдопользователи, которым никаких файлов или каталогов не может
принадлежать в принципе (by design).

Если делать проверку, то нужно обязательно учесть содержимое %files.

> Вот список.
> cmdproxyd-0.1-alt2.x86_64
> iftop-0.17-alt3.x86_64
> kdenetwork-lisa-3.5.10-alt1.x86_64
> nmicmpd-3.0.0-alt5.x86_64
> popa3d-1.0.2-alt3.x86_64
> portmap-6.0-alt1.x86_64
> pound-2.4.3-alt1.1.x86_64
> rsync-server-3.0.4-alt1.x86_64
> scanlogd-2.2.6-alt2.x86_64
> spamassassin-spamc-3.2.5-alt1.x86_64
> talk-server-0.17-alt3.x86_64
> tcpdump-3.9.7-alt1.x86_64
> tftp-server-0.48-alt1.x86_64
> vsftpd-2.0.6-alt1.x86_64

Там должно быть всё в порядке.


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [devel] useradd in %post
  2008-11-27 21:18 ` Dmitry V. Levin
@ 2008-11-27 21:47   ` Igor Vlasenko
  0 siblings, 0 replies; 3+ messages in thread
From: Igor Vlasenko @ 2008-11-27 21:47 UTC (permalink / raw)
  To: ALT Linux Team development discussions

On Fri, Nov 28, 2008 at 12:18:27AM +0300, Dmitry V. Levin wrote:
> Есть псевдопользователи, которым никаких файлов или каталогов не может
> принадлежать в принципе (by design).
> Если делать проверку, то нужно обязательно учесть содержимое %files.
> Там должно быть всё в порядке.

Да, там все чисто.
user in root,
group in adm,root,wheel

-- 

Dr. Igor Vlasenko
--------------------
Topology Department
Institute of Math
Kiev, Ukraine


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-11-27 21:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-27 18:42 [devel] useradd in %post Igor Vlasenko
2008-11-27 21:18 ` Dmitry V. Levin
2008-11-27 21:47   ` Igor Vlasenko

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git