* Login as a different user?
@ 2002-04-24 21:22 Daniel Adams
2002-04-24 21:40 ` Michael A Chase
2002-04-25 0:22 ` Gilgamesh Nootebos
0 siblings, 2 replies; 7+ messages in thread
From: Daniel Adams @ 2002-04-24 21:22 UTC (permalink / raw)
To: cygwin
Is there a way to login as a different user (under cygwin for a shell) for a
win2k machine running the latest everything for cygwin? I am curious of this
for multiple reasons. I am mainly wondering so that I can have multiple
completely independent profiles in pine.
I realize ahead of time this could be a rather dumb question, but I have
tried the login command such as I can do on regular Unix machines and that
has never accepted any input of any types.
When I try to type login with a different username at my normal console
window it displays the message "Not a login shell." My normal shell simply
consists of Start Menu | Run | "tcsh"
I hope someone is able to help me with this predicament.
--
Sincerely,
Daniel Adams - dpa3@dana.ucc.nau.edu
http://dana.ucc.nau.edu/~dpa3
1 Peter 4:10 (NIV)- Each one should use whatever gift he has received to
serve others, faithfully administering God's grace in its various forms.
--
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/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Login as a different user?
2002-04-24 21:22 Login as a different user? Daniel Adams
@ 2002-04-24 21:40 ` Michael A Chase
2002-04-24 22:18 ` Daniel Adams
2002-04-24 22:26 ` Eduardo Chappa
2002-04-25 0:22 ` Gilgamesh Nootebos
1 sibling, 2 replies; 7+ messages in thread
From: Michael A Chase @ 2002-04-24 21:40 UTC (permalink / raw)
To: Daniel Adams, cygwin
On Wed, 24 Apr 2002 20:43:16 -0700 Daniel Adams <danpadams@infomagic.net> wrote:
> Is there a way to login as a different user (under cygwin for a shell)
> for a
> win2k machine running the latest everything for cygwin? I am curious of
> this
> for multiple reasons. I am mainly wondering so that I can have multiple
> completely independent profiles in pine.
For now, it might be easier to just change $HOME since I think Pine keeps
it's user specific configuration information under there.
> I realize ahead of time this could be a rather dumb question, but I have
> tried the login command such as I can do on regular Unix machines and
> that
> has never accepted any input of any types.
login serves no purpose in a console window. It's for remote users.
--
Mac :})
** I normally forward private questions to the appropriate mail list. **
Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.htm
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.
--
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/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Login as a different user?
2002-04-24 21:40 ` Michael A Chase
@ 2002-04-24 22:18 ` Daniel Adams
2002-04-25 8:26 ` Larry Hall (RFK Partners, Inc)
2002-04-24 22:26 ` Eduardo Chappa
1 sibling, 1 reply; 7+ messages in thread
From: Daniel Adams @ 2002-04-24 22:18 UTC (permalink / raw)
To: cygwin
I haven't been around watching the mailing list long enough, but are there
plans in the works to make the login command work properly? When I say
properly, I mean in the way that it works under a regular Unix system. If
the person who is in charge of that aspect of cygwin wants I will be glad to
help with some debugging stuff. But thanks for the suggestion for the time
being I think it will help.
--
Sincerely,
Daniel Adams - dpa3@dana.ucc.nau.edu
http://dana.ucc.nau.edu/~dpa3
1 Peter 4:10 (NIV)- Each one should use whatever gift he has received to
serve others, faithfully administering God's grace in its various forms.
"Michael A Chase" <mchase@ix.netcom.com> wrote in message
news:E170agJ-0006me-00@tisch.mail.mindspring.net...
> On Wed, 24 Apr 2002 20:43:16 -0700 Daniel Adams <danpadams@infomagic.net>
wrote:
>
> > Is there a way to login as a different user (under cygwin for a shell)
> > for a
> > win2k machine running the latest everything for cygwin? I am curious of
> > this
> > for multiple reasons. I am mainly wondering so that I can have multiple
> > completely independent profiles in pine.
>
> For now, it might be easier to just change $HOME since I think Pine keeps
> it's user specific configuration information under there.
>
> > I realize ahead of time this could be a rather dumb question, but I have
> > tried the login command such as I can do on regular Unix machines and
> > that
> > has never accepted any input of any types.
>
> login serves no purpose in a console window. It's for remote users.
>
> --
> Mac :})
> ** I normally forward private questions to the appropriate mail list. **
> Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.htm
> Give a hobbit a fish and he eats fish for a day.
> Give a hobbit a ring and he eats fish for an age.
>
>
>
> --
> 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/
>
>
--
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/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Login as a different user?
2002-04-24 22:18 ` Daniel Adams
@ 2002-04-25 8:26 ` Larry Hall (RFK Partners, Inc)
0 siblings, 0 replies; 7+ messages in thread
From: Larry Hall (RFK Partners, Inc) @ 2002-04-25 8:26 UTC (permalink / raw)
To: Daniel Adams, cygwin
At 12:26 AM 4/25/2002, Daniel Adams wrote:
>I haven't been around watching the mailing list long enough, but are there
>plans in the works to make the login command work properly? When I say
>properly, I mean in the way that it works under a regular Unix system. If
>the person who is in charge of that aspect of cygwin wants I will be glad to
>help with some debugging stuff. But thanks for the suggestion for the time
>being I think it will help.
Check the email archives on this subject if you're interested. There's no
planned work in this area due to Windows restrictions and availability of
alternatives (i.e. ssh is the best option).
Larry Hall lhall@rfk.com
RFK Partners, Inc. http://www.rfk.com
838 Washington Street (508) 893-9779 - RFK Office
Holliston, MA 01746 (508) 893-9889 - FAX
--
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/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Login as a different user?
2002-04-24 21:40 ` Michael A Chase
2002-04-24 22:18 ` Daniel Adams
@ 2002-04-24 22:26 ` Eduardo Chappa
1 sibling, 0 replies; 7+ messages in thread
From: Eduardo Chappa @ 2002-04-24 22:26 UTC (permalink / raw)
To: Daniel Adams; +Cc: cygwin
:) On Wed, 24 Apr 2002 20:43:16 -0700 Daniel Adams
:) <danpadams@infomagic.net> wrote:
:)
:) > Is there a way to login as a different user (under cygwin for a
:) > shell) for a win2k machine running the latest everything for cygwin?
:) > I am curious of this for multiple reasons. I am mainly wondering so
:) > that I can have multiple completely independent profiles in pine.
what you can do is to start pine with different .pinerc files, and start
pine as
pine -p /path/to/new/pinerc
each pinerc should contain information which will make it have different
profiles.
If you are looking for how to change your from field, you can use roles
(press M S R R to learn about them).
--
Eduardo
http://www.math.washington.edu/~chappa/pine/
--
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/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Login as a different user?
2002-04-24 21:22 Login as a different user? Daniel Adams
2002-04-24 21:40 ` Michael A Chase
@ 2002-04-25 0:22 ` Gilgamesh Nootebos
2002-04-25 3:44 ` Sam Edge
1 sibling, 1 reply; 7+ messages in thread
From: Gilgamesh Nootebos @ 2002-04-25 0:22 UTC (permalink / raw)
To: cygwin; +Cc: Daniel Adams
Hi,
Daniel Adams wrote:
> Is there a way to login as a different user (under cygwin for a shell) for a
> win2k machine running the latest everything for cygwin? I am curious of this
> for multiple reasons.
I stumbled on this question too and foud out that using 'ssh -l <user>
localhost' in combination with keychain works just fine. I learned most
of what I needed to know from the ssh docs and here -
http://www-106.ibm.com/developerworks/opensource/library/l-keyc.html?dwzone=opensource
>
> I hope someone is able to help me with this predicament.
>
HTH
Gilgamesh
--
Gilgamesh Nootebos (Elegant Relational Development)
@: Gilgamesh.Nootebos@elegant.nl
T: +31 36 54 77 100
--
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/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Login as a different user?
2002-04-25 0:22 ` Gilgamesh Nootebos
@ 2002-04-25 3:44 ` Sam Edge
0 siblings, 0 replies; 7+ messages in thread
From: Sam Edge @ 2002-04-25 3:44 UTC (permalink / raw)
To: cygwin
You wrote in <3CC7916F.6050001@elegant.nl>
in gmane.os.cygwin on Thu, 25 Apr 2002 07:17:35 +0200:
> I stumbled on this question too and foud out that using 'ssh -l <user>
> localhost' in combination with keychain works just fine.
You don't even need keychain but of course you do need sshd running
with enough privileges to create processes under other accounts.
This is most easily done by running the sshd configuration script
(/usr/bin/ssh-host-config) from an administrative login and allowing
it to install sshd as an NT service.
However, this opens up more potential avenues for your system to be
accessed over the 'Net and you should consider using the ListenAddress
directive to limit access to localhost.
There's also a slight security risk just having any Cygwin process
running with enhanced privileges. See the thread "Getting Cygwin into
a corporation..." <01fd01c1ebba$23197580$0d76aec7@D4LHBR01>
--
Sam Edge
--
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/
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2002-04-25 14:49 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-24 21:22 Login as a different user? Daniel Adams
2002-04-24 21:40 ` Michael A Chase
2002-04-24 22:18 ` Daniel Adams
2002-04-25 8:26 ` Larry Hall (RFK Partners, Inc)
2002-04-24 22:26 ` Eduardo Chappa
2002-04-25 0:22 ` Gilgamesh Nootebos
2002-04-25 3:44 ` Sam Edge
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).