Re: FW: Request to mailing list freebsd-hackers rejected
- From: Manolis Kiagias <sonicy@xxxxxxxxx>
- Date: Sat, 11 Aug 2007 23:08:08 +0300
James Hicks wrote:
Per instructions from the moderator below i'm making this post to theDirect root login from ssh is disabled for good reason, so please leave
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 root@ip. 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>
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
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"
- References:
- FW: Request to mailing list freebsd-hackers rejected
- From: James Hicks
- FW: Request to mailing list freebsd-hackers rejected
- Prev by Date: FW: Request to mailing list freebsd-hackers rejected
- Next by Date: Greeting and Excellent SEO services Offer from SEO Analyzer
- Previous by thread: FW: Request to mailing list freebsd-hackers rejected
- Next by thread: Greeting and Excellent SEO services Offer from SEO Analyzer
- Index(es):
Relevant Pages
|