On Sun, 14 Nov 2004 23:19:46 -0800 (PST), Manh Cuong <[EMAIL PROTECTED]> wrote:
> 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");
thi` vo+'i ssh la` system("ssh -l root -i <your private key> localhost
command");
Pha?i cho.n phu+o+ng thu+'c du`ng private/public key dde^? login vi`
ne^'u du`ng username/password thi` ssh no' se~ ho?i ai password dda^y
? ;)
> 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...
Xem la.i man page cu?a no' coi, hay la` thu+? thay ba(`ng rexec xem,
ma` mi`nh kho^ng bie^'t tre^n FreeBSD co' rexec kho^ng nu+~a ;)
> 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.
Kho^ng hie^?u y' Cu+o+`ng: kho^ng ca^`n pam, kho^ng du`ng .htaccess
thi` du`ng nhu+~ng thu+' kha'c, du`ng mo^.t database rie^ng cha(?ng
ha.n, ro^`i user qua?n ly' trong database ddo' chu+' kho^ng pha?i la`
OS users, qua ddo' mi`nh co`n co' the^? ddi.nh nghi~a ddu+o+.c nhie^`u
thu+' ho+n nhu+: o^ng A thi` co' quye^`n na`y, ba` B thi` co' quye^`n
kia (quye^`n thao ta'c tre^n giao die^.n web cu?a Cu+o+`ng tho^i)
Have Phun !
-------------------------------------------------------
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