On 29/11/06, Walter Faleiro <curtorkar at gmail.com> wrote:
Hi there,
> But rlogin to host1 from other systems works just fine
>> I noted that the rlogin used was
>> /usr/kerberos/bin/rlogin
> whereas on the other system its
>> /usr/bin/rlogin.
>> I need to fix the system to use non kerberos rlogin.
> Can someone update me on the procedure.
Depending on what exactly you want to do,
chmod -x /usr/kerberos/bin/rlogin
might be enough.
Probably a better option is to configure the system the way you want
it to be. So:
which rlogin
tells you that /usr/kerberos/bin/rlogin is the one used, so
echo $PATH
probably shows /usr/kerberos/bin. Unless you've done something
yourself, that is almost certainly set somewhere within /etc.
find /etc -type f | xargs grep /usr/kerberos/bin
will point the finger at files like /etc/profile.d/krb5.csh and
/etc/profile.d/krb5.sh
rpm -qf /etc/profile.d/krb5.sh
will tell you which package installed that (on a machine here, I get
"krb5-workstation-1.2.7-44"), so
rpm -ql krb5-workstation-1.2.7-44
shows me all of the files associated with that package. If you don't
want any of them at all, you can probably get rid of the package.
If you don't have root on the machine, you can re-arrange your own
$PATH to exclude /usr/kerberos/bin, but doing that you'll possibly
miss out on future system updates.
Good luck,
f
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!