GentooThis forum is for the discussion of Gentoo Linux.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I'm dualbooting my gentoo install with Windows xp. If i boot windows and pop a disk in my dvd drive it all works, but if I do the same thing in gentoo nothing happens. I have installed HAL and it automounts usb-sticks and so on. Please help.
Never put users in the disk group. That gives them raw hdd access, so they can bypass all the filesystem security.
e.g. they can steal your /etc/shadow or change anything they like.
not really they just can go there it is still set by permission per-file I can look at a root folder on any drive but that does not mean you can access the folder.
If you feel real strong about it then ok your right. But my stuff is read and write protected. my /etc/shadow is write protected. good luck Been doing this a long time.
Linux is a server and that is what it's about letting user go places but not be able to read or change things you do not want changed.
Look at admin we have to allow people to access areas of the system for certain data.
ssh does not even allow root to see it. but root can change it. only that user can go to the disk but he or she can't see it or access it. Why even have read and write protection if you do not uses it.
So go to /etc/shadow as a user and try to open the file with an editor trust me if your not root it is not going to happen. unless you gave the user root permission.
for the sake of not arguing your write if you want to be.
Disk is a device and the new kernel and hal do permission by device then by access then by reed then by write.
gives me read and write access to all of sda if I am in the disk group. Similar commands work for partitions. True, filesystem permissions still work, if I elect to use the filesystem but my point was that any low level command that does not use the filesystem is open to abuse.
dd if=/dev/urandom of=/dev/sda count=1 bs=446
that wipes out grub stage1 but leaves your partition table intact.
While it might not be necessary to have an entry in your fstab for optical drives, I have this line in mine:
/dev/cdrom /mnt/cdrom auto noauto,user,ro 0 0
Try adding something like that to yours, and see if that helps out. Also, I don't think you mentioned what DE or file manager you are using to access the optical drive. That information will further help us assist you with the problem.
/dev/cdrom /media/cdrom auto umask=0,users,iocharset=utf8,noauto,ro,exec 0 0
this makes it load and point to file /media/cdrom
Like I said you really should not use root I will. and your right ok lets help this man see his cdrom. Hexedit is a program only used by root on my systems. Your right do not worry.
I could care less about grub with the same dd comand I put it right back on.
# here '/boot/grub/mbr.sda.3345'. You can restore it like this.
# dd if=mbr.sda.3345 of=/dev/sda bs=512 count=1
if you allow your user to run admin programs that is up to you.