From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <44FC3B7E.505@altlinux.ru> Date: Mon, 04 Sep 2006 17:43:10 +0300 From: Andrei Bulava User-Agent: Thunderbird 1.5.0.5 (X11/20060822) MIME-Version: 1.0 To: ALT Linux Sisyphus discussion list References: <44E956A1.6040500@ukr.net> <20060821095153.d891d6d6.Dmitriy.Kruglikov@orionagro.com.ua> <44E95C48.1080702@ukr.net> <20060903002600.GG9087@osdn.org.ua> <44FC3024.9080904@ancor.ru> In-Reply-To: <44FC3024.9080904@ancor.ru> X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: ClamAV version 0.88.4, clamav-milter version 0.88.4 on alfa.lan.base3.it X-Virus-Status: Clean Subject: Re: [sisyphus] =?koi8-r?b?UnN5bmMg0M/Nz93YINcgzsHT1NLPysvFLi4u?= X-BeenThere: sisyphus@lists.altlinux.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: ALT Linux Sisyphus discussion list List-Id: ALT Linux Sisyphus discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Sep 2006 14:43:11 -0000 Archived-At: List-Archive: List-Post: Rafael Malikov wrote: > =E4=CF=C2=D2=CF=C7=CF =D7=D2=C5=CD=C5=CE=C9 =D3=D5=D4=CF=CB. >=20 > 1. =CE=C1 =CF=C2=CF=C9=C8 =CD=C1=DB=C9=CE=C1=C8 =CF=D4 =D2=D5=D4=C1 =DA= =C1=D0=D5=D3=CB=C1=C5=DB=D8 > ssh-keygen -b 1024 -t dsa > cat .ssh/id_dsa.pub > =C8=CF=DE=C5=DB=D8 =C4=CC=C9=CE=C5=C5 =CB=CC=C0=DE, =CD=C5=CE=D1=CA =D0= =C1=D2=C1=CD=C5=D4=D2 -b > =D0=D2=C9 =DC=D4=CF=CD=D5 =D5 =D4=C5=C2=D1 =D3=C6=CF=D2=CD=C9=D2=D5=C0=D4= =D3=D1 =CB=CC=C0=DE=C9 =D7 =CB=C1=D4=C1=CC=CF=C7=C5 ~.ssh/ =CF=C4=C9=CE =D7= =CE=D5=D4=D2=C5=CE=C9=CA=20 > =D7=D4=CF=D2=CF=CA =D0=C1=C2=CC=C9=CB > 2. =C4=C1=CC=C5=C5 > vim /root/.ssh/authorized_keys > =DA=C1=D0=C9=C8=C9=D7=C1=C5=DB=D8 =D7 =D2=C1=DA=CE=D9=C5 =CD=C1=DB=C9=CE= =D9 =D3=CF=C4=C5=D2=D6=C9=CD=CF=C5 =D0=C1=C2=CC=C9=CB =CB=CC=C0=DE=C5=CA > =D4.=C5. =ED1 cat .ssh/id_dsa.pub > M2 .ssh/authorized_keys =C9 =CE=C1=CF= =C2=CF=D2=CF=D4 > 3. =C4=C1=CC=C5=C5 =CE=C1 =CF=C2=CF=C9=C8 =CD=C1=DB=C9=CE=C1=C8 =D0=D2=C1= =D7=C9=DB=D8 > /etc/openssh/sshd_config > =CE=C1 =D0=D2=C5=C4=CD=C5=D4 > PermitRootLogin yes > =DC=D4=CF =CB=CF=CE=C5=DE=CE=CF =C4=D9=D2=C1 =D7 =D3=C9=D3=D4=C5=CD=C5,= =CE=CF =D1 =C4=D5=CD=C1=C0 =D5 =D4=C5=C2=D1 =CF=C2=C5 =CD=C1=DB=C9=CE=D9= =DA=C1 =C6=C1=CA=D2=D7=CF=CC=CF=CD,=20 > =CE=C1 =CB=D2=C1=CA=CE=D1=CB =D3 =D7=CE=C5=DB=CE=C5=C7=CF =C9=CE=D4=C5=D2= =C6=C5=CA=D3=C1 =D0=D2=C9=CB=CF=CA ssh > (=CE=C5 =DA=C1=C2=D5=C4=D8 =D0=CF=D3=CC=C5 =DC=D4=CF=CE=CF service sshd= restart ;) > 4. =C4=C1=CC=C5=C5 =CD=CF=D6=C5=DB=D8 =D0=D2=D1=CD=CF =D7 =CB=D2=CF=CE,= =CD=CF=D6=C5=DB=D8 =CF=C4=C5=CC=D8=CE=C9=CA =D3=CB=D2=C9=D0=D4=C9=CB =CE= =C1=D2=C9=D3=CF=D7=C1=D4=D8 =C9=20 > =DA=C1=D0=D5=D3=CB=C1=D4=D8 =C5=C7=CF =D0=CF =CB=D2=CF=CE=D5 > =EE=C1 =ED2 > rsync -a M1:/var/cache/apt/archives /var/cache/apt/ > =EE=C1 =ED1 > rsync -a M2:/var/cache/apt/archives /var/cache/apt/ >=20 > =D7=D3=C5 =ED=CF=D6=CE=CF =C9 =CE=C5 =D5=C8=D5=C4=DB=C1=D4=D8 =C2=C5=DA=CF=D0=C1=D3= =CE=CF=D3=D4=D8 =DE=C5=D2=C5=DA "PermitRootLogin yes", =C5=D3=CC=C9 =D7=CD=C5=D3=D4=CF root =C9=D3=D0=CF=CC=D8=DA=CF=D7=C1=D4=D8 =D5=DE=A3=D4= =CE=D5=C0 =DA=C1=D0=C9=D3=D8 =D0=CF=CC=D8=DA=CF=D7=C1=D4=C5=CC=D1 =C9=DA = =C7=D2=D5=D0=D0=D9 rpm: =F4=CF=C7=C4=C1 =C9=DA=CD=C5=CE=C5=CE=C9=D1 =D0=CF =DB=C1=C7=C1=CD: 1. =CF=D4 =D0=CF=CC=D8=DA=CF=D7=C1=D4=C5=CC=D1 rpmgroupmember =DA=C1=D0=D5= =D3=CB=C1=C5=DB=D8 2. vim /home/rpmgroupmember/.ssh/authorized_keys 3. =CE=C5 =CE=C1=C4=CF 4. =C9=D3=D0=CF=CC=D8=DA=CF=D7=C1=D4=D8 crontab'=D9 =D0=CF=CC=D8=DA=CF=D7= =C1=D4=C5=CC=C5=CA rpmgroupmember =EB=C1=CB =D2=C1=DA =D4=CF=D4 =D3=CC=D5=DE=C1=CA, =CB=CF=C7=C4=C1 =D0=D2=D1= =CD=CF=CA =D0=D5=D4=D8 - =C2=CF=CC=C5=C5 =CB=CF=D2=CF=D4=CB=C9=CA :-P --=20 // AB1002-UANIC