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 Message-ID: <00c701c2e379$f64e26a0$0a00010a@unsane.co.uk> From: "Vince Hoffman" To: , "James D Below" References: <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20030305112413 DOT 01bbdc88 AT popserve DOT grc DOT nasa DOT gov> Subject: Re: unique ssh user environments Date: Thu, 6 Mar 2003 00:47:13 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 why not run sshd as local system and have each person log on using password authentication, that way each user will be using their own environment (the downside being that you have to use a password as passwordless logins (pubkey etc) cannot get network access using the cd //server/path method, however i seem to remember that net use x: \\\\server\\share (note the escaped \'s) then using the mapped drive will still work) ----- Original Message ----- From: "James D Below" To: Sent: Wednesday, March 05, 2003 7:23 PM Subject: unique ssh user environments > Hi Everyone. > > I have configured sshd on my server and it appears to work well. > The problem I am having is that if multiple users login via ssh, they both > are running in the same "user space". Sshd is running under a privileged > user account instead of SYSTEM. > > > Here is an example: user "A" logs in via ssh and maps a drive letter to a > network share "net use x: \\server\share". User "B" then logs in via ssh as > well . User "B" sees user "A" mounted network drive "x". If user "B" > disconnects the drive, "net use x: /d", user A and user B are both > disconnected from the drive share. > > The other strange behavior that is occurring, is that if someone logs onto > the console directly while someone is logged in via ssh, the same problems > occur. > > Is there a way to configure cygwin so that when each user logs in via ssh, > they will get their own unique "user environment"? > > > Any assistance would be appreciated. > TIA > ------------------------------------------------------------------------ > James Below Phone - 216-433-6508 > RS Information Systems, Inc. Email - James DOT Below AT grc DOT nasa DOT gov > NASA Glenn Research Center > 21000 Brookpark Road > Mailstop 142-1 > Cleveland, OH 44135 > ------------------------------------------------------------------------ > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Bug reporting: http://cygwin.com/bugs.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/