LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.0 + 14.1
Posts: 4,834

Rep: Reputation: 431Reputation: 431Reputation: 431Reputation: 431Reputation: 431
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: 85

Rep: Reputation: 33
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,179

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
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: 11,806

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
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


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 08:16 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration