View previous topic :: View next topic |
Author |
Message |
dgrabow n00b
Joined: 20 Jun 2002 Posts: 13
|
Posted: Sat Jun 22, 2002 12:01 am Post subject: rlogin |
|
|
I've installed rlogin, but it doesn't work from my user account:
rcmd: socket: Permission denied
however, it works from the root account. What permissions do I have to set to allow this from the user account? |
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Sat Jun 22, 2002 12:10 am Post subject: Re: rlogin |
|
|
dgrabow wrote: | What permissions do I have to set to allow this from the user account? |
Not sure for rlogin, but you definitely have to add the user account to a specific group. Look in /etc/group and chances are, you'll see a group in there that makes sense. (like, rlogin ) _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Sat Jun 22, 2002 12:53 am Post subject: |
|
|
rlogin might be trying to bind to a priviledged port (i.e. < 1024). I don't have a manpage on me, so I can't tell you, but you might want to look in to that. |
|
Back to top |
|
|
tomte Tux's lil' helper
Joined: 08 May 2002 Posts: 122
|
Posted: Sat Jun 22, 2002 1:58 am Post subject: |
|
|
if you can avoid it, don't use rlogin or telnet, try to get the habit to use ssh or the like for all your remote connections.
allowing connections via rlogin or telnet isn't a good idea if you aren't sure you can trust anyone that may connect to them (that means everyone if the machine is connected to the net)
just a hint in the IHMO right direction.
regards,
tom |
|
Back to top |
|
|
dgrabow n00b
Joined: 20 Jun 2002 Posts: 13
|
Posted: Sat Jun 22, 2002 8:26 pm Post subject: |
|
|
I would normally use ssh, but this is going over a VPN into work, and I don't have an sshd running there. It should be encrypted by the VPN though.
Anyway, I figured out the problem.
chown root rlogin
chgrp root rlogin
chmod 4555 rlogin
This should allow a regular user to use rlogin. |
|
Back to top |
|
|
|