Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Can't be much help on the audio stuff though. I'm not familiar with the groups in knoppix.
Yes, most people (I'd go so far as to say all people) with very much *NIX experience at all log in exculsively as a user .... And if they don't, they will once they screw up *bigtime* just because they were root... rm -rf /etc
Thanks for that. Incidentally, I was reading through the readme in my modem driver tar and noticed a bit that I'd missed before. The author was saying that with some distros, it can be difficult to get the modem to run as a user and that this is intentional to make it more secure so not "just anyone" can access the modem. To me this seems most strange, how can it be more secure if you have to log on as root to use it? It goes on to say that normally, adding a user to the dialout group will give access to a modem but with this driver that isn't the case. Unfortunately, the author doesn't actually bother to describe how you are supposed to access the modem.
What kind of modem is it? Maybe start a thread about it in the hopes that someone else has experience with it? Where there's a will, there's a way (most of the time). I know you can get it working, even if it comes down to setting your dialer suid root (though I'd avoid that too if at all possible).
I'm in the process of searching various forums and google at the moment and if that doesn't turn up anything I'll try posting. It's an Intel 536ep modem, it's frustrating that I've had it working as a user once but I can't work out how I did it.
The driver I'm using is from the Intel site, it's the newest version they have and since they don't do a specific driver for Debian/Kanotix/Knoppix I downloaded the source.
Looking at the install file from the v4.60 tarball (Intel-536ep-460.tgz), they specifically talk about security on the modem device, and the method to solve in on a Debian based machine would be exactly the same as the one they go through. You put your user in the group that owns the device (see /etc/group) and chmod the device 660.
The 536ep-inst script has a block in it to deal with a debian system as well (though if /etc/debian_version doesn't exist for some reason it won't run). Here's what it does:
Thankyou. That was helpful indeed, I can now get the modem to dial-up as user but no web pages will load up. It's very much like everything is being blocked by a firewall but since I've just re-installed I don't have a firewall yet (that I know of).
I'm assuming once connected the user has to be in some other group to actually access the net but I don't know which.
Is there a list anywhere that shows the groups a user should be members of to get a basic working system with sound internet and email access?
Here is a list of groups that my user was already members of after the Knoppix/Kanotix install -
audio
cdrom
dialout
dip
fax
floppy
games
sudo
tape
usb
users
video
voice
Nope, after reboot, no modem again. It looks like all my problems are down to something I mentioned in an earlier post. I mentioned desktop settings weren't being saved after a reboot but it's more than that, any changes I make at all are gone after the reboot.
Right, after much googling, forum searching and gnashing of teeth, I finally managed to sort out most of the problems with the user accounts. Sound is working, I am able to read/write my home folder and I have access to the modem.
Now there is one final thing stopping me running exclusively as a user -
When I try to connect to the internet, the modem responds, dials-up but then disconnects at the last minute with an exit error status 2. I can't see any obvious reason why the modem itself shouldn't connect, all the modem commands appear to be ok so I can only imagine I am not getting access to something else and I don't know what.
[EDIT] Apologies for the cross posting but after posting this I decided it would be better to post in the Networking section.
Last edited by fannymites; 12-07-2004 at 08:02 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.