[Iohack-users 122] Re: gphoto2 on USL-5P

Zurück zum Archiv-Index

きんねこ kinne****@po*****
2005年 1月 27日 (木) 21:09:22 JST


きんねこ@金沢です。

On 2005/01/26, at 13:16, Junichi Akita wrote:

> 秋田と申します。
>
> 試行錯誤の過程も含めて、USP-5Pをいじるときの備忘録を
> ひととおりまとめてみましたので、ご報告します。

 > が、実行時にこのwarningが原因と思われるwarningが出てしまう。 なんで?とりあえず気にしない。

   "Using fallback suid method" でしょうか。

   もしそうなら、これは、/etc/busybox.conf に設定を書く必要があります。

    使い方は menuconfig のヘルプに埋まっているそうです。# そんなの見てないって...

   それだけではなんですので、引用しておきます。

config CONFIG_FEATURE_SUID_CONFIG
	bool "Runtime SUID/SGID configuration via /etc/busybox.conf"
	default y if CONFIG_FEATURE_SUID
	depends on CONFIG_FEATURE_SUID
	help
	  Allow the SUID / SGID state of an applet to be determined runtime by
	  checking /etc/busybox.conf.  The format of this file is as follows:

	  <applet> = [Ssx-][Ssx-][x-] (<username>|<uid>).(<groupname>|<gid>)
	
	  An example might help:

	  [SUID]
	  su = ssx root.0 # applet su can be run by anyone and runs with 
euid=0/egid=0
	  su = ssx        # exactly the same

	  mount = sx- root.disk # applet mount can be run by root and members 
of group disk
	                        # and runs with euid=0

	  cp = --- # disable applet cp for everyone

	  Robert 'sandman' Griebl has more information here:
	  <url: http://www.softforge.de/bb/suid.html >.

   --- を設定してみたりしたのですが、 uid.gid がないと怒られた。なんでだろう。
  なんか書式をまだよく理解してません。

   ほかにも httpd.conf の書き方は httpd.c に埋まっているものしかないみたいだし。
  それも、かなり独特の設定だったりするし。

   しかし、1FD Linux で遊んでいた頃(0.5 とか 0.6 とかだったかな) と違って、
  tinylogin もほとんど不要になって、httpd や telnetd も入って(inetdまでい
  る)かなり便利になりましたね。あと、ftpd があれば、ほとんど何かするのには十分に
  なっています。





Iohack-users メーリングリストの案内
Zurück zum Archiv-Index