rsh but no rcp as root

Bigby Findrake bigby at ephemeron.org
Mon Apr 17 20:04:52 UTC 2006


In /etc/pam.d/rsh, in the auth line with pam_rhosts.so, make sure you have 
"allow_root" as on option, like this:

auth            required        pam_rhosts.so           no_warn allow_root


On Fri, 14 Apr 2006, Roger Williams wrote:

> I have a machine using FreeBSD 6.0 which wont let me rcp as root.  I can rsh
> as root or rcp as another user but no rcp as root.  I have several 4.10
> machines that work fine as well as a 6.0 machine with no issues.
> My .rhosts(chmod 600) file is in place as well as the hosts.equiv file, and
> inetd is starting all the needed damons, hence the logins as other users and
> my rsh connections.  Any Ideas...Im stumped.
>
> Roger
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>


/-------------------------------------------------------------------------/
"I don't think they could put him in a mental hospital.  On the other
hand, if he were already in, I don't think they'd let him out."

                    finger://bigby@ephemeron.org
                   http://www.ephemeron.org/~bigby/
                   irc://irc.ephemeron.org/#the_pub
                 news://news.ephemeron.org/alt.lemurs
/-------------------------------------------------------------------------/


More information about the freebsd-questions mailing list