🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #99405

Re: user-id

#99405
From: Christopher C. Stacy
Date: Fri, 21 Sep 1990 08:05
17 lines
1458 bytes
Let me restate my problem with user-ids.

When someone starts up emacs with the "-u Foo" switch, all it currently
does is load another init file.  I would like this feature to be
expanded.  I would like USER-LOGIN-NAME to return the new user-id, Foo.
I wonder if maybe it shouldn't set the default directory to ~Foo,
although this is more debatable.

The problem comes up when I am logged in to someone else's account,
and I want to run an emacs as though I were logged in as myself.
The current -u option loads my init file.
But my init file is very complex, and the last thing it does is load
its own init file, which is located in the home directory of the
current user.  In this case, "home directory" should mean the
directory of the "-u" user, not $USER or anything else.

In short, "-u" should more thoroughly emulate the named user.
Technical Details
Message-ID: <19900921080543.2.CSTACY@PSI.AI.MIT.EDU>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!AI.MIT.EDU!cstacy
References: <19250.653853293@NL.CS.CMU.EDU>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,f5f3c81c42f07fb5
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1990-09-21 01:05:00 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!AI.MIT.EDU!cstacy
From: cstacy@AI.MIT.EDU (Christopher C. Stacy)
Newsgroups: gnu.emacs.bug
Subject: Re: user-id
Message-ID: <19900921080543.2.CSTACY@PSI.AI.MIT.EDU>
Date: 21 Sep 90 08:05:00 GMT
References: <19250.653853293@NL.CS.CMU.EDU>
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 17
Posted: Fri Sep 21 09:05:00 1990