[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-devel:09382] Re: dh_suidregister



At Wed, 2 Jun 1999 17:43:00 +0900,
Takao KAWAMURA <kawamura@debian.or.jp> wrote:
 
> > 	dh_fixperms
> > 	chmod 4755 ./debian/tmp/usr/bin/dviout
> > 	dh_suidregister
> > 
> > ã®ã‚ˆã†ãªã“ã¨ã‚’ã—ã¦ã¿ãŸã®ã§ã™ãŒä½•ã‹å¤‰ãªæ°—ãŒã—ã¾ã™ã€‚
> 
> ã‚ã£ã¦ã„ã‚‹ã‚“ã˜ã‚ƒãªã„ã‹ãªã€‚ã‚ã¨ã€debian/suidã«
> usr/bin/dvioutã®1行を入れã¦ãŠã‘ã°ã€‚

ãã†ã§ã™ã­ã€‚
dh_fixperms ãŒãれ以å‰ã«è¨­å®šã—㟠suid/sgid を消ã—ã¦ã—ã¾ã†
ã¯ãšãªã®ã§ã€ãã®å¾Œã§å¿…è¦ãªã‚‚ã®ã‚’ suid/sgid ã™ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚
(see also dh_fixperms(1) 㨠/usr/doc/debhelper/changelog.gz ã® 1.2.24 ã‚ãŸã‚Š
 ã‚㨠dh_suidregister(1)ã«ã¯ dh_suidregister ã™ã‚‹å‰ã« manual 㧠suid/sgid ã—ã‚
 ã¨ã‚‚ã‚ã‚Šã¾ã™)

> > ã¾ãŸ postinst ã§ãªã•ã‚Œã¦ã‚‹ /etc/suid.conf ã®è¨­å®š
> > ã¯ã©ã‚“ãªæ„味ãŒã‚ã‚‹ã®ã§ã—ょã†ï¼Ÿ
> 
> suidã‚„sgidã®çŠ¶æ…‹ãŒ/etc/suid.confã¨ã„ã¤ã®ã¾ã«ã‹é•ã£ã¦ã„ãŸã‚‰
> cron経由ã®ãƒ¡ãƒ¼ãƒ«ã§rootãŒå¯ŸçŸ¥ã§ãる…ã¨ã„ã†ã“ã¨ã‚’実ç¾ã™ã‚‹ãŸã‚

ãã†ã§ã™ãŒã€

> ã ã¨æ€ã„ã¾ã™ã€‚クラックã®æã‚Œã‚ã‚Šã¨ã„ã†ã“ã¨ã§ã€‚

クラックãƒã‚§ãƒƒã‚¯ã™ã‚‹ãŸã‚ãªã‚‰ã€æœ¬æ¥ suid/sgid ã•ã‚Œã¦ãªã„ã‚‚ã®ãŒ
ã•ã‚Œã¦ã„ã‚‹ã‹ã©ã†ã‹ã‚’ãƒã‚§ãƒƒã‚¯ã™ã¹ãã¯ãšã§ã™ãŒã€ãã“ã¾ã§ã¯
ã‚„ã£ã¦ã„ãªã„よã†ã§ã™ã­â€¦ > suidregister

-- 
鵜飼文æ•