Solved

Ubuntu: Switch to a user

Posted on 2011-09-11
2
358 Views
Last Modified: 2012-05-12
Hi,

1) I have a linux workstation (Ubuntu 10.04.3)

2) I open a terminal and it appers like this:

Jack@ubuntu-10:~$

3) Now, I want to change to "root"; i do the followings:
sudo -s
4) And it changes like this --> root@ubuntu-10:~#

5) After quite sometimes, I want to change back to "jack@ubuntu-10:~$"
- I issue the command --> sudo jack
- The message: sudo: jack: command not found

6) My question: What is the command to change from "root@ubuntu-10:~#" to "jack@ubuntu-10:~$?

7) Thank you

tjie
0
Comment
Question by:tjie
2 Comments
 
LVL 48

Accepted Solution

by:
Tintin earned 400 total points
ID: 36519681
Type in

exit

or

Ctrl-D
0
 
LVL 68

Assisted Solution

by:woolmilkporc
woolmilkporc earned 100 total points
ID: 36519684
Issue

exit

to return to your original shell (the one you issued "sudo" from).

wmp
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now