[4992] in RedHat Linux List
Re: ppp: /dev/cua1: permission denied
daemon@ATHENA.MIT.EDU (jim akens)
Mon Nov 18 13:52:50 1996
Date: Mon, 18 Nov 1996 13:41:28 -0500 (EST)
From: jim akens <akens@sssg1.whoi.edu>
To: redhat-list@redhat.com
In-Reply-To: <Pine.LNX.3.95.961118040200.408C-100000@inspire.olympus.net>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
THis could also be a lock problem. Look in /usr/spool/locks or
/usr/spool/uucp for a file that is named something like: LCK..cua0. I am
new to redhat. This is where locks are located in slackware.
On Mon, 18 Nov 1996, Dwight Johnson wrote:
> On Mon, 18 Nov 1996, Subhas C. Roy wrote:
>
> > > Since upgrading to 4.0 my ppp script only works from root.
> > > When I try to execute it as a user, I get:
> > >
> > > ppp: /dev/cua1: Permission denied
> >
> > I had some struggle with that. The usual remedy to this problem is:
> > chmod u+s /usr/sbin/pppd. However that didn't help me. Then I found
> > out that the PPP-HOWTO (I based my chat script on it) had a bug: I
> > needed to replace "chat" in the ppp-on-dialer script by
> > /usr/sbin/chat. That fixed the problem. A non-root user does not have
> > /usr/sbin on the default command path. That's why ppp was working from
> > root only. So make sure that pppd and chat etc commands are invoked
> > with their full pathnames in the scripts.
>
> I have this in my scripts:
>
> if /usr/sbin/chat \
> ABORT "NO CARRIER" ABORT BUSY "" ATZ OK \
> ATDT$PHONE CONNECT "" ogin: $USER ssword: \\q$PASSWORD
>
> and
>
> /usr/sbin/pppd /dev/$DEVICE &
>
> as well as:
>
> -r-sr-xr-x 1 root root 74580 Aug 29 10:33 /usr/sbin/pppd
>
> I still get:
>
> ppp: /dev/cua1: Permission denied
>
> Dwight Johnson
> djohnson@olympus.net
>
>
> --
> PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> ________________________________________________________________________
> http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
> http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
> ------------------------------------------------------------------------
> To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null
>
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null