Remotely loging into FreeBSD

Thread Solved

Join Date: Jul 2004
Posts: 1,749
Reputation: nanosani is an unknown quantity at this point 
Solved Threads: 55
Team Colleague
nanosani's Avatar
nanosani nanosani is offline Offline
Unauthenticated Liar

Remotely loging into FreeBSD

 
0
  #1
Feb 16th, 2006
I am using FreeBSD 6 ... and I use putty to remotely login to FreeBSD ... But the problem is that I can login with all my logins except the root ... when I login through root it gives me an error :

server sshd[500] : error : PAM authentication error for root from backupserver.

What should be the cause ??
Reply With Quote Quick reply to this message  
Join Date: Dec 2003
Posts: 2,414
Reputation: alc6379 has a spectacular aura about alc6379 has a spectacular aura about alc6379 has a spectacular aura about 
Solved Threads: 123
Team Colleague
alc6379's Avatar
alc6379 alc6379 is offline Offline
Cookie... That's it

Re: Remotely loging into FreeBSD

 
0
  #2
Feb 17th, 2006
That's by design.

You should never log in remotely as root directly. If your password were the slightest bit insecure, you could be open to a brute-force password attack, and your whole system can be compromised.

As an alternative, add your user to the wheel group. That allows you to use the su command to gain root priviledges. Either that, or study up on the sudo command, which gives a finer-grained control on who can do what, and with what priviledges.
Alex Cavnar, aka alc6379
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 1,749
Reputation: nanosani is an unknown quantity at this point 
Solved Threads: 55
Team Colleague
nanosani's Avatar
nanosani nanosani is offline Offline
Unauthenticated Liar

Re: Remotely loging into FreeBSD

 
0
  #3
Mar 2nd, 2006
Sorry for late reply .. actually I didnt get a chance to get my hands on FreeBSD. But now I've done it ... I added my user to wheel user group and now I can login through root using su command. Thanks for the help. Thread Solved.
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the *nix Software Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC