Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't dial as normal user
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
Retired General
n00b
n00b


Joined: 17 Aug 2002
Posts: 58

PostPosted: Sat Aug 17, 2002 7:58 pm    Post subject: Can't dial as normal user Reply with quote

I searched the forums but coun't find a solution to my problem.
I can't dial to my ISP when I log in as a normal user.

I added my normal user to the following groups:
users tty wheel audio cdrom dialout cdrw and set my modem
device /dev/tts/4 to be in group tty. When I try to dial with wvdial
however it says

Code:

--> Cannot open /dev/tts/4: Device or resource busy


I can dial only when I su to root
Anyone has an idea what I can do?
Back to top
View user's profile Send private message
tomas
n00b
n00b


Joined: 05 Jul 2002
Posts: 62
Location: Sweden

PostPosted: Sat Aug 17, 2002 8:42 pm    Post subject: Reply with quote

I looked around a bit, and the problem you have is probably due to wrong permissions. So:
* Check that you have the correct permissions on the modem device
* Check that you have write access to /var/lock
That's what I found, anyway :)

EDIT: http://open.nit.ca/lists/archives/wvdial/msg00069.html
Back to top
View user's profile Send private message
Retired General
n00b
n00b


Joined: 17 Aug 2002
Posts: 58

PostPosted: Sun Aug 18, 2002 7:15 am    Post subject: Doesn't work Reply with quote

I have write pemissions to /var/lock but when I try to change the permissions of my modem device it changes back. The modem device has read/write by owner (root) permissions and read by group. When I set it to read/write by group it just changes back and I still can't dial.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20588

PostPosted: Sun Aug 18, 2002 7:21 am    Post subject: Reply with quote

Possibly this thread.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Retired General
n00b
n00b


Joined: 17 Aug 2002
Posts: 58

PostPosted: Sun Aug 18, 2002 8:32 am    Post subject: Reply with quote

I tried all the suggestions in that thread but I still can't dial.
Back to top
View user's profile Send private message
Retired General
n00b
n00b


Joined: 17 Aug 2002
Posts: 58

PostPosted: Tue Aug 20, 2002 4:48 pm    Post subject: Yes! Reply with quote

It's working!!!
I made the group owner of /dev/tts/4 group tty and added the following to my /etc/devfsd.conf
Code:

REGISTER   tts/.*        PERMISSIONS root.tty 660


and I can now dial as a normal user.

Anyway, if there are people here who know a bit about devfsd and file permissions (cause I don't), would you please tell me if this can somehow do more harm than good.
Back to top
View user's profile Send private message
trooper
n00b
n00b


Joined: 02 Sep 2002
Posts: 54
Location: warrenbayne, victoria, australia

PostPosted: Thu Nov 21, 2002 7:12 am    Post subject: eeeeeeekkkkkkkkkkkkkkkkkkkk Reply with quote

g'day,

this is a message from the edge of insanity :evil:

i recently spent many many hours upgrading from 1.2 to 1.4rc1. thanks to the fab scripts supplied by ,Road_Runner, Humpback, and carpaski it was a breeze. great job blokes. i just kept saying yes and it all worked wonderfully.

forewarned with all the messages that incidental horrors might occur i plunged on. ignorance about what i'm doing has never stopped me yet (i attend a lot of software funerals).

after the upgrade (at last he gets to the point) i could no longer connect to the net via a user account (su can still do it) always get that ubiquitous "device or resource busy 'bitch' message". :? :lol: (is always get & ubiquitous tautology?)

the sticking point appears to to be access to the dev/tts/LT0 (internal linmodem). the only user has access to tty. wheel, dialout, users, and daemon.with ps au it appears that root is not accessing /dev/tts/LT0 either! so who's using my device hey? lol

*sigh* rw access to pap secrets/chapsecrets,resolv.conf; and any other permission you can imagine and suggestions that have been mentioned in this thread & it's cross references has been tried and failed. aaaaaaaaaarrrrrrrrrrrrrrggggggg!!!!!!!!!

an easy fix would be to setuid to /dev/tts/LT0. group and others already had +rw permissions . i know there is a symlink between /dev/ttyS0 and /dev/tts/LT0 ...could this be a cause?? under my /dev i do not have a ttyS0 showing?

(i'm here at last) now, when i try as root, via mc and gentoo file managers to change the set uid parameter it appears to change but after a restart/reboot it always reverts to no suid. i have also used the world +24660 chmod but the box still reverts to no suid 20660 upon restart.

why would something that i change as root via the command line & midnight commander etc, blah blah, blah, revert back to previous permissions? how can i make these changes permanent?

none of the changes i make in this area are permanent and i'm about to go mental in frustration :D

any suggestions/valium gratefully received.

regards,

trooper
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