Grey Hack

Grey Hack

ralfaltmann Sep 28, 2019 @ 1:41am
How to change user in terminal?
Hi,

is there a way to change the user in terminal? It seems Terminal.exe doesn't accept parameters.

Regards
Originally posted by Kurouzu:
To login as root: sudo -s
To login as a normal user: sudo -u username
< >
Showing 1-9 of 9 comments
Memnoch Sep 28, 2019 @ 2:01am 
What have you tried so far?
ralfaltmann Sep 28, 2019 @ 2:10am 
I tried to call Terminal.exe with parameter [username], but that only opens a new terminal which thinks the username is a program to execute.
Also tried to sudo [username], but that didn't work either. Couldn't find anything about it on forum or discord. I don't know how "compatible" the ingame terminal is to real Linux terminals. Thinking of writing a script for that, if it's not possible with the current implementation :)

Regards
Memnoch Sep 28, 2019 @ 3:20am 
Sudo su will make you root, if you have the privileges to do so. But I don’t think you can su as another user on the system, just root.
Last edited by Memnoch; Oct 11, 2019 @ 12:08pm
ralfaltmann Sep 28, 2019 @ 3:24am 
Yeah, sudo [username] was something I tried according to a google search for real terminal behaviour :)
I think I'll try to make a script.

Regards
DrDerpenstein Oct 10, 2019 @ 3:33pm 
You may want to just try 'su' as in 'su jimmybob' to Switch User to someone with a rediculous name.
Memnoch Oct 11, 2019 @ 12:08pm 
Have you tried that yourself Dr Derp?
DrDerpenstein Oct 11, 2019 @ 3:28pm 
Only on real-life Linux machines. It'd be worth a try in game though.
Memnoch Oct 11, 2019 @ 7:16pm 
Right, but you have the game, which is why I was asking.
The author of this thread has indicated that this post answers the original topic.
Kurouzu  [developer] Oct 12, 2019 @ 10:03am 
To login as root: sudo -s
To login as a normal user: sudo -u username
< >
Showing 1-9 of 9 comments
Per page: 1530 50

Date Posted: Sep 28, 2019 @ 1:41am
Posts: 9