James Hicks wrote: > Per instructions from the moderator below i'm making this post to the > free-bsd questions mailing list. > > > I'm building a samba server. I have an XP laptop using putty via ssh > to remotley administer. I cannot use putty to logon as root directly. > If I logon as my regular user I cannot su/sudo in as root. I tried > modifying the sshd_config file with AllowUsers [EMAIL PROTECTED] This didn't > work. Any suggestions? Im somewhat new to UNIX and nery new to > FreeBSD, so my indepth knowledge is not the best. > > James > > <original message from freebsd-hackers snipped> Direct root login from ssh is disabled for good reason, so please leave it this way. If however you cannot su to root from your user account, this is not a problem with ssh configuration, it is simply a problem of your account not belonging to the wheel group. Check it using the following:
id <your_login_name> you will see a list of groups. If you do not see "wheel" under these groups, you are not able to su. In FreeBSD only members of the wheel group can su root. You can change this with the pw usermod command, something like: pw usermod <your_login_name> -g <your_login_group> -G wheel see man pw for details. As for sudo, it is easy to setup, but you have to install it from ports: cd /usr/ports/security/sudo make install clean then run visudo to configure Hope this helps _______________________________________________ firstname.lastname@example.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"