Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Reply-To: Cygwin List Message-Id: <6.0.1.1.0.20040203211721.0390f108@127.0.0.1> X-Sender: Date: Tue, 03 Feb 2004 21:28:18 -0500 To: Pedro Luiz Nani Costa , Cygwin List From: Larry Hall Subject: Re: Problem with ssh keys In-Reply-To: References: <6 DOT 0 DOT 1 DOT 1 DOT 0 DOT 20040203092828 DOT 03916f68 AT 127 DOT 0 DOT 0 DOT 1> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i142TPTi024419 At 12:22 PM 2/3/2004, Pedro Luiz Nani Costa you wrote: >Thanks Larry..... > >Setting up Cygwin with smbntsec solves the problem, and i could >autenticate my keys through my net. > >But then, i delete the keys to remake all the process, generating new >keys for others users just as i did, the >thing just not go too good. > >I believe its because the drives with the HOME´s are mounted as the >administrator owner, and some kind of damage happens when i change >variable CYGWIN, look: > >pcosta AT pcdep06 ~ >$ ls -la >total 3619 >drwx------+ 1 ???????? ???????? 0 Feb 3 15:08 . >dr-xr-xr-x 8 0 0 0 Dec 31 1969 .. >-rwxr-xr-x 1 pcosta Nenhum 533 Feb 3 15:08 .bash_profile >-rwxr-xr-x 1 pcosta Nenhum 1131 Feb 3 15:08 .bashrc >-rwx------ 1 Administ ???????? 221 Dec 13 2001 .rhosts >drwx------+ 1 pcosta Nenhum 0 Feb 3 15:02 .ssh >-rwx------ 1 Administ ???????? 63488 Jun 21 2002 Fluxograma_MAI.vsd >-rwx------ 1 Administ ???????? 94314 Nov 25 2002 Fluxograma_MAI.wmf >dr-x------+ 1 Administ ???????? 4096 Feb 3 10:00 Meus documentos >-rwx------ 1 Administ ???????? 600 Sep 15 16:42 PUTTY.RND > >Look what happens, if i try to generate the keys: >pcosta AT pcdep06 ~ >$ ssh-keygen -t dsa >Generating public/private dsa key pair. >Enter file in which to save the key (//pcdep41/home/pcosta/.ssh/id_dsa): >Enter passphrase (empty for no passphrase): >Enter same passphrase again: >open //pcdep41/home/pcosta/.ssh/id_dsa failed: Permission denied. >Saving the key failed: //pcdep41/home/pcosta/.ssh/id_dsa. > >Well, in my passwd seems to be correct, e.g, i don´t mount manually my >home drive: > >SYSTEM:*:18:544:,S-1-5-18:: >Administradores:*:544:544:,S-1-5-32-544:: >Administrador:unused_by_nt/2000/xp:500:513:U-PCDEP06\Administrador,S-1-5-21-1645522239-838170752-682003330-500:/home/Administrador:/bin/bash >celio:unused_by_nt/2000/xp:1012:513:Célio >Maschio,U-PCDEP06\celio,S-1-5-21-1645522239-838170752-682003330-1012:/home/celio:/bin/bash >Convidado:unused_by_nt/2000/xp:501:513:U-PCDEP06\Convidado,S-1-5-21-1645522239-838170752-682003330-501:/home/Convidado:/bin/bash >denis:unused_by_nt/2000/xp:1014:513:Denis José >Schiozer,U-PCDEP06\denis,S-1-5-21-1645522239-838170752-682003330-1014:/home/denis:/bin/bash >drumond:unused_by_nt/2000/xp:1004:513:Paulo Soares >Drumond,U-PCDEP06\drumond,S-1-5-21-1645522239-838170752-682003330-1004:/home/drumond:/bin/bash >eligero:unused_by_nt/2000/xp:1023:513:Eliana >Eligero,U-PCDEP06\eligero,S-1-5-21-1645522239-838170752-682003330-1023:/home/eligero:/bin/bash >filho:unused_by_nt/2000/xp:1035:513:João Carlos Von Hohendorff >Filho,U-PCDEP06\filho,S-1-5-21-1645522239-838170752-682003330-1035:/home/filho:/bin/bash >HelpAssistant:unused_by_nt/2000/xp:1000:513:Conta de assistente de ajuda >de área de trabalho >remota,U-PCDEP06\HelpAssistant,S-1-5-21-1645522239-838170752-682003330-1000:/home/HelpAssistant:/bin/bash >leonardo:unused_by_nt/2000/xp:1031:513:Leonardo Façanha >Oberto,U-PCDEP06\leonardo,S-1-5-21-1645522239-838170752-682003330-1031:/home/leonardo:/bin/bash >lucaslm:unused_by_nt/2000/xp:1011:513:Lucas Lalia >Martini,U-PCDEP06\lucaslm,S-1-5-21-1645522239-838170752-682003330-1011:/home/lucaslm:/bin/bash >orlando:unused_by_nt/2000/xp:1030:513:Orlando Saraiva do Nascimento >Junior,U-PCDEP06\orlando,S-1-5-21-1645522239-838170752-682003330-1030:/home/orlando:/bin/bash >palberto:unused_by_nt/2000/xp:1008:513:Pedro Alberto Vicente de >Oliveira,U-PCDEP06\palberto,S-1-5-21-1645522239-838170752-682003330-1008:/home/palberto:/bin/bash >pcosta:unused_by_nt/2000/xp:1007:513:Pedro Luiz Nani >Costa,U-PCDEP06\pcosta,S-1-5-21-1645522239-838170752-682003330-1007://pcdep41/home/pcosta:/bin/bash >rogeriom:unused_by_nt/2000/xp:1026:513:Rogério >Martini,U-PCDEP06\rogeriom,S-1-5-21-1645522239-838170752-682003330-1026:/home/rogeriom:/bin/bash >sergio:unused_by_nt/2000/xp:1010:513:Sergio Henrique Guerra de >Sousa,U-PCDEP06\sergio,S-1-5-21-1645522239-838170752-682003330-1010:/home/sergio:/bin/bash >simaro:unused_by_nt/2000/xp:1029:513:Fernando Henrique Moschioni >Simaro,U-PCDEP06\simaro,S-1-5-21-1645522239-838170752-682003330-1029:/home/simaro:/bin/bash >sshd:unused_by_nt/2000/xp:1016:513:sshd >privsep,U-PCDEP06\sshd,S-1-5-21-1645522239-838170752-682003330-1016:/var/empty:/bin/bash >ssh_srv:unused_by_nt/2000/xp:1034:513:Serviço SSH >CYGWIN,U-PCDEP06\ssh_srv,S-1-5-21-1645522239-838170752-682003330-1034:/home/ssh_srv:/bin/bash >SUPPORT_388945a0:unused_by_nt/2000/xp:1002:513:CN=Microsoft >Corporation,L=Redmond,S=Washington,C=US,U-PCDEP06\SUPPORT_388945a0,S-1-5-21-1645522239-838170752-682003330-1002:/home/SUPPORT_388945a0:/bin/bash >yara:unused_by_nt/2000/xp:1028:513:Fernanda Yara dos Santos >Foschiani,U-PCDEP06\yara,S-1-5-21-1645522239-838170752-682003330-1028:/home/yara:/bin/bash > > >My variables are now: > >CYGWIN smbntsec tty >CYGWIN32 smbntsec tty ^^^^^^^^^^^^^^^^^^^^^^ You don't need this. >Is there a explicit way to tell Cygwin that i am owner of my drive??? > chown pcosta.513 . -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/