Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Can't Login From A Remote Machine
fandfurious88
post Aug 23 2004, 12:23 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 16
Joined: 9-April 04
Member No.: 2,746



I run Gnome under Red Hat 7.3. A while ago I deleted my root password (don't ask wink.gif ). Though I have reset my root password, I can't login as root remotely through telnet or ssh sessions anymore. Have I permanently lost this privilege and must I now always login as another account and use "su"?
Go to the top of the page
 
+Quote Post
Jim
post Aug 24 2004, 01:25 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,280
Joined: 19-November 03
From: University of Minnesota- TC
Member No.: 1,828



Wait wait, you deleated your root password and than reset it? So now you can log in as root at the box, but not via ssh? And when you log in as user via ssh you can SU using the new password? Sounds like its just a fluke thing in SSH. You might be able to get it with the ssh config file. I will snoop around a little.


--------------------
--Jim Lester
jim@linuxhelp.net

Distro: Gentoo
System: AMD Athlon 3000+ XP 2.166 GHz
NVIDIA nForce2 IGP Chipset
1GB 333 MHz DDR SDRAM
NVIDIA nForce2 Dual Head 64 MB Graphics

Server Distro: CentOS
Go to the top of the page
 
+Quote Post
fandfurious88
post Aug 24 2004, 06:20 PM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 16
Joined: 9-April 04
Member No.: 2,746



Yeah... I used passwd to delete the root password, so I could login as root without a password (dumb I know). I then used passwd again to set a root password. Even when I login with telnet I can't login as root, but I can su from another username.
Go to the top of the page
 
+Quote Post
Termina
post Aug 26 2004, 10:25 AM
Post #4


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404



Is your root account even there anymore? cat /etc/passwd | grep root

If so, I'm not sure what's up. Look below to know what the line should look like. Otherwise, your root account is gone, time to readd it.
su
(pass)
useradd root
passwd root
(pass)
(pass again)
vi /etc/passwd
(Find root entry, make it look like this:)
root:x:0:0:root:/root:/bin/bash

Otherwise, have you tried restarting relnet/ssh?


--------------------
*Points finger at the author above him* They're a witch! Burn them!
---
Vist my website!
Join me in IRC! Server: st0rage.org Channel: #UnhandledExceptions
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 17th December 2017 - 10:25 PM