LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-06-2005, 03:38 PM   #1
timsch75
Member
 
Registered: Feb 2004
Location: austin, TX
Distribution: slackware 10
Posts: 169

Rep: Reputation: 30
configuring kernel 2.6.10, need root?


I've recently configured my kernel for the first time and am having strange permissions issues now (audio cdrom, for example). When I was performing the typical steps for configuring and installing the kernel and modules, I occasionally used root when performing make "something" install, even though the instructions I was following never indicated that root user was needed. Is it necessary to be SU to configure and install a kernel?? I assumed so, but what do I know....
 
Old 02-06-2005, 03:41 PM   #2
Thoreau
Senior Member
 
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167

Rep: Reputation: 45
Yes, you typically need to be root to install any system-wide software- especially your kernel. If it's just for one user, then you install as a user- if the program allows it(most don't).
 
Old 02-06-2005, 03:48 PM   #3
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
i think the kernel now contains some hardware access filters that in particular block users from
initializing the cd drive.....

it's something they thought was a good idea ?????

who are we to judge.

i just installed sudo
and changed the menu entries to things like
sudo gnome-cd
sudo grip
sudo xcdroast

and like that
 
Old 02-06-2005, 03:49 PM   #4
timsch75
Member
 
Registered: Feb 2004
Location: austin, TX
Distribution: slackware 10
Posts: 169

Original Poster
Rep: Reputation: 30
It is a single user system. I will try to install the kernel as user, then. It's tiring always having to chmod 777 /dev/cdrom every time I reboot and want to play a CD on xmms, etc.
 
Old 02-06-2005, 03:52 PM   #5
Thoreau
Senior Member
 
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167

Rep: Reputation: 45
that's why you normally have a group assigned to the cdrom in /dev/hdb or whichever. I have mine assigned to a "disk" group. And I am a member of that group as a user. I therefore have access.

chgrp disk /dev/hdb
 
Old 02-06-2005, 05:08 PM   #6
timsch75
Member
 
Registered: Feb 2004
Location: austin, TX
Distribution: slackware 10
Posts: 169

Original Poster
Rep: Reputation: 30
I tried making sure I was in the group.

from /etc/group:
cdrom::19:tim:users
disk::6:root,adm

and

tim@sbc:~$ ls -l /dev/hdb
brwxrwxrwx 1 root cdrom 3, 64 2005-02-06 05:12 /dev/hdb

In typing this, I did notice my typo with the colon in the cdrom group. I'll replace that with a comma and see if it cures the problem. I didn't see an error message in dmesg.
 
  


Reply


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
Configuring Root-Tail barton Slackware 6 02-22-2005 06:27 AM
configuring kernel, booting to root partition warinthepocket Linux - General 2 02-06-2005 01:43 AM
configuring a kernel buffed317 Linux - General 19 08-10-2004 05:13 PM
Configuring the Kernel lorengd Mandriva 1 09-21-2003 07:10 PM
Configuring kernel.... Bogdan Linux - General 6 03-28-2002 02:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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