This is the mail archive of the
mailing list for the Cygwin project.
Re: Possible to login as different user?
On Mon, 6 Aug 2001 09:41:04 +0100, David Starks-Browning
>What about the FAQ? Did you read the entry "Where is the su
>command?" Did it help?
Absolutely, I did read it. It explains very clearly that there is no
"su" command. The link in that entry affirms that it's gone and says
to use "login", which was failing.
Invariably, everything I have read has adamantly pointed me to the
NTSEC documentation. The NTSEC doc goes into exhaustive detail on
file permissions and is essential reading, but doesn't go far in
explaining user changes (as opposed to logging out of Win2k and
logging back in as Administrator).
Some have brought up the question, why do I feel a need to do this?
I attempted to run cpan to update some perl modules and ran into
permission errors. My immediate reaction was to change to
"administrator" and try again. The lack of "su" was of little
consequence but when "login" failed I was a bit concerned.
I can always fall back to Win2k logout. There appear to be some
security issues with letting a Cygwin session change usernames.
>I don't use su or login, so I need help with this FAQ entry.
The only things I can think of would be some form of explanation of
why "su" was removed and, possibly, some instructions of how to get
"login" working. Any security risks in doing so could be detailed.
Potential Risk: Don't let a default installation give a user a
backdoor to possibly bypass NT user security. (?)
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html