|
|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Artem S. Ignatiev 2:5020/2395 06 Jun 2006 02:14:16 To : Slawa Olhovchenkov Subject : ssh фича --------------------------------------------------------------------------------
06 июн 06 01:21, ты слова All про всяких ssh фича:
SO> А все в курсе, что по ssh suid-бит копируется?
Hеа, не в курсе... Или это рутом надо?
[timon@timon timon]$ ls -ld test.pl
-rwxr-xr-x 1 timon timon 805 17 янв 2005 test.pl*
[timon@timon timon]$ su
Для вас есть почта.
timon# chown root test.pl
timon# chmod 6755 test.pl
timon# exit
[timon@timon timon]$ scp test.pl gate:
Password:
test.pl 100% 805 0.8KB/s 00:00
[timon@timon timon]$ ssh gate ls -l test.pl
Password:
-rwxr-xr-x 1 timon wheel 805 6 июн 02:13 test.pl
Здесь: FreeBSD 6.1-STABLE, Mon May 22 2006;
OpenSSH_4.2p1 FreeBSD-20050903, OpenSSL 0.9.7e-p1 25 Oct 2004
Там:
FreeBSD 4.8-RELEASE-p13, Sat Oct 18 2003;
sshd version OpenSSH_3.5p1 FreeBSD-20030924
ZaZooBred [team Бородатые] [ICQ: 67440949]
--- Я хожу, как дурак, без блокнота
* Origin: Ходи без блокнота как умный! (2:5020/2395)
Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/28314484aea2.html, оценка из 5, голосов 10
|