LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-18-2004, 01:47 AM   #1
ayam
LQ Newbie
 
Registered: Nov 2003
Distribution: Slackware 9.1
Posts: 2

Rep: Reputation: 0
Lilo permission


Hi I am trying to modify /etc/lilo.conf to try out a new kernel. It should not be a problem but it seeems that even as root I can only get read-only access and I am unable to change my permission either through chmod or using nautilus. THe permission for lilo.conf is 600 and its says I shuld be able to have read and write access but not execution. My propble could lie in the fact that I was playing aroudn with securing Slackware and followed the advice from Jack S. Lai on this website.

members.cox.net/laitcg/new/intro.html

As you can see you chmod 600 lilo.conf but putting this command in chmod.dat (along with other files) and then executing chmod.dat /bin/bash < chmod.dat

Since I only have read-only access I am unable to even change permision. How do I get around this issue?
 
Old 11-18-2004, 02:06 AM   #2
PenguinPwrdBox
Member
 
Registered: Oct 2003
Posts: 568

Rep: Reputation: 31
This is why you never ever ever ever ever ever ever ever do anything you are unsure of as root.......
 
Old 11-18-2004, 03:48 AM   #3
shreev
Member
 
Registered: Apr 2003
Location: India
Distribution: Slackware 10
Posts: 37

Rep: Reputation: 15
From what I gather from the instructions in the site u talked about, this would probably be the way out..

chattr -i /etc/lilo.conf , and then chmod the lilo.conf file...

man chattr, http://www.rt.com/man/chattr.1.html

HTH
 
Old 11-18-2004, 06:12 PM   #4
WilliamS
Member
 
Registered: Nov 2003
Location: 46N 76W
Distribution: Slackware 14.1
Posts: 380

Rep: Reputation: 31
I use mc (Midnight Commander) as root.
I can change (and break) anything with mc!
 
  


Reply



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
can't execute c++ binaries, "permission denied"... even though permission is 777 SerfurJ Programming 14 02-20-2009 04:50 AM
Switching from grub to lilo, messed up Lilo.conf, rescuing via Knoppix. SonicGT Debian 2 08-21-2005 01:15 PM
Lilo lost, Install disk failing to restore Lilo on dual boot? Dobie Linux - Newbie 2 05-05-2004 05:00 PM
/etc/lilo.conf permission denied ginge12 Linux - Newbie 14 09-18-2003 08:18 AM
Made a bootdisk with RedHat 7.1 to boot: Gave me SYSLINUX, not LILO:Want to use LILO Colonel Panic Linux - Software 0 08-17-2001 06:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:12 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