su questions

Pierre A. Humblet pierre.humblet@ieee.org
Fri Apr 4 02:05:00 GMT 2003


On Thu, Apr 03, 2003 at 12:50:06PM -0500, Igor Pechtchanski wrote:

> There is no working implementation of 'su' under Cygwin.  Use sshd and
> "ssh -l name localhost" to switch user contexts.

FWIW, su works under the limited conditions outlined below 
and on Win9X/ME.

It is possible to create "Windows personalities" in /etc/passwd,
i.e. accounts that use the same Windows username and SID, but 
have their own name, uid, gid, shell and home directory, and 
thus ssh keys.
This could be useful for network access, e.g. to allow a trusting 
group of users to share the same Windows account, or to receive 
mail under several names.
su can be used to switch between personalities. The password 
"unused_by_nt/2000/xp" must be replaced by the output of 
"crypt password". "Password" need not be the Windows password.

Pierre

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



More information about the Cygwin mailing list