| The Following User Says Thank You to fatalsaint For This Useful Post: | ||
|
|
2010-01-13
, 16:47
|
|
|
Posts: 850 |
Thanked: 626 times |
Joined on Sep 2009
@ Vienna, Austria
|
#12
|
could be the difference between "root" and "sudo gainroot" ??
One loads a full root profile and the other doesn't.. to my understanding..
| The Following User Says Thank You to SubCore For This Useful Post: | ||
|
|
2012-01-13
, 14:14
|
|
|
Posts: 361 |
Thanked: 219 times |
Joined on Sep 2010
|
#13
|
Yep.
Just checked which useradd though and found it /usr/sbin/useradd.
Will use that.
|
|
2012-01-13
, 14:29
|
|
Posts: 1,808 |
Thanked: 4,272 times |
Joined on Feb 2011
@ Germany
|
#14
|
|
|
2012-01-13
, 16:23
|
|
|
Posts: 361 |
Thanked: 219 times |
Joined on Sep 2010
|
#15
|
...
So, again in theory, if you kill every single process started by or having euid = user, then do the mapping, and then restart them (in the correct order, etc.) then the switch could be done more or less "on-the-fly".
Plus, you might also run two instances of X in different virtual terminals, so that you could swap among them (using chvt).
|
|
2012-01-14
, 19:07
|
|
Posts: 1,808 |
Thanked: 4,272 times |
Joined on Feb 2011
@ Germany
|
#16
|
|
|
2012-01-14
, 19:20
|
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#17
|
My idea is for creating mobile proxy servers with the N900's. Create a basic user account to allow SSH onto it. Then allow people to create ssh tunnels to the N900's and surf wherever they normally couldn't get to. For our China users.
Unfortunately I dropped my phone while installing the OpenSSH server and knocked the battery out. Upon reboot I can no longer install the server. Trying to figure out why.
One loads a full root profile and the other doesn't.. to my understanding..
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!