Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
rlogin
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
dgrabow
n00b
n00b


Joined: 20 Jun 2002
Posts: 13

PostPosted: Sat Jun 22, 2002 12:01 am    Post subject: rlogin Reply with quote

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
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Sat Jun 22, 2002 12:10 am    Post subject: Re: rlogin Reply with quote

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
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Sat Jun 22, 2002 12:53 am    Post subject: Reply with quote

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
View user's profile Send private message
tomte
Tux's lil' helper
Tux's lil' helper


Joined: 08 May 2002
Posts: 122

PostPosted: Sat Jun 22, 2002 1:58 am    Post subject: Reply with quote

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
View user's profile Send private message
dgrabow
n00b
n00b


Joined: 20 Jun 2002
Posts: 13

PostPosted: Sat Jun 22, 2002 8:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum