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 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 Precedence: bulk List-Id: List-Unsubscribe: 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 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/