-
Senior Member
registered user
pon and poff as non-root user
I like pon and poff rather than kppp.
I used to be able to run pon and poff as root and knoppix.
Now, I want to get rid of knoppix, so I created a new user, duplicated every mention of knoppix (with the name of my new user) in /etc/group and /etc/group.org and find that I can no longer pon or poff as anyone other than root. Ideas welcomed!
-
Senior Member
registered user
Is that a problem?I know this is not the answer your looking for and hope someone tells you how to run as a user but I use nothing but pon to dial my isp and have always done it as root.I just open an xterm and su then pon myisp then I can close that term and it wont kill my connection.Is it a security problem/risk to run pon as root?I am just curious.
-
Senior Member
registered user
It's not a security problem, but to my mind it's simply an inefficient way of doing things. I usually have a couple of icons on my desktop (one for pon and one for poff) which I just click. It mirrors my favourite connection tool, kinternet (which is proprietary SuSE and which they've now messed up).
If I wanted an "ordinary" way of doing it I'd use Kppp (may yet have to!) but I've never liked it.
On a philosophical note, why isn't /etc/group behaving as expected? Is there some special Debian magic I'm supposed to do?
And (even more irritating) why do I have to keep doing (as root)
chmod a+rw /dev/dsp /dev/mixer /dev/sequencer /dev/midi
to get sound every time I reboot? It's (almost) enough to drive me back to SuSE.........
-
I've had a similar problem with pppoe. In the end I've made my users (my girlfreind and I) sudo; made sure that both users were in groups dip and dialout (adduser username dip) and I've configured pppoe so it comes up on boot. Works for me until I find something better.
On a home system it should be ok. I wouldn't want users on a company network with sudo however.
-
Senior Member
registered user
Originally Posted by
FelixDzerzhinsky
On a home system it should be ok. I wouldn't want users on a company network with sudo however.
You can just restrict the user to certain commands with sudo you do not have to give them sudo for every command with the ALL option just use the path to the command and the NOPASSWD option IIRC don't have it installed so I can't check the man page.
-
Senior Member
registered user
Thanks all: I'll give that (those) a try. I'm about ready to re-name /home and mount my other partition as home, so fingers crossed. If that works, I should (more or less) be able to mess up and re-install at will.
My guess (any ideas what?) is that
chmod a+rw /dev/dsp /dev/mixer /dev/sequencer /dev/midi
is being reset by something: after all, a chmod should remain chmoded, shouldn't it?
-
Senior Member
registered user
chmod a+rw /dev/dsp /dev/mixer /dev/sequencer /dev/midi
I've had some problems with my cdrom and cdrw being setup in the wrong order during bootup, so what I did was put a couple of line of code in /etc/init.d/bootmisc.sh to fix that minor problem, you could do the same by placing your chmod line at the end of /etc/init.d/bootmisc.sh:
#
# bootmisc.sh Miscellaneous things to be done during bootup.
#
# Version: @(#)bootmisc.sh 2.83 02-Oct-2001 miquels@cistron.nl
#
...
chmod a+rw /dev/dsp /dev/mixer /dev/sequencer /dev/midi
HTH
~rock
-
Senior Member
registered user
Nice idea, Rock, I'll do that.
-
Senior Member
registered user
Ah, popping
chmod a+rw /dev/dsp /dev/mixer /dev/sequencer /dev/midi
doesn't work.
I'll have a look at the other init scripts and see if any likely candidates pop up.
Similar Threads
-
By Wavform in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 05-19-2005, 03:44 AM
-
By spacedude89 in forum General Support
Replies: 6
Last Post: 02-11-2005, 09:51 AM
-
By NewGuy in forum MS Windows & New to Linux
Replies: 1
Last Post: 12-25-2004, 02:59 AM
-
By rrfish72 in forum General Support
Replies: 6
Last Post: 09-17-2004, 08:15 PM
-
By zuzo in forum General Support
Replies: 6
Last Post: 12-21-2003, 05:19 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Grandstream GS-HT802 2 Port Analog Telephone Adapter VoIP Phone & Device, Black
$32.00
IXIA XR100 VOIP PROBE
$199.99
VoIP IP Phone SIP WAN FV6020 Fanvil Gigabit Office Support IAX IAX2
$35.56
LOT OF 4 Grandstream GXP2135 8 Lines Bluetooth Enterprise VoIP Phone URSB-17w
$79.99
Cisco CP-7945G VOIP Phone With Stand & Handset Business IP Phone 7945
$3.00
Grandstream DP720 10 SIP Accounts Full HD Audio Dect Cordless VoIP Telephone
$24.44
New Cisco 7945G IP VoIP Gigabit GIGE Telephone Phone CP-7945G -
$24.95
Cisco CP-8841 VoIP Phone - Black
$20.00
REF A-STOCK - Polycom 2200-48450-025 VVX 411 IP VOIP POE Gigabit Telephone
$38.68
LOT OF 10 Cisco CP-7841-K9 VoIP 4-Line Business Phone w/ Stand Handset Cord
$69.99