[Armadillo:04988] Re^2: Re: 個別のftpアカウントを作成する方法を教えてください。

email@hidden
2010年 2月 23日 (火) 11:19:05 JST


$B9B^<MM(B

  $B$$$D$b$*@$OC$K$J$C$F$*$j$^$9!#(B

ftp$B$,9T$($k%f!<%6%"%+%&%s%H$N:email@hidden$O!"(B
$B$&$^$/9T$($^$7$?!#(B
$B$$$m$$$m$H$"$j$,$H$&$4$6$$$^$7$?!#(B

$B<!$N%9%F%C%W$N$4<ALd$,$"$j$^$9!#(B

$B2<5-$NNc$G$9$,!"(B
Armadillo$B>e$K(Bftp$B$,9T$($k%f!<%6$r:email@hidden$7$^$9!#(B
$B$=$N%f!<%6$N(Bhome$B%G%#%l%/%H%j%#G[2<$G(B
$B%U%!%$%k$rAw<u?.8e$K!"$"$k=hM}$r$9$k%"%W%j$r(B
$B$=$N%f!<%6$N(Bhome$B%G%#%l%/%H%j%#G[2<$G<B9T$9$k!#(B
$B$3$NMM$JF0:n4D6-$r9=C[$7$h$&$H$7$F$^$9!#(B

$B%f!<%6L>(B  : mysystem
home      : /home/mysystem
$B<B9T%"%W%j(B: my_apl
$B%G%#%l%/%H%j%#9=@.!'(B
 /home
   |
  /mysystem
     |
     +--- /bin
     |      $B"(<B9T%"%W%j3JG<%U%)%k%@(B
     |        $B!JDj5A%U%!%$%k$b4^$`!K(B
     |      my_apl
     |      my_sh
     |      settei.dat
     |
     +--- /SENDDIR
     |      $B"(Aw?.MQ%U%!%$%k3JG<%U%)%k%@(B
     |
     +--- /RECVDIR
     |      $B"(Aw?.MQ%U%!%$%k3JG<%U%)%k%@(B
     |
     +--- /tmp
     |      $B"(%F%s%]%i%j%#%U%)%k%@(B


my_apl $B$O!"(BC$email@hidden$K$F:email@hidden$7$^$9!#(B
$B!JI,MW$K1~$8$F!"(Bmy_sh $B$N%7%'%k%9%/%j%W%H$b:email@hidden=Dj!K(B

$B>e5-$N4D6-$r(B dist $B$K$F:email@hidden$7!"$=$N%$%a!<%8$r(B
Armadillo$B$K=q$-9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~$K(B
  /home/atmark/atmark-dist/vendors/AtmarkTechno/Armadillo-220.Base $BG[2<$K(B
$B!!%G%#%l%/%H%j%#$r:email@hidden$7$?!#(B
   mkdir /home/mysystem/bin
   mkdir /home/mysystem/SENDDIR
   mkdir /home/mysystem/RECVDIR
   mkdir /home/mysystem/tmp
$B!&>e5-$r:email@hidden!"(B
  /home/atmark/atmark-dist/vendors/AtmarkTechno/Armadillo-220.Base/etc/init.d/rc
  $B$N%U%!%$%k$K!"0J2<$rDI2C$7$F!"8"8B$d%Q!<%_%C%7%g%s$rIUM?$7$?!#(B
   chown xxxx /home/mysystem/bin
   chmod xxxx /home/mysystem/bin
   chown xxxx /home/mysystem/SENDDIR
   chmod xxxx /home/mysystem/SENDDIR
     $B!&(B
     $B!&(B
$B!&(Bdist $B>e$K:email@hidden$7$?%G%#%l%/%H%j%#$K(B
  /home/atmark/atmark-dist/vendors/AtmarkTechno/Armadillo-220.Base/home/mysystem/bin $BG[2<$K(B
$B!!(Bmy_apl$B!"(Bmy_sh$B!"(Bsettei.dat $B$r<jF0$G%3%T!<$7!"(B
  /home/atmark/atmark-dist/vendors/AtmarkTechno/Armadillo-220.Base/etc/init.d/rc
  $B$N%U%!%$%k$K$F!"F1MM$K!"8"8B$d%Q!<%_%C%7%g%s$rIUM?$7$?!#(B
   chmod xxxx /home/mysystem/bin/my_apl
   chmod xxxx /home/mysystem/bin/my_sh
   chmod xxxx /home/mysystem/bin/settei.dat

$B$^$:$O!">e5-$NJ}K!$O!"@5$7$$J}K!$+$I$&$+$G$9!#(B
$B$=$l$+$i!"@5Ev$J<jK!$H!"(Bmakefile$B$G$I$3$^$G9T$&;v$,=PMh$k$N$+$,(B
$B%^%K%e%"%k$+$i$O!"?d;!$G$-$J$$>uBV$G$9!#(B

$B:G8e$K!"#1E@$G$9$,!"(B
$B%^%K%e%"%k!X3+H/<T%,%$%I!Y$N!X(B10.3.4.$B%"%W%j%1!<%7%g%s$NA*Br!Y$G$9$,!"(B
$B;d$N9T$C$?J}K!$G$9$H!":email@hidden$7$?%"%W%j$O!"2hLL$KI=<($5$l$^$;$s!#(B
$B$3$N>O$G9T$&9T0Y$O!"(BArmadillo$B>e$G<B9T$9$k%"%W%j$K(B
$BI,$:!"I,MW$J<jB3$-$J$N$G$7$g$&$+!)(B


$B0J>e!"$h$m$7$/$465<x4j$$$^$9!#(B



> $B9B^<$G$9!#(B
> 
> > ftp$B$,9T$($k%f!<%6%"%+%&%s%H$N:email@hidden$,!"$o$+$j$^$;$s!#(B
> > $B$A$J$_$K!"(B
> > atmark-dist/vendors/AtmarkTechno/Armadillo-220.Recover/
> > $B0J2<$K$F!"(B"ftp"$B$G(Bgrep$B$7$F$_$^$7$?$,!"%R%C%H$7$^$;$s$G$7$?!#(B
> > Armadillo-220.Base/$B!!0J2<$b!"3:Ev$J$7$G$7$?!#(B
> 
> grep$B$O%*%W%7%g%sL5$7$G<B9T$9$k$H;XDj$7$?%U%!%$%k$=$N$b$N$7$+8!:w$NBP>]$K(B
> $B$7$^$;$s!#(B
> 
> -r(--recursive)$B%*%W%7%g%s$rIU$1$k$H;XDj$7$?%G%#%l%/%H%j0J2<A4$F$N%U%!%$(B
> $B%k$r:F5"E*$K8!:w$7$^$9!#(B
> 
> [pc]$ cd atmark-dist-20090318/vendors/AtmarkTechno/Armadillo-220.Recover
> [pc]$ grep -r ftp .
> ./etc/passwd:ftp:x:501:501::/home/ftp:
> ./etc/init.d/rc:/etc/init.d/checkftp
> ./etc/init.d/rc:iptables -A INPUT -i $PRIMARY_IF -p tcp -d 0/0 --dport
> ftp   -j ACCEPT
> ./etc/init.d/rc:iptables -A INPUT -i $PRIMARY_IF -p tcp -d 0/0 --dport
> ftp-data   -j ACCEPT
> ./etc/inetd.conf:ftp    stream  tcp     nowait  root    /bin/ftpd
>        ftpd -l
> ./etc/services:ftp-data 20/tcp
> ./etc/services:ftp              21/tcp
> ./etc/services:tftp             69/udp
> ./etc/services:sftp             115/tcp
> ./etc/services:venus-se 2431/udp                        # udp sftp side
> effect
> ./etc/services:codasrv-se       2433/udp                        # udp
> sftp side effect
> ./etc/ssh/sshd_config:Subsystem sftp    /usr/libexec/sftp-server
> ./etc/gshadow:ftp:!::
> ./etc/shadow:ftp:!:1:0:99999:7:::
> ./etc/group:ftp:x:501:
> ./Makefile:          home home/ftp home/ftp/etc home/ftp/bin \
> ./Makefile:          home/ftp/lib home/ftp/pub \
> ./Makefile:     LS_REAL=/bin/busybox $(TOOLS_DIR)/create-checkftp.sh
> 
> > $B2>$K(B"ftp"$B$,!"8+$D$+$C$?$H$7$F!"(B
> > $B$=$N8e$K!"$I$N$h$&$J<j=g$r$U$a$P$h$m$7$$$N$G$7$g$&$+!)(B
> 
> ftp$B%f!<%6$H$7$FDj5A$7$F$$$k$b$N(B(etc/shadow, etc/group)$B$rDI2C$7$^$9!#(B
> ftp$B%W%m%H%3%k$d%W%m%0%i%`$H$7$FDj5A$7$F$$$k$b$N(B(etc/inetd.conf,
> etc/ssh/ssh_config)$B$ODI2C$NI,MW$,$"$j$^$;$s!#(B





armadillo メーリングリストの案内