1825805 Members
2127 Online
109687 Solutions
New Discussion

rlogin privileges

 
Diego Tabares
Occasional Contributor

rlogin privileges

I try to rlogin into my HP servers, when the following message appears:

"THIS PROGRAM REQUIRES SUPER USER
PRIVILEGES"

How can I solve this problem?.
9 REPLIES 9
linuxfan
Honored Contributor

Re: rlogin privileges

Hi Diego,

Once it issues that message, does it prompt you for the password or does it kick you out of the rlogin session completely?


-Ramesh
They think they know but don't. At least I know I don't know - Socrates
harry d brown jr
Honored Contributor

Re: rlogin privileges

Check the permissions on these:

-r-sr-xr-x 1 root bin 53248 Nov 14 2000 /usr/bin/login
-r-sr-xr-x 1 root bin 36864 Nov 14 2000 /usr/bin/rlogin
Live Free or Die
linuxfan
Honored Contributor

Re: rlogin privileges

Hi Harry,

I was only thinking from rlogind point of view and i was thinking that maybe the options of -l and -B were used on the server and the banner file was giving that output. But you are right, if the permissions of rlogin are not right then he would get the error

rlogin: This program requires super user privileges

Diego, check the permissions if they are not right you can change them using

chmod 4555 /usr/bin/rlogin

-Regards
Ramesh
They think they know but don't. At least I know I don't know - Socrates
Diego Tabares
Occasional Contributor

Re: rlogin privileges

Ramesh,

After I try to rlogin into the server and the message appears, It kicks me out of the rlogin session completely.
I checked the permissions of both files and everything is Ok. They are with the correct permissions. But the problem continue... What can I do?.
linuxfan
Honored Contributor

Re: rlogin privileges

Hi Diego,

On the machine you are rlogging into, look for the rlogin entry in /etc/inetd.conf file, you could do something like
grep rlogind /etc/inetd.conf

Is rlogind being called with any arguments?

-Ramesh
They think they know but don't. At least I know I don't know - Socrates
Sachin Patel
Honored Contributor

Re: rlogin privileges

Hi diego,
Your /etc/inetd.conf file should have entry like this
login stream tcp nowait root /usr/lbin/rlogind rlogind
and
klogin stream tcp nowait root /usr/lbin/rlogind rlogind -K

If they are commented then uncomment it and reread the configuration
#/usr/sbin/inetd -c

Sachin
Is photography a hobby or another way to spend $
Diego Tabares
Occasional Contributor

Re: rlogin privileges

Hi Sachin,

I checked the /etc/inetd.conf and uncommented the line that start with "klogin..."
After that, I executed the command to reread the modified file, but the problem persist.
Do you have any other possible solution?.

Thanks, Diego
Deshpande Prashant
Honored Contributor

Re: rlogin privileges

Hi
Check the /etc/services file for klogin
klogin 543/tcp #kerbose rlogin

The above port need to be between 512 - 1023, else rlogin aborts connection.
Check man rlogin.

Thanks.
Prashant Deshpande.
Take it as it comes.
Sachin Patel
Honored Contributor

Re: rlogin privileges

Hi Diego,
Check /etc/services file
login 513/tcp # Remote Login
klogin 543/tcp # Kerberos Rlogin -kfall

Don't forget to reread the configuration

Also check /var/adm/inetd.sec file it is optional security file

Sachin
Is photography a hobby or another way to spend $