DIP HELP!!! non-root users of DIP

DIP HELP!!! non-root users of DIP

Post by Daniel J. Langri » Tue, 07 Mar 1995 11:23:17



PLEASE HELP!!!

I can't get non-root users of dip to be able to dial
out...

First, it tries to create dip.pid in /etc, and gets
"permission denied".  Fine.  This is my home computer
and I'm the only user.  I'll make /etc 777 so that
dip can create the file.

Now, whenever I run a dip script, everything checks
out fine, but whenever I try to rlogin to anywhere,
I get:

filigree % rlogin mussel

mussel: network is unreachable

How can I figure out what's going on???

Thanks,
Dan
--

Dan Langrill

 
 
 

DIP HELP!!! non-root users of DIP

Post by Hans Verbrug » Wed, 08 Mar 1995 06:10:45




Quote:> PLEASE HELP!!!

> I can't get non-root users of dip to be able to dial
> out...

> First, it tries to create dip.pid in /etc, and gets
> "permission denied".  Fine.  This is my home computer
> and I'm the only user.  I'll make /etc 777 so that
> dip can create the file.

> Now, whenever I run a dip script, everything checks
> out fine, but whenever I try to rlogin to anywhere,
> I get:

> filigree % rlogin mussel

> mussel: network is unreachable

> How can I figure out what's going on???

dip must be owned by root and setuid:

chmod 2755 dip

_Hans

______________________________________________________________________

            'I never set out to be weird.
                 It was always other people who called me weird.' [fz]
______________________________________________________________________

 
 
 

DIP HELP!!! non-root users of DIP

Post by Uri Blumenth » Thu, 09 Mar 1995 05:20:41


Why can't you read the README files in DIP dist kit?!
It spells out clearly that DIP *has* to be set-uid
root.
--
Regards,

------------
<Disclaimer>
I'm not sure which upsets me more: that people are so unwilling to accept
responsibility for their own actions, or that they are so eager to regulate
everyone else's.
 
 
 

DIP HELP!!! non-root users of DIP

Post by Dan Langri » Wed, 15 Mar 1995 01:44:39




>Why can't you read the README files in DIP dist kit?!
>It spells out clearly that DIP *has* to be set-uid
>root.

That's funny...It doesn't seem to say it in the distribution
kit that I'm reading...

filigree 158 % grep root README*

README:3. "chown root.dip /usr/sbin/dip"
README.NEWBIES:root ~/# ping 130.149.1.10          try if connection is okay
README.SKEY:will have to run as root, so that it can update /etc/skeykeys after a
README.SKEY:successful login. [I think that diplogin already has to run as root,
README.SKEY:that diplogin has to run suid root, which is not a good idea, as
README.SKEY:root, because of the security implications.  How do people normally

I have SKEY compiled out, so why should I read that?

The README says to do a chown on dip.  It doesn't say that you can't
use dip unless you're root.

Maybe you should update the README more clearly...

Anyhow, who reads directions? :-)
--

Dan Langrill

 
 
 

DIP HELP!!! non-root users of DIP

Post by Uri Blumenth » Thu, 16 Mar 1995 08:37:39



> >Why can't you read the README files in DIP dist kit?!
> >It spells out clearly that DIP *has* to be set-uid
> >root.

> That's funny...It doesn't seem to say it in the distribution
> kit that I'm reading...

I said "READ the F README files", not GREP them. (:-) (:-(

Quote:> filigree 158 % grep root README*

> README:3. "chown root.dip /usr/sbin/dip"

Were you not smart-assy and actually read the file - you'd see:

3. "chown root.dip /usr/sbin/dip"

4. "chmod u=rx,g=x,o= /usr/sbin/dip"

5. Now you can "chmod u+s /usr/sbin/dip"

Quote:> I have SKEY compiled out, so why should I read that?

So don't read THAT, read just the README file... For
your own sake, by Lord...

Quote:> The README says to do a chown on dip.  It doesn't say that you can't
> use dip unless you're root.
> Maybe you should update the README more clearly...

Learn how to read...

Quote:> Anyhow, who reads directions? :-)

Yes, that''s the problem these days - illiteracy to the point
of complete inability to read (:-).
--
Regards,

------------
<Disclaimer>
I'm not sure which upsets me more: that people are so unwilling to accept
responsibility for their own actions, or that they are so eager to regulate
everyone else's.
 
 
 

1. Using DIP as non-root user...how?

I'm trying to get a dynamic SLIP connection to a terminal server
at my univeristy.  The only problem is that it only works when I
log in as root.  I don't like using root because I tend to mess up
and erase important files.  :-)  I hate that.  Anyway, I read the
NET-2 HOWTO and the suggestion in there didn't work.

'chmod 6750 dip' denies access for me to run dip at all when I'm
not root.

What happens is that I dial o.k. and get the remote IP adress
and local address fine.  After DIP finishes running my script file
I get the error DIP: Cannot create /etc/dip.pid.  Permision
denied.  Hmmm...I tried giving a non-root user write access to
the /etc directory with using chmod.  No luck.  I really don't
want to do that anyway.  So I changed the permissions back to
normal.  Any suggestions?  Thanks.

~Jon~

2. Oddity with Linux 2.1.19+ networking

3. DIP with non-root user

4. Pentium with CD -> 486 without

5. Possible to run DIP by non-root users?

6. Hitachi Double Speed CD-ROM Drive

7. run a non-root user's program from a non-root user

8. no /dev/pcmcia after install (mandrake8.2)

9. dip dip dip

10. DIP for non-root

11. DIP from cron as non-root - no go?

12. Dip needs help with dip

13. RH8 - Problem w/non-root users starting root programs