[clue] ubuntu admin login as user

Ken Weinert kweinert at gmail.com
Fri Mar 11 11:09:39 MST 2011


Two quick things to try:

sudo su - hisusername

this will login as if he were logging in.

The other thing to try is that after you log in as him set the DISPLAY
variable.

You might need both.


On Fri, Mar 11, 2011 at 11:04 AM, Yaverot <Yaverot at computermail.net> wrote:
> Okay, I'm trying to fix a problem with my Dad's system. I got him running ubuntu.
>
> Loging in is easy, I have my own account.
> switching to root (or using sudo on individual commands) also easy.
>
> I can:
> sudo su hisusername
> but then the program I want to run can't access the running copy of X.
>
> I don't know (nor do I want to) his password.  I don't want to change his password.
> I'd prefer to fix this while he isn't around.
> Is there a way for me to do an admin/root login of his account that gives me graphical access?
>
> Unfortunately everything I've tried to google tells me how to login as root by user, instead of login as user by root.
> _______________________________________________
> clue mailing list
> clue at cluedenver.org
> http://cluedenver.org/mailman/listinfo/clue
>



-- 
Ken Weinert   kweinert at gmail.com


More information about the clue mailing list