Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Apr 2006 13:04:49 -0700 (PDT)
From:      Bigby Findrake <bigby@ephemeron.org>
To:        Roger Williams <roger@roger.jp>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: rsh but no rcp as root
Message-ID:  <20060417130414.L66104@home.ephemeron.org>
In-Reply-To: <FHENIOGEFPJPJIEPDEIBAEBJCLAA.roger@roger.jp>
References:  <FHENIOGEFPJPJIEPDEIBAEBJCLAA.roger@roger.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@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
/-------------------------------------------------------------------------/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060417130414.L66104>