Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 03-01-2012, 10:26 AM   #1
Nitesh Agarwal
LQ Newbie
Registered: Sep 2011
Location: Rourkela
Distribution: Ubuntu
Posts: 4

Rep: Reputation: Disabled
Smile Ubuntu

11.10: i am logged in as guest : how do i login as a different user via terminal?
Old 03-01-2012, 10:52 AM   #2
LQ Guru
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,151

Rep: Reputation: 504Reputation: 504Reputation: 504Reputation: 504Reputation: 504Reputation: 504
Did you ssh into the host? If yes, then, 'ssh username@host' you will be prompted for the username you supply, that users password. Enter it, and if all is good, you will be connected.
Old 03-01-2012, 11:55 AM   #3
Registered: Dec 2003
Posts: 96

Rep: Reputation: 35
If you just want to execute a command as another user, then sudo is a tool you can use.
Old 03-01-2012, 06:41 PM   #4
Senior Member
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,621

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
From the top of this page;
Debian This forum is for the discussion of Debian Linux.
Further questions on Ubuntu will recieve better attention posted here;
Old 03-01-2012, 07:34 PM   #5
Registered: Aug 2002
Posts: 15,808

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
Moved: This thread is more suitable in linux-Ubuntu and has been moved accordingly to help your thread/question get the exposure it deserves.
Old 03-05-2012, 04:46 PM   #6
Registered: Aug 2011
Location: $HOME
Distribution: Slackware, FreeBSD, Debian
Posts: 50

Rep: Reputation: 1
Originally Posted by bryanl View Post
If you just want to execute a command as another user, then sudo is a tool you can use.
Yup. Say, you want to run a command as jarubyh, use
sudo jarubyh command



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Expected Changes In Ubuntu 11.10 Oneiric Ocelot Ubuntu Developer Summit Overview LXer Syndicated Linux News 1 05-14-2011 12:38 AM
LXer: Ubuntu live CD will let you upgrade to newer Ubuntu versions Ubuntu 11.04 Development LXer Syndicated Linux News 0 03-01-2011 03:20 PM
LXer: Ubuntu Restricted Extras - Lets Ubuntu Play Everything [Ubuntu for Beginners Sc LXer Syndicated Linux News 0 04-20-2010 12:10 AM

All times are GMT -5. The time now is 10:52 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration