Slackware This Forum is for the discussion of Slackware Linux.
|
| 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
03-07-2007, 12:03 PM
|
#1
|
|
Member
Registered: Sep 2006
Location: Dayton, Ohio
Distribution: Slackware 12, Fedora Core, PCLinuxOS
Posts: 194
Rep:
|
Permissions changed after changing to init 4
Couldn't find any info on this with LQ or Google searches.....
Ever since I've used Slackware, I've always left the default inittab setting to boot into init 3, then started x manually. I recently decided that I wanted to use a custom login screen, so I installed the moodin plugin and changed my inittab file so that I would boot into init 4.
After doing this, as a regular user, I could no longer access my CD-RW device through k3b, and I could no longer get sounds with flash content. I had to add my user to both the cdrom and audio groups to get those items to work. I know adding the mooding plugin shouldn't have affected permissions, but I didn't think changing the default bootup runlevel would.
Those are the only changes I made to the computer. What caused the permissions changes, and since those were somehow changed, what other permissions may have changed that I may not have noticed yet? (Everything else appears to be ok).
|
|
|
|
03-07-2007, 01:02 PM
|
#2
|
|
Member
Registered: Dec 2005
Distribution: Slackware
Posts: 151
Rep:
|
I've been running Slackware for a long time, and I've never seen a problem with permissions changing when going from init 3 to 4. The only thing that's changing there is what services are loading, unloading. To prove this point, change the init back to 3 and see what happens with audio.
|
|
|
|
03-07-2007, 01:10 PM
|
#3
|
|
Guru
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594
|
Here's a tip I just figured out which you might want to check on: Make sure the etc/fstab file is readable by everyone, or at very least readable/accessibly to you the 'user'.
A while back I went on a security binge and chmodded and un-SUIDed a lot of stuff, among them was that file.
I didn't realize that this was why I couldn't seem to mount anything anywhere except as root, despite allowing user/users in fstab.
Also make sure that mount and umount are executable by user/group as well.

PS - My DVD player software and music player weren't allowed accessing the CD-drives either until this change.
Last edited by GrapefruiTgirl; 03-07-2007 at 01:14 PM.
|
|
|
|
03-07-2007, 01:47 PM
|
#4
|
|
Moderator
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,916
|
Quote:
|
Originally Posted by alienux
After doing this, as a regular user, I could no longer access my CD-RW device through k3b, and I could no longer get sounds with flash content. I had to add my user to both the cdrom and audio groups to get those items to work. I know adding the mooding plugin shouldn't have affected permissions, but I didn't think changing the default bootup runlevel would.
|
That would actually be Slackwares defaults; Slack is quite tight by
default, and users don't have access to audio or cdrom devices until
explicitly granted.
I can't see how that would relate to the default runlevel, though.
And as for permissions: you can check all files against MAINFEST.bz2
on your Slackware CD - it holds all relevant info.
Cheers,
Tink
|
|
|
|
03-07-2007, 01:54 PM
|
#5
|
|
Member
Registered: Sep 2006
Location: Dayton, Ohio
Distribution: Slackware 12, Fedora Core, PCLinuxOS
Posts: 194
Original Poster
Rep:
|
Quote:
|
Originally Posted by Tinkster
That would actually be Slackwares defaults; Slack is quite tight by
default, and users don't have access to audio or cdrom devices until
explicitly granted.
|
That makes sense with other posts I've seen where users couldn't access audio or cdrom in Slackware, but on both 10.2 and 11, my default install let normal users access those things without me having to modify anything, that's what's confusing to me. I really didn't think changing runlevel could do anything, but that was the only system related change I actually made. I think I'm just going to chalk this one up to random weirdness.
|
|
|
|
03-07-2007, 02:09 PM
|
#6
|
|
Guru
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594
|
I don't think changing the runlevel actually did it.
I can't accurately comment on how the default config was set up on my system, as I'm 2 months new to linux, and have made a lot of tune-ups and changes since I installed Slackware. That said, I had been having mount problems or 'issues' ever since day one, which are now 100% solved and working great, now that I know what I'm doing a little better 
|
|
|
|
04-09-2007, 03:57 PM
|
#7
|
|
Member
Registered: Sep 2006
Location: Dayton, Ohio
Distribution: Slackware 12, Fedora Core, PCLinuxOS
Posts: 194
Original Poster
Rep:
|
I had occasion to try this again with a fresh Slackware installation, and was able to reproduce the same behavior. The initial user that I created was able to access cdrom, video, and several other groups with no additional configuration after install (although when I did the "groups" command, it showed no groups). When I changed the system to init 4, I could no longer access the cdrom, anything requiring 3D acceleration, etc., until I manually added the user to those groups.
Not really a problem, but now I at least know when it happened.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:59 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.
|
Latest Threads
LQ News
|
|