www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/05/13/09:45:30

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Tue, 13 May 2008 15:44:50 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygwin virtual user
Message-ID: <20080513134450.GA28995@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <385301 DOT 27083 DOT qm AT web94916 DOT mail DOT in2 DOT yahoo DOT com>
MIME-Version: 1.0
In-Reply-To: <385301.27083.qm@web94916.mail.in2.yahoo.com>
User-Agent: Mutt/1.5.16 (2007-06-09)
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

On May 13 18:35, Jaspreet Singh wrote:
> just a qus?
> 
> can we create virtual user in /etc/passwd file
> 
> like for real user entry is
> 
> test:unused_by_nt/2000/xp:real_UID:real_GID:name,U-PC\test,real_SID:/home/test:/bin/bash
> 
> Now above is the real userstring for real user 'test'. can i create a virtual user in cygwin /etc/passwd with values of real user 'test'.
> 
> like for virtual user entry is
> 
> XXXX:unused_by_nt/2000/xp:real_UID:real_GID:name,U-PC\test,real_SID:/home/XXXX:/bin/false
> 
> you can see that only login name, home dir and shell is changed.
> 
> now i just want to know that how can XXXX login with /bin/bash, that doesn't matter. Real thing i want to know is that does this will work with ssh and telnet if i change shell to be /bin/bash and does it work with UW-IMAP, proftpd and UW-POP. like they recognize this user as a real user.
> 
> Anybody got any idea ?

Did you read http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-sids ?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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