You are not logged in.

#1 2006-01-21 19:13:53

scrawler
Member
Registered: 2005-06-07
Posts: 318

dialout group

howdy guys,

I just got and configured the slmodem package, then ran pppconfig.  I think I have everything working correctly (hard to test, no phone line).

I can run "pon" as root, and it looks like it tries to connect.

I would, of course, like to connect as my user, but there is no "dialout" group. In the past I have simply added my user to that group

do I need to make the group?  Basically I want to be able to run "pon" and "poff" as a user.

what's the best way to do this?

thanks!

Offline

#2 2006-01-21 19:41:37

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: dialout group

You could use sudo for that. Install sudo and run visudo as root.
Add:
username hostname= NOPASSWD: /usr/bin/pon
where username is your username and hostname is the system hostname. Do the same for poff.
To run them as user, type sudo before the command:
sudo pon
It will not ask for a password but you can change that if you want.

Offline

#3 2006-01-21 21:23:26

scrawler
Member
Registered: 2005-06-07
Posts: 318

Re: dialout group

Snowman wrote:

To run them as user, type sudo before the command:
sudo pon

Thanks.

silly question, but this method won't expose root to the internet, will it?  I'm almost embarrassed to ask (but obviously not quite).

;-)

Offline

Board footer

Powered by FluxBB