| Ubuntu This forum is for the discussion of Ubuntu Linux. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
03-01-2012, 10:26 AM
|
#1
|
|
LQ Newbie
Registered: Sep 2011
Location: Rourkela
Distribution: Ubuntu
Posts: 4
Rep: 
|
Ubuntu
11.10: i am logged in as guest : how do i login as a different user via terminal?
|
|
|
|
03-01-2012, 10:52 AM
|
#2
|
|
Senior Member
Registered: Nov 2002
Location: Toronto Canada
Distribution: Slackware 14.0
Posts: 4,616
|
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.
|
|
|
|
03-01-2012, 11:55 AM
|
#3
|
|
Member
Registered: Dec 2003
Posts: 77
Rep:
|
If you just want to execute a command as another user, then sudo is a tool you can use.
|
|
|
|
03-01-2012, 06:41 PM
|
#4
|
|
Senior Member
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing
Posts: 1,671
|
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/
|
|
|
|
03-01-2012, 07:34 PM
|
#5
|
|
Moderator
Registered: Aug 2002
Posts: 10,699
|
Moved: This thread is more suitable in linux-Ubuntu and has been moved accordingly to help your thread/question get the exposure it deserves.
|
|
|
|
03-05-2012, 04:46 PM
|
#6
|
|
Member
Registered: Aug 2011
Location: $HOME
Distribution: Slackware, FreeBSD, Debian
Posts: 50
Rep:
|
Quote:
Originally Posted by bryanl
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
.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:38 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|