LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   ssh won't log root in (https://www.linuxquestions.org/questions/linux-general-1/ssh-wont-log-root-in-270014/)

m2azer 12-24-2004 04:46 PM

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

mrcheeks 12-24-2004 05:08 PM

check your groups. In which groups are your user part of?

m2azer 12-25-2004 12:38 AM

root belong to the root group

twantrd 12-25-2004 04:31 AM

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

-twantrd

mrcheeks 12-25-2004 03:50 PM

Quote:

Originally posted by m2azer
root belong to the root group
i was talking about the user you can not do su with

trickykid 12-25-2004 06:21 PM

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.

amfoster 12-25-2004 08:12 PM

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.

m2azer 12-25-2004 11:17 PM

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

m2azer 12-25-2004 11:25 PM

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.

m2azer 12-25-2004 11:37 PM

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


All times are GMT -5. The time now is 03:59 AM.