LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-20-2003, 11:51 AM   #1
new player 2
LQ Newbie
 
Registered: Sep 2003
Posts: 6

Rep: Reputation: 0
How do I 'log in as root' on a remote box?


*lost*

How do I log in as "root" on a remote server?
 
Old 09-20-2003, 11:53 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,361
Blog Entries: 55

Rep: Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547
How do I log in as "root" on a remote server?
You should NOT (have to) do that.
Install and configure "sudo" if necessary, make an unprivileged user account if necessary. Log in as the unprivileged user and use sudo to accomplish single tasks or to su to root.
 
Old 09-20-2003, 11:54 AM   #3
new player 2
LQ Newbie
 
Registered: Sep 2003
Posts: 6

Original Poster
Rep: Reputation: 0
hehe, you don't understand....

I don't know how to connect. *hides*
 
Old 09-20-2003, 12:04 PM   #4
new player 2
LQ Newbie
 
Registered: Sep 2003
Posts: 6

Original Poster
Rep: Reputation: 0
It's crazy. Everyone knows this apparently. Everywhere I search, there is not explanation on it. It's like walking or something. There is no "how to" for walking.

I need to log into "root" on a server so I can upgrade the control panel. heh, I'd give it a shot if I knew how to log in.
 
Old 09-20-2003, 12:31 PM   #5
new player 2
LQ Newbie
 
Registered: Sep 2003
Posts: 6

Original Poster
Rep: Reputation: 0

Last edited by new player 2; 09-20-2003 at 12:41 PM.
 
Old 09-20-2003, 12:42 PM   #6
MiscGeek
Member
 
Registered: Jan 2003
Location: Georgia, US
Distribution: RHEL WS4
Posts: 189

Rep: Reputation: 30
Okay, I think we left him hangin long enough, eh?

Try this "ssh <user>@<servername>", where <user> is a valid user on the remote server and of course <servername> is the name of the server.

Mike
 
Old 09-20-2003, 12:44 PM   #7
new player 2
LQ Newbie
 
Registered: Sep 2003
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by MiscGeek
Okay, I think we left him hangin long enough, eh?

Try this "ssh <user>@<servername>", where <user> is a valid user on the remote server and of course <servername> is the name of the server.

Mike
Good cuz I was loading the gun with my temples name on it.

thanx for the response, but I need you to newbify your information even more then that.

Where do I use "ssh <user@<servername>"?
telnet is my best guess. I honestly don't know!
 
Old 09-20-2003, 12:53 PM   #8
MiscGeek
Member
 
Registered: Jan 2003
Location: Georgia, US
Distribution: RHEL WS4
Posts: 189

Rep: Reputation: 30
ssh is actually a secure replacement for telnet. I would hope the server you are connecting to has telnet disabled.

You run ssh from a terminal on your client box. How to get to a terminal depends on whether you are running in X (GUI) or text mode.

If you're running in a GUI, and without knowing what desktop, Gnome, KDE, etc.., try running xterm. It's installed by default. Then just type the command in at the prompt and hit <Enter>.

If you're running in text mode you should already be at a terminal. Just type the command at the prompt and hit <Enter>.

In either case you should be prompted for a password to login. After that you will be in a terminal on your remote server.

Hope this helped

Last edited by MiscGeek; 09-20-2003 at 12:57 PM.
 
Old 09-20-2003, 06:38 PM   #9
yapp
Member
 
Registered: Apr 2003
Location: Netherlands
Distribution: SuSE (before: Gentoo, Slackware)
Posts: 613

Rep: Reputation: 30
If you're using Windows, you might want to look for PuTTY, and WinSCP. They allow you to establish a shell, and with "scp" and "sftp" you can transfer files over ssh.

ps. did you upgrade your ssh daemon (server) too? The older versions appear to have a security leak.
 
Old 09-20-2003, 06:43 PM   #10
new player 2
LQ Newbie
 
Registered: Sep 2003
Posts: 6

Original Poster
Rep: Reputation: 0
I am using putty, but I don't even know what "scp" and "sftp" is. ha.

No, I didn't upgrade my SSH (server). LOL, I haven't done one thing sucessfully yet.
 
  


Reply


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
send syslogs of aix box to remote rhel box gsr_kashyap AIX 2 04-05-2006 07:32 AM
Cant only log in as root after user log-in. ADJenkins Linux - General 2 11-17-2004 05:18 PM
Log Out root Then Log In As Other User xtremcoder Linux - General 4 10-05-2004 12:01 AM
Log on as Root, or switch to Root, in MDK 9.1 - KDE 3.1.0 snorky Mandriva 3 09-01-2003 01:07 PM
connecting to X from remote box plisken Linux - General 5 05-09-2003 01:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:05 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration