face a lot of problem after install da on freebsd 5.4

onegun

Verified User
Joined
Jan 25, 2006
Messages
7
after install da with freebsd, i cannog login as wheel user then su to root anymore, everytime the ssh program ask me to enter password even though i enter correctly, and ftp also down, user cannot ftp to the site
A new message or response with subject:

The service 'proftpd' on server globoxhost.net is currently down

has arrived for you to view.
Follow this link to view it:




======================================================
Automatically generated email produced by DirectAdmin 1.27.0

Do Not Reply.


please help, i have checked sshd_config allowusers root is there
 
if allowusers root is the only allowusers line and you have disabled root login then you need someone to login to console to fix it.

allowusers will only enable the accounts specified to login via ssh.

with root specified only root can login via ssh, not any other user.

if root login is disabled using PermitRootLogin then that will of course disallow root login via ssh.

This means no account can login to your server via sshd.

If you have no other way into your server that gives you root access then you need to get someone to login via the console and fix your sshd configuration.
 
no,i can login root at datacenter, there is a lot of "allowusers" lines, not only root also admin etc. i also enable the direct root login, the problem is still cannot login root through ssh plus the ftp is not working, how to solve the ftp problem?
 
if you can login as admin and su but want to login as root directly and it fails then reread my post and I believe the answer is there.
 
Check in /var/log/messages for the ftp problem once you can get on ssh as root.

In order to su to root you must be in the wheel group.

You can run this command as root to add you to that group.

Code:
/usr/sbin/pw groupmod wheel -m [B]your-login-here[/B]

Replace the your-login-here with your login that you need to have su access. Remember you must login to ssh first as the root user to do this. So you may have to enable root logins temporarly on ssh.
 
Back
Top