Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
2 answers
346 views

context: I'm developing a Symfony 6.4 application where a parent can have several children and interact with the application under their names. So I have a parent (User entity) linked to one or more ...
-1 votes
1 answer
3k views

In my local machine, I would like to become another user (let's say currently I am user_c) and then to run a command as that user, specifically I would like to become user_o and run whoami. I usually ...
Tms91's user avatar
  • 4,409
3 votes
0 answers
809 views

I wanted to run vscode as non root user so I switched to another user by "su - username" and run "code" but it gave an error "grep : /proc/version : permission denied" ...
0 votes
1 answer
550 views

I am trying to determine whether a certain process is running under the current user or under another user on the same pc. I've applied the following code and it works well as it program can determine ...
0 votes
0 answers
281 views

Here's my situation: I'm working on a Symfony 3.4 project. I've enabled the switch_user setting in security.yml and I'm able to log in instead of the users. However, I have a question about the ...
2 votes
0 answers
524 views

I have next script on my remote Mac: on run do shell script "/System/Library/CoreServices/Menu\\ Extras/User.menu/Contents/Resources/CGSession -switchToUserID 502" delay 5 tell ...
1 vote
1 answer
101 views

I'm trying to build a baseline tools installer for Kali Linux, basically, a script that installs all the tools I usually have to install manually, but also creates a new user and switches to it. My ...
1 vote
1 answer
1k views

I have some data that i need to replicated for userA. As i dont know userA's password, i want to login as adminUser & switch to userA & post the data. Related to this i have two questions :- ...
1 vote
1 answer
1k views

In a bash script, I am trying to run a function which pass as parameter a command line. And so I am trying to pass a find command as another user. Instead of running straight the find command, I have ...
9 votes
2 answers
19k views

I am unable to switch user to a non-root user from the entry point script. The User directive to change the user in Dockerfile works, but I am not able to change permissions using chmod. To overcome ...
-1 votes
2 answers
298 views

Since July 5, some of our Windows 7 Enterprise machines started showing black screen and becoming unresponsive at user log off / switching users. No changes have been made in our environment; nothing ...
1 vote
2 answers
567 views

I am switching users in laravel and I succeeded in that as well but the thing is when I redirect the user to the dashboard after successful login it redirects to login form instead I don't know what ...
0 votes
1 answer
579 views

I'm trying to monitor the activity of the current user on a computer. I have a process which monitors what it needs to monitor and saved on a file which user did the activity. Currently, I'm saving on ...
0 votes
1 answer
1k views

My Chef cookbook installs Ruby locally for specific user. I want to write an InSpec test that checks if specific version of Ruby is available and if gems are installed without documentation. So ...
Kirill's user avatar
  • 8,388
1 vote
0 answers
103 views

I'm writing an App Bar using win32 calls like SHAppBarMessage. Currently I handle this behavior by doing this: SystemEvents.SessionSwitch += this.sessionSwitchEventHandler; Where the event handler ...

15 30 50 per page
1
2 3

AltStyle によって変換されたページ (->オリジナル) /