Vie^.c la` the^' na`y:
DDa^y la` mo^.t soft dde^? config he^. tho^ng qua giao
die^.n web. Nhu+ng tre^n web thi` no' cha.y vo+'i user
nobody va` do ddo' dde^? thu+.c hie^.n ca'c le^.nh
cu?a he^. tho^'ng tu+o+ng ta'c vo+'i ca'c file ma`
root mo+'i co' quye^`n ghi xo'a thi` mi`nh dda~ pha?i
la`m nhu+ sau:
system("rsh -l root localhost command");
Vo+'i config giu+~ nguye^n, Tu+. nhie^n 5.2 ddo^?i
sang freeBSD 5.3 thi` no' la.i gio+? chu+'ng nhu+ sau:
testserver# rsh localhost echo Hello
connect to address ::1: Connection refused
Trying 127.0.0.1...
Hello

Mi`nh cha.y rsh tho^ng qua inetd.

Mi`nh ra^'t muo^'n la`m mo^.t ca'i web interface
tu+o+ng tu+. ca'i vnlinux-secure nhu+ cu?a anh Larry,
du`ng https, xa'c thu+.c login kho^ng ca^`n pam chu+'
kho^ng pha?i xa`i .htaccess nhu+ng kho^ng bie^'t la`m
the^' na`o.
Ra^'t mong ddu+o+.c giu'p ddo+~.
Xin ca'm o+n.
Manh Cuong.

--- Nguyen Thanh Bien <[EMAIL PROTECTED]> wrote:

> Hi Cu+o+`ng !
> Ta.i sao pha?i du`ng qua rsh ma` kho^ng du`ng
> tha(?ng ca'c ha`m
> tu+o+ng ddu+o+ng cu?a perl. Ne^'u muo^'n cha.y
> le^.nh he^. tho^'ng,
> ta.i sao kho^ng du`ng ha`m system ??
> Mi`nh ddoa'n nhe': muo^'n cha.y qua rsh va`o local
> system or remote
> system nhu+ mo^.t user kha'c vo+'i apache hay www
> hoa(.c nobody user
> (user cu?a httpd daemon) ??
> Ne^'u muo^'n du`ng ssh thi` cha('c cu~ng the^'
> tho^i, su+? du.ng ssh
> command, vo+'i ca'c tham so^' chi? ra user (-l),
> private key cho user
> (-i), va` le^.nh he^. tho^'ng ca^`n thu+.c hie^.n:
> 
>


                
__________________________________ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 



-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
VietLUG-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/vietlug-users

Trả lời cho