* Re: [Re: [gentoo-dev] Permissions to dial out ?]
@ 2001-07-11 2:43 Viktor Lakics
2001-07-11 2:56 ` Jerry A!
0 siblings, 1 reply; 5+ messages in thread
From: Viktor Lakics @ 2001-07-11 2:43 UTC (permalink / raw
To: gentoo-dev
Thanks Jerry,
I will look into it (the suid issue) tonight when I get home.
BTW I use wvdial and kppp, both has this issue.
Viktor
Jerry A! <jerry@thehutt.org> wrote:
> On Wed, Jul 11, 2001 at 09:04:07AM +0100, Viktor Lakics wrote:
> : Hi All,
> :
> : How can I give access to normal users to use serial ports? (I want to use
a
> : modem on one of the serial ports and a palm cradle on the other)
> :
> : I added the user to the dialout group - no success to use the modem.
>
> That's the correct solution.
>
> : It says : ttyS0: Device or resource is busy (root can use the device
without
> : problems)
>
> Make sure that they're using /dev/ttyS0 (/dev/cua0 is owned by root).
> It sounds as though another program still has that device open. As a
> matter of debugging, you may want to try making the dialing program suid
> root and see if it works then.
>
> BTW, what program are you using?
>
> --Jerry
>
> name: Jerry Alexandratos || Open-Source software isn't a
> phone: 703.599.6023 || matter of life or death...
> email: jerry@thehutt.org || ...It's much more important
> || than that!
>
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@cvs.gentoo.org
> http://cvs.gentoo.org/mailman/listinfo/gentoo-dev
----Viktor Lakics----
Through the Internet:
lakicsv@usa.net
____________________________________________________________________
Get free email and a permanent address at http://www.amexmail.com/?A=1
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Re: [gentoo-dev] Permissions to dial out ?]
2001-07-11 2:43 [Re: [gentoo-dev] Permissions to dial out ?] Viktor Lakics
@ 2001-07-11 2:56 ` Jerry A!
2001-07-11 14:31 ` [gentoo-dev] Devfs permissions ?! [was:Permissions " Viktor Lakics
0 siblings, 1 reply; 5+ messages in thread
From: Jerry A! @ 2001-07-11 2:56 UTC (permalink / raw
To: gentoo-dev
On Wed, Jul 11, 2001 at 09:41:21AM +0100, Viktor Lakics wrote:
: Thanks Jerry,
:
: I will look into it (the suid issue) tonight when I get home.
:
: BTW I use wvdial and kppp, both has this issue.
Aren't those both frontends to pppd? What happens when you try to
fire-up pppd as a user and not as root? Also, do you have pppd
listening for incoming connections at the same time that you're trying
to dial out?
Just some more stuff to try out.
--Jerry
name: Jerry Alexandratos || Open-Source software isn't a
phone: 703.599.6023 || matter of life or death...
email: jerry@thehutt.org || ...It's much more important
|| than that!
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-dev] Devfs permissions ?! [was:Permissions to dial out ?]
2001-07-11 2:56 ` Jerry A!
@ 2001-07-11 14:31 ` Viktor Lakics
2001-07-11 16:02 ` Terje Kvernes
2001-07-12 10:34 ` Daniel Robbins
0 siblings, 2 replies; 5+ messages in thread
From: Viktor Lakics @ 2001-07-11 14:31 UTC (permalink / raw
To: gentoo-dev
Jerry,
I tried chmod 666 /dev/ttyS0, and suddenly everything worked. I was
able to dial out as a normal user. I was happy. Then I rebooted and
the problem came back. The permissions changed back to what it was.
It seems to be that they are automatically generated at boot time.
Now what?
I know nothing about devfs, but I now that I have this thing mounted
automatically (I guess is built in the kernel - I do nor have to
pass anything to grub). Is it possible that I have to set the
permissions somehow through this devfs?!
If yes, how? What is the utility to do that?
Viktor
On Wed, Jul 11, 2001 at 04:54:45AM -0400, Jerry A! wrote:
> On Wed, Jul 11, 2001 at 09:41:21AM +0100, Viktor Lakics wrote:
> : Thanks Jerry,
> :
> : I will look into it (the suid issue) tonight when I get home.
> :
> : BTW I use wvdial and kppp, both has this issue.
>
> Aren't those both frontends to pppd? What happens when you try to
> fire-up pppd as a user and not as root? Also, do you have pppd
> listening for incoming connections at the same time that you're trying
> to dial out?
>
> Just some more stuff to try out.
>
> --Jerry
>
> name: Jerry Alexandratos || Open-Source software isn't a
> phone: 703.599.6023 || matter of life or death...
> email: jerry@thehutt.org || ...It's much more important
> || than that!
>
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@cvs.gentoo.org
> http://cvs.gentoo.org/mailman/listinfo/gentoo-dev
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-dev] Devfs permissions ?! [was:Permissions to dial out ?]
2001-07-11 14:31 ` [gentoo-dev] Devfs permissions ?! [was:Permissions " Viktor Lakics
@ 2001-07-11 16:02 ` Terje Kvernes
2001-07-12 10:34 ` Daniel Robbins
1 sibling, 0 replies; 5+ messages in thread
From: Terje Kvernes @ 2001-07-11 16:02 UTC (permalink / raw
To: gentoo-dev
Viktor Lakics <lakicsv@usa.net> writes:
> I tried chmod 666 /dev/ttyS0, and suddenly everything worked. I was
> able to dial out as a normal user. I was happy. Then I rebooted and
> the problem came back. The permissions changed back to what it was.
> It seems to be that they are automatically generated at boot time.
ah. hm. right. I sort of smell devfs here. getting devfs to store
permissions between boots isn't trivial.
> Now what?
you might want to fiddle with pam for stuff like this. or manually
make a small hack for it.
> I know nothing about devfs, but I now that I have this thing mounted
> automatically (I guess is built in the kernel - I do nor have to
> pass anything to grub). Is it possible that I have to set the
> permissions somehow through this devfs?!
sort of, yes.
> If yes, how? What is the utility to do that?
<url: http://www.atnf.csiro.au/~rgooch/linux/docs/devfs.html#persistence >
--
Terje
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-dev] Devfs permissions ?! [was:Permissions to dial out ?]
2001-07-11 14:31 ` [gentoo-dev] Devfs permissions ?! [was:Permissions " Viktor Lakics
2001-07-11 16:02 ` Terje Kvernes
@ 2001-07-12 10:34 ` Daniel Robbins
1 sibling, 0 replies; 5+ messages in thread
From: Daniel Robbins @ 2001-07-12 10:34 UTC (permalink / raw
To: gentoo-dev
On Wed, Jul 11, 2001 at 09:24:42PM +0100, Viktor Lakics wrote:
> Jerry,
>
> I tried chmod 666 /dev/ttyS0, and suddenly everything worked. I was
> able to dial out as a normal user. I was happy. Then I rebooted and
> the problem came back. The permissions changed back to what it was.
> It seems to be that they are automatically generated at boot time.
>
> Now what?
>
> I know nothing about devfs, but I now that I have this thing mounted
> automatically (I guess is built in the kernel - I do nor have to
> pass anything to grub). Is it possible that I have to set the
> permissions somehow through this devfs?!
Gentoo Linux 1.0_rc5 contains a system to store permissions, but in
order for it to work, you must *not* enable the "Automatically mount
devfs at kernel boot" option. If you fix your kernel so that this
option is disabled, then your perms should get stored. This bug will
be fixed in 1.0_rc6.
Best Regards,
--
Daniel Robbins <drobbins@gentoo.org>
President/CEO http://www.gentoo.org
Gentoo Technologies, Inc.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-07-12 16:33 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-11 2:43 [Re: [gentoo-dev] Permissions to dial out ?] Viktor Lakics
2001-07-11 2:56 ` Jerry A!
2001-07-11 14:31 ` [gentoo-dev] Devfs permissions ?! [was:Permissions " Viktor Lakics
2001-07-11 16:02 ` Terje Kvernes
2001-07-12 10:34 ` Daniel Robbins
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox