﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>ssh access problems</title><link>http://www.suacommunity.com/forum/</link><description /><copyright>(c) SUA Community for Microsoft Interix &amp; Subsystem fo</copyright><ttl>30</ttl><item><title> RE: ssh access problems (Rodney)</title><description>  &amp;gt;  Does it mean that you have no possibility to create a "network enabled" token when you don't have the password? &lt;br&gt;   &lt;br&gt;  Correct. &lt;br&gt;   &lt;br&gt;  &amp;gt;  It is not that you don't trust ssh or it would be to much effort, but you really have no chance to create such a token? &lt;br&gt;   &lt;br&gt;  Correct. &lt;br&gt;  When I wrote setuser(), setuid(), and setgid() in the Softway days (pre-MS) I worked out how to create tokens &lt;br&gt;  in the Interix subsystem without relying on the LSA to provide them (the typical way). This is how these API's &lt;br&gt;  can work like on regular Unix without a password. &lt;br&gt;  (I had one header file and a debugger to figure out how to do this. There was no assistance from MS or looking at any src code.) &lt;br&gt;  One compromise I had to make at the time was a security identifier assigned by the LSA. There was no API &lt;br&gt;  external to the LSA to generate this correctly. This is what restricts network access. However, after thinking &lt;br&gt;  about it for a while we (the r+d group) thought this was reasonable and actually responsible since the no password &lt;br&gt;  thing was going to be used by programs like &lt;b&gt;rsh&lt;/b&gt; and &lt;b&gt;rlogin&lt;/b&gt;. &lt;br&gt;   &lt;br&gt;  &amp;gt;  But there would still be the chance to make a "ssh_regpwd" to register the passwords on every host? &lt;br&gt;   &lt;br&gt;  Yes, this is possible. I don't know if this would be "good" or not. &lt;br&gt;  I'd want to ponder on it for a while. &lt;br&gt;   </description><link>http://www.suacommunity.com/forum/fb.ashx?m=7061</link><pubDate>Fri, 14 Oct 2005 15:21:29 GMT</pubDate></item><item><title> RE: ssh access problems (hp)</title><description>  Just for my understanding: &lt;br&gt;  Does it mean that you have no possibility to create a "network enabled" token when you don't have the password? &lt;br&gt;  It is not that you don't trust ssh or it would be to much effort, but you really have no chance to create such a token? &lt;br&gt;   &lt;br&gt;  But there would still be the chance to make a "ssh_regpwd" to register the passwords on every host? &lt;br&gt;   &lt;br&gt;  I ask this because I really want to understand what's going on deep down there in the Windows Kernel. </description><link>http://www.suacommunity.com/forum/fb.ashx?m=7060</link><pubDate>Fri, 14 Oct 2005 14:08:47 GMT</pubDate></item><item><title> RE: ssh access problems (Rodney)</title><description>  &amp;gt; &amp;gt; When you don't provide a password you have local machine access only. &lt;br&gt;  &amp;gt; &lt;br&gt;  &amp;gt;Will this be added in future, or are there security issues that forbid such a mechanism? &lt;br&gt;   &lt;br&gt;  Won't be added in the future because there is no mechanism to do so. Essentially the &lt;br&gt;  trust that the local machine is giving the logged in user is not automatically extended &lt;br&gt;  to other machines in the network without a password. When no password is provided there is &lt;br&gt;  no mechanism to create a "network enabled" token. Once a password is given then the "usual" &lt;br&gt;  security paths are followed which will allow network access. &lt;br&gt;   &lt;br&gt;   </description><link>http://www.suacommunity.com/forum/fb.ashx?m=7059</link><pubDate>Fri, 14 Oct 2005 13:17:30 GMT</pubDate></item><item><title> RE: ssh access problems (hp)</title><description>  Ok, thank you! &lt;br&gt;   &lt;br&gt;  &amp;gt; When you don't provide a password you have local machine access only. &lt;br&gt;   &lt;br&gt;  Will this be added in future, or are there security issues that forbid such a mechanism? </description><link>http://www.suacommunity.com/forum/fb.ashx?m=7058</link><pubDate>Fri, 14 Oct 2005 12:04:33 GMT</pubDate></item><item><title> RE: ssh access problems (Rodney)</title><description>  &amp;gt;  Could you please confirm this: &lt;br&gt;   &lt;br&gt;  That quote was from December, 2004. A while back now. &lt;br&gt;  The current state is: &lt;br&gt;  When you provide a password you have a security token that can access network drives. &lt;br&gt;  When you don't provide a password you have local machine access only. &lt;br&gt;   &lt;br&gt;   &lt;br&gt;  &amp;gt;And there is no "regpwd for ssh"? &lt;br&gt;   &lt;br&gt;  The "secret" details of &lt;b&gt;regpwd&lt;/b&gt; are not known by me. &lt;br&gt;   </description><link>http://www.suacommunity.com/forum/fb.ashx?m=7057</link><pubDate>Fri, 14 Oct 2005 10:27:45 GMT</pubDate></item><item><title> RE: ssh access problems (hp)</title><description>  &lt;blockquote class="quote"&gt;&lt;i&gt;&lt;/i&gt;&lt;br&gt;ORIGINAL:  Rodney &lt;br&gt;  The user's account does not have permissions on it's token for network access. &lt;br&gt;  It's the way it is right now. It would take a lot of work to change this so that the &lt;br&gt;  SSH security doesn't get broken/compromised. It's a case of funding the work because it &lt;br&gt;  will take a non-trivial amount of time &amp; effort. &lt;br&gt;  &lt;/blockquote&gt; &lt;br&gt;  Could you please confirm this: &lt;br&gt;  When logging in to the Interix host with ssh, the user never has network access, even when providing his password to ssh? &lt;br&gt;  And there is no "regpwd for ssh"? </description><link>http://www.suacommunity.com/forum/fb.ashx?m=7056</link><pubDate>Fri, 14 Oct 2005 05:55:02 GMT</pubDate></item><item><title> RE: ssh access problems (ncx)</title><description>  Thanks for the reply. &lt;br&gt;   &lt;br&gt;  I understand the ssh security needs but why use the windows authentification mechanisms if it is not possible to use the domain accounts to open an ssh session ?  &lt;br&gt;  i can't modify the homedir for each domain account and even if the syntax machineName+localAccount works, the permission still denied "Could not chdir to home directory /dev/fs/D/Test: permission denied" &lt;br&gt;   &lt;br&gt;  Then at this time, i can't propose ssh service for anyone except with the root account ? &lt;br&gt;   &lt;br&gt;  Please heeeelllllp &lt;br&gt;   &lt;br&gt;  ps: where the command chsh put the default shell fro the user ? &lt;br&gt;   </description><link>http://www.suacommunity.com/forum/fb.ashx?m=4669</link><pubDate>Thu, 30 Dec 2004 05:08:59 GMT</pubDate></item><item><title> RE: ssh access problems (Rodney)</title><description>  &amp;gt;  sorry for my bad english. &lt;br&gt;   &lt;br&gt;  Not a problem. My other languages are much poorer than your English! &lt;br&gt;   &lt;br&gt;  &amp;gt; And i have not any log in /var/adm/log/* (all empty except init.log) ? &lt;br&gt;  &amp;gt; sorry, i just see that is disabled in /etc/init.d/syslog &lt;br&gt;   &lt;br&gt;  Yes, by default &lt;b&gt;syslogd&lt;/b&gt; is disabled. &lt;br&gt;  There is a special section on the &lt;b&gt;syslogd&lt;/b&gt; manual page explaining &lt;br&gt;  how to activate it. &lt;br&gt;   &lt;br&gt;  &amp;gt; With a new local account and the home folder configured or not, i have a "permission denied" too. &lt;br&gt;  &amp;gt; in this case is it possible to prefix the account with the machine name ? &lt;br&gt;   &lt;br&gt;  You can always give what is called a Fully Qualified Username (FQUN). &lt;br&gt;  The syntax is "domainname+username" (that is a literal "+" there). &lt;br&gt;  The domainname for a local workstation is usually the same as the machinename. &lt;br&gt;   &lt;br&gt;  &amp;gt; the error is "Could not chdir to home directory /net/myserver/users/myuser: permission denied. &lt;br&gt;   &lt;br&gt;  The user's account does not have permissions on it's token for network access. &lt;br&gt;  It's the way it is right now. It would take a lot of work to change this so that the &lt;br&gt;  SSH security doesn't get broken/compromised. It's a case of funding the work because it &lt;br&gt;  will take a non-trivial amount of time &amp; effort. &lt;br&gt;   </description><link>http://www.suacommunity.com/forum/fb.ashx?m=4664</link><pubDate>Wed, 29 Dec 2004 14:46:11 GMT</pubDate></item><item><title> ssh access problems (ncx)</title><description>  sorry for my bad english. &lt;br&gt;   &lt;br&gt;  after the installation of the openssh 3.9 (on w2K domain member server), i can open an ssh session with root account. But with a domain account, the error is "Could not chdir to home directory /net/myserver/users/myuser: permission denied. &lt;br&gt;  With a new local account and the home folder configured or not, i have a "permission denied" too. in this case is it possible to prefix the account with the machine name ? &lt;br&gt;   &lt;br&gt;  And i have not any log in /var/adm/log/* (all empty except init.log) ? &lt;br&gt;  sorry, i just see that is disabled in /etc/init.d/syslog </description><link>http://www.suacommunity.com/forum/fb.ashx?m=4663</link><pubDate>Wed, 29 Dec 2004 13:11:38 GMT</pubDate></item></channel></rss>
