Re: switch users and still use display
- To: debian-user@lists.debian.org
- Subject: Re: switch users and still use display
- From: Florent Rougon <f.rougon@free.fr>
- Date: Fri, 02 Aug 2024 11:35:58 +0200
- Message-id: <[🔎] 87ed77tgg1.fsf@host0.frougon.net>
- In-reply-to: <ZqV3NngRqSP8eF9o@axis.corp> (David Wright's message of "Sat, 27 Jul 2024 17:39:50 -0500")
- References: <p1n4n2np-o84p-r81-n1s-90r8r7851610@cebgbaznvy.pbz> <4945745.31r3eYUQgx@protheus2> <ZqV3NngRqSP8eF9o@axis.corp>
Hi,
Le 27/07/2024, David Wright <de
blis@lionunicorn.co.uk> a écrit:
> > I never found an official documentation about "su -p", just found it myself,
> > but I read, "su -" shall do the same. It does not.
> When you write something like this, can you accompany it with a
> reference? The essential package util-linux's man page seems to
> contradict whatever it was you found and read:
AFAIUI, Hans essentially meant that 'su -p' allows him to start
graphical programs as root inside an X session running as another user,
and that 'su -' doesn't “do the same” (i.e., it doesn't allow starting
graphical programs as root inside an X session running as another user).
Which I am inclined to believe, although I'm reluctant to try 'su -p'
for fear of creating a mess in my normal user setup:
~ % su -p
Password:
zsh compinit: insecure directories and files, run compaudit for list.
Ignore insecure directories and files and continue [y] or abort compinit [n]? ^C
Regards
--
Florent
Reply to: