LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-24-2004, 04:46 PM   #1
m2azer
Member
 
Registered: Sep 2004
Location: USA
Distribution: red hat, fedora & centos
Posts: 202

Rep: Reputation: 30
ssh won't log root in


hi,

i changed my sshd.conf to allow root to login.
if i login as root from the begining i log fine but if i log in as a regular user then try to do su root enter my password nothing will happen and the screan freezes.
i am using qvt/term 5.1 on XP to log in a linux fedora1

thank you
 
Old 12-24-2004, 05:08 PM   #2
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
check your groups. In which groups are your user part of?
 
Old 12-25-2004, 12:38 AM   #3
m2azer
Member
 
Registered: Sep 2004
Location: USA
Distribution: red hat, fedora & centos
Posts: 202

Original Poster
Rep: Reputation: 30
root belong to the root group
 
Old 12-25-2004, 04:31 AM   #4
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
That's odd. It should work. Did you check your logs to see if it indicated any errors?

-twantrd
 
Old 12-25-2004, 03:50 PM   #5
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
Quote:
Originally posted by m2azer
root belong to the root group
i was talking about the user you can not do su with
 
Old 12-25-2004, 06:21 PM   #6
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
First of all, just cause its ssh doesn't mean its fully secure.. I would never enable root login remotely, its only opening your machine up for the likely compromise.

Download Putty and see if it does the same thing when su'ing as a user or just stop su'ing and setup sudo, much more secure.
 
Old 12-25-2004, 08:12 PM   #7
amfoster
Member
 
Registered: Aug 2004
Distribution: debian, SuSE
Posts: 365

Rep: Reputation: 36
check the config files for ssh. (/etc/ssh directory). Perhaps your config file has a line to not allow root access. The lines in the config files that have # signs are the defaults. They are overridden by lines without a # sign.
 
Old 12-25-2004, 11:17 PM   #8
m2azer
Member
 
Registered: Sep 2004
Location: USA
Distribution: red hat, fedora & centos
Posts: 202

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by mrcheeks
i was talking about the user you can not do su with
i log fine using the user name. it the root that i am having a problem with.
any way the user is a part of the user group
 
Old 12-25-2004, 11:25 PM   #9
m2azer
Member
 
Registered: Sep 2004
Location: USA
Distribution: red hat, fedora & centos
Posts: 202

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by amfoster
check the config files for ssh. (/etc/ssh directory). Perhaps your config file has a line to not allow root access. The lines in the config files that have # signs are the defaults. They are overridden by lines without a # sign.
sshd.conf is fine and it allows root to sign in.
my problem is when i am logged in as a regular user then i need to su to root to do some certain tasks thats when the screen on qvt/terms freezes but if i start by login as root it work fine.
 
Old 12-25-2004, 11:37 PM   #10
m2azer
Member
 
Registered: Sep 2004
Location: USA
Distribution: red hat, fedora & centos
Posts: 202

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by trickykid
First of all, just cause its ssh doesn't mean its fully secure.. I would never enable root login remotely, its only opening your machine up for the likely compromise.

Download Putty and see if it does the same thing when su'ing as a user or just stop su'ing and setup sudo, much more secure.

It works fine using Putty. how secure is Putty? which is more better secure program putty or qvt or some other program that you know?

thank you
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH Alert when root attempts to log gamehack Linux - Software 3 06-03-2009 06:44 AM
root cant log in to ssh Red Squirrel Linux - Software 2 08-26-2005 12:17 PM
Log Out root Then Log In As Other User xtremcoder Linux - General 4 10-04-2004 11:01 PM
Log on as Root, or switch to Root, in MDK 9.1 - KDE 3.1.0 snorky Mandriva 3 09-01-2003 12:07 PM
Non-root users can log in to SSH but not read Home Directory? Bizanshee Linux - Software 1 09-18-2002 07:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:48 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
Open Source Consulting | Domain Registration