Thursday, July 11, 2013

Re: [LINUX_Newbies] Two users on one computer

 

On 11Jul2013 20:54, C. Beck <usabecker@gmail.com> wrote:
| On Jul 11, 2013 4:11 PM, "Cameron Simpson" <cs@zip.com.au> wrote:
| You are right there also. However, the following at terminal:
|
| >>> su user2
| >>> sudo firefox
|
| will open open firefox in the existing X session of "user1" while sourcing
| user2's firfeox profile/bookmarks, etc.

Yes, but only because you're now running firefox as root! Surely
not the plan. It also tends to litter your homedir with root owned
files ready to cause inconvenience later.

| There is a way also to assume the active .Xauthority file from a
| different login shell for a priveledged user (or something like that). And
| that is probably the way it should be done.

Yes. I have a script somewhere to read xauth credentials from one
file for insertion into the current user's xauth file. Not hard at
all, but the script needs to have access, when means being root or
the other user.

| At least since Ubuntu 10.04, there has been a "switch user" from the
| login/out options. It suspends the session of the active user, and lets a
| different user log into their own desktop environment, I think in a
| different tty.

That sounds like what Sophie wants. Two desktops, one as user1 and
one as user2. Nice and separate. Sharing one desktop with apps of
multiple users is a potential security issue.

Cheers,
--
Cameron Simpson <cs@zip.com.au>

I couldn't think of anything else to do with it, so I put it on the web.

__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (5)
Recent Activity:
To unsubscribe from this list, please email LINUX_Newbies-unsubscribe@yahoogroups.com & you will be removed.
.

__,_._,___

No comments:

Post a Comment