Skip to main content

Questions tagged [su]

su is a utility to run a shell or other command as another user (root by default).

3 votes
1 answer
491 views

So I'm running a Devuan (but for these purposes it could be Debian as well as most other distros, I guess...) and somehow, when I enter the root shell in a graphical terminal via su, the PATH variable ...
polynomial_donut's user avatar
0 votes
1 answer
92 views

I'm new to working with OS and unix, I'm trying to create separate users for an application, nginx, etc... and in order to run the process on their behalf. I'm currently debugging the following ways ...
aiswe's user avatar
  • 3
0 votes
2 answers
243 views

I want to switch to a different user, but loginctl shows that the previous user session is being used I start as the user ubuntu. $ loginctl session-status | head -n1 2 - ubuntu (1000) sudo su -l ...
Paul Draper's user avatar
5 votes
1 answer
248 views

If the environment variable DISPLAY is set and I do /bin/su - root from a user shell in an X terminal, then a login shell for root is setup and the DISPLAY environment variable is still present. If I ...
J G Miller's user avatar
1 vote
0 answers
87 views

I have a question regarding the processes launched via a SSH session, after having performed a su - user. My question applies to RHEL 8, but might as well to other O/S. The SSH connection is initiated ...
TontonS's user avatar
  • 11
-2 votes
2 answers
728 views

Overview I'm attempting to execute commands as a different user without using quotation marks as well as making sure the executed command isn't inheriting environment from the parent shell. runuser ...
GrabbenD's user avatar
  • 170
0 votes
2 answers
137 views

In Kubuntu 23.10, while updating my account photo in the System Settings > Users GUI, I must have accidentally changed my account type from Administrator to Standard, as I'm no longer a su. I guess ...
Jacob Stamm's user avatar
0 votes
1 answer
2k views

I'm currently trying to intercept/block specific requests from the guest in QEMU. According to this question, it seems that the easiest way to do so is to run QEMU as a different user, so that I can ...
Olmarq's user avatar
  • 3

15 30 50 per page
1
2 3 4 5
37