Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Slackware Linux Help > Dial-up modem works fine in root, but permission denied to ttyS0 when user tries

Forgot Password?
 Slackware Linux Help   For help and Discussion about Slackware linux

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 02-08-2007   #1 (permalink)
Just Joined!
 
Join Date: Nov 2006
Posts: 10
Dial-up modem works fine in root, but permission denied to ttyS0 when user tries

Question about Vectorlinux - hope you don't mind, seeing as it's Slackware-based...

I just reactivated an old dial-up account, and dusted down my very Linux-friendly serial Creative Modem Blaster.

It dials up and connects perfectly for root, but when I log in as user, it shows me the finger and says permission denied to ttyS0 (or something very similar). I wondered if it was a file permission problem, so I logged in as root and gave /dev/ttyS0 read and write permission for everyone, but that didn't fix it.

I stopped there, having thought that I'd better ask before causing any chaos!

All ideas welcome... I'm sure it must be something easy, as it dials up so well as root. But I know the risk of surfing as root! Too scary.

Thanks
gatesofhell is offline  


Reply With Quote
Old 02-08-2007   #2 (permalink)
Linux Guru
 
Juan Pablo's Avatar
 
Join Date: Mar 2006
Location: /home/south_america/ecuador/quito
Posts: 2,060
Send a message via MSN to Juan Pablo
ls -l /dev/ttyS0 post output here

I think you need to be in the dialout group
__________________
Put your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
Linux User #425940

Don't PM me with questions, instead post in the forums
Juan Pablo is offline   Reply With Quote
Old 02-08-2007   #3 (permalink)
Just Joined!
 
Join Date: Nov 2006
Posts: 10
Dial-up modem root/user issue solved

Thanks for your post Juan

It is now solved, and exactly as you said - it's a group issue.

Someone on another forum suggested I type this in root:

usermod -G lp,floppy,audio,video,cdrom,games,scanner,users,tt y myusername

(the tty doesn't have spaces, but in this forum there is a font display error which will not allow me to show these characters with no spaces when part of this string - very curious!)

It worked perfectly...
gatesofhell is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 05:43 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2