Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 03-05-2008, 10:37 AM   #1
LQ Newbie
Registered: Mar 2008
Posts: 4

Rep: Reputation: 0
Slackware 12 -> security policies, unable read /etc/shadow etc.

Hello everyone!
First real question(s) in this forum. I have just installed the brand new Slackware 12 on my old laptop (Pentium III 800Mhz, 128Mo RAM, 14Go HD). After a little difficulty when I had to find out I should pass some parameters to the kernel (noacpi I think), I finally get the stuff working.

I am not "totaly" new to Linux but still I considere myself as newbie. Each time I install linux I run into the same kind of troubles... Especially when I try to install packages: troubles with security policy, with the paths (I mean I don't know where to put the files), with the dependancies etc etc.
So I am not sure it's one question, it's many questions, here we go:

- Ok, I create a new user not to start X with root (good boy)
Then, with this user, I want to install Privoxy (I assume you know)
- So to do this, I download the sources and follow the instructions (I type make). But there, it appears the "make" cannot access some files it needs. And the instructions says, you should create a user and group named Privoxy specifically for the installation. Mmm ok strange but here we go. I create this using KUser, but then...? How am I supposed to know what files this "make" wants to access? Do I have to set a permission on each of these individual files specifically for this Privoxy user? I doubt that!? So what am I missing?
- Then I was stuck so I didn't try to install this anymore... but:
Now, when I open KUser with my non-root user, it says "cannot open /etc/shadow/ for reading". But it opens anyway the GUI, and I can change some settings like placing myself in another group (like the "bin" group).. I should not be able to do that as non-root, right? Did I already break everything?
- Ok so I would like to keep my system as secure as possible (of course). So when I install a new package, do I have to do it with "root" account? And if not, how?
- Also, because I don't want to manually install all the dependancies, I tried to install slackpkg which looks good... but on the ftp mirrors it seems there is no directory for Slackware-12 (that's what slackpkg says)!
- Then when I install a new package, it will put the binaries in /bin. What is the best way to give acces to my non-root user to some of the executable binaries? By setting the permissions directly on the binaries? Or creating some symbolic links somewhere? And how do I do if I want some user to be able to execute binaries, and some other not?
- Something else: I want to read a DVD with my non-root user. but when I double click on the DVD icon on the desktop, it says that a security policy prevent me from mounting the DVD... But my non-root user is part of the cdrom group.... what else do I have to do?

Ok, I stop there, I know that's a lot of questions but I think to have so much difficulties there is some basic concepts I don't understand. Please could you help me with that? Thanks if you read till there haha
Old 03-05-2008, 10:51 AM   #2
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 377Reputation: 377Reputation: 377Reputation: 377
Here's my on the Privoxy issue. The privoxy user/group is so that Privoxy can run as this user (for security reasons). You don't need to compile Privoxy as this user, you can compile it under whatever user account you want. To install it system-wide, you'll need to be root (this is the case with any package). All installed files should have root ownership, except IIRC the Privoxy logs directory (since it will be logging there while running as user/group privoxy). As for errors regarding missing files during your make, it's usually just a matter of finding-out what package provides said files and then compiling and/or installing it - Google is your friend.

Last edited by win32sux; 03-05-2008 at 10:53 AM.
Old 03-17-2008, 08:56 AM   #3
LQ Newbie
Registered: Mar 2008
Posts: 4

Original Poster
Rep: Reputation: 0

Thank you for answering..
This was a lot of questions... after spending times reading a lot of docs online, I think I got a better view about all the things.

And I found KDE on slackware 12 is very fast even on my old computer.. I am impressed


privoxy, shadow, slackware

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to read cds in Slackware 12 shivkiyer Slackware 2 11-05-2007 01:11 PM
Unable to update shadow-utils perroduke Linux - Newbie 3 04-26-2005 02:52 PM
Login Process & Security of /etc/passwd and /etc/shadow arut Solaris / OpenSolaris 3 12-27-2004 02:13 PM
Setting Security Policies in MDK? unixfreak Linux - Security 1 09-01-2004 09:32 PM
Installing Slackware (Unable to read dev/hda mickx27 Slackware 7 03-13-2004 10:49 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:03 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration