delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/10/25/04:52:38

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <r DOT berber AT computer DOT org>
Subject: Re: who should own the /bin directory?
Date: Thu, 25 Oct 2007 03:51:59 -0500
Lines: 26
Message-ID: <ffplfg$nuu$1@ger.gmane.org>
References: <ffodej$hak$1 AT ger DOT gmane DOT org> <879438 DOT 44097 DOT qm AT web25014 DOT mail DOT ukl DOT yahoo DOT com>
Mime-Version: 1.0
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
In-Reply-To: <879438.44097.qm@web25014.mail.ukl.yahoo.com>
OpenPGP: url=hkp://wwwkeys.pgp.net
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Marco Atzeri wrote:

> --- Jerome Fong < ha scritto:
>=20
>> I'm trying to login as another person, but using
>> "su" tells me I don't=20
>> have permissions to use bash.  Using login gives me
>> errors about no home=20
>> directory and no permissions to use bash.
>=20
> su does not work.
> See FAQ chapter 4

Yes, it works.  Have you tried it?

About the original problem, su is not a "login", better try 'ssh
other-user AT localhost' if you have sshd running, the first time the other-us=
er
does login his home directory will be created.  Of course that means that t=
he
user was created first in Windows and added to the users recognized by Cygw=
in
(using mkpasswd ...).  An unknown user has no permissions on any directory.
--=20
Ren=E9 Berber


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019