LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  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
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
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
bryanl
Member
 
Registered: Dec 2003
Posts: 97

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
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
From the top of this page;
Quote:
Debian This forum is for the discussion of Debian Linux.
Further questions on Ubuntu will recieve better attention posted here;
http://www.linuxquestions.org/questions/ubuntu-63/
 
Old 03-01-2012, 07:34 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
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
jarubyh
Member
 
Registered: Aug 2011
Location: $HOME
Distribution: Slackware, FreeBSD, Debian
Posts: 50

Rep: Reputation: 1
Quote:
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
Code:
sudo jarubyh command
.
 
  


Reply

Tags
terminal



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 09:43 AM.

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