At the moment I have to su and then run the pon script to go online. That's fine for me, but my machine will soon be multi-user, and I don't want the others to have root's password!
What permissions would I need to do to so that normal users could simply type pon to connect?
On a similar note, my digital camera downloads pics via the serial port /dev/ttyS0. Unfortunately I have to be root to do this. I have changed the permissions on that device before, but it keeps changing it back???? Weird!
What's my best option to solve these probs? permissions on the port/pppd/pon? or set up something with sudo?
TIA Ricardo
Ricardo Campos wrote:
At the moment I have to su and then run the pon script to go online. That's fine for me, but my machine will soon be multi-user, and I don't want the others to have root's password!
What permissions would I need to do to so that normal users could simply type pon to connect?
put them in the dialup or dialout or whatever it is called group.
On a similar note, my digital camera downloads pics via the serial port /dev/ttyS0. Unfortunately I have to be root to do this. I have changed the permissions on that device before, but it keeps changing it back???? Weird!
What's my best option to solve these probs? permissions on the port/pppd/pon? or set up something with sudo?
Don't change permissions on devices if you can help it, i guess the system is changing them back as a security measure, again put users in the group for that device is what you need to do.
Adam
On Fri, Aug 30, 2002 at 02:40:35PM +0000, Ricardo Campos said:
At the moment I have to su and then run the pon script to go online. That's fine for me, but my machine will soon be multi-user, and I don't want the others to have root's password!
I presume this is on debian.. use pppconfig and add the user there.