Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have RH6.2 and one big problem.I am logged in as root but i dont have writing permission to /etc/rc.d/rc.local file.I have tried everything and chmoded it.Please help me anybody,i dont know what to do!
**************************************************
[root@localhost rc.d]# ls -l
total 60
drwxr-xr-x 2 root root 4096 Jan 30 20:20 init.d
-rwxr-xr-x 1 root root 2895 Jan 31 14:54 rc
-rwxr-xr-x 1 root root 2757 Sep 12 21:37 rc.local
-rwxr-xr-x 1 news news 2964 Mar 2 2000 rc.news
-rwxr-xr-x 1 root root 15419 Sep 12 21:37 rc.sysinit
drwxr-xr-x 2 root root 4096 Jan 19 18:14 rc0.d
drwxr-xr-x 2 root root 4096 Jan 19 18:14 rc1.d
drwxr-xr-x 2 root root 4096 Jan 19 18:14 rc2.d
drwxr-xr-x 2 root root 4096 Jan 19 18:14 rc3.d
drwxr-xr-x 2 root root 4096 Jan 19 18:14 rc4.d
drwxr-xr-x 2 root root 4096 Jan 19 18:14 rc5.d
drwxr-xr-x 2 root root 4096 Jan 19 18:14 rc6.d
[root@localhost rc.d]#
**************************************************
I am using text editors to edit rc.local and trying to chage it.But every editor say that i dont have writing permisssions.(emacs,vi,pico,advanced x editor...).This is very big problem.There is no logical explanations.I dont know what to do,Please help me somebody!
ok ok... we heard you 4 times pleading for help.. this is a complicated issue which is hard to come by over a forum. calm down please.
since you can't seem to write any changes to the file, is it possible to copy the contents of the file, into a new file created then name it the same, keeping the old one renaming it to something else.. like with old in the filename.
Originally posted by krivi Tell me where to find help,because this is the stuppid forum.Nobody can't help me.This forum is sheet.Please help me anybody...I just cant be root.
with that type of response, why should we help you ?? what do you mean you can't be root ??
and i can edit my rc.local file with no problems... not sure why you can't ?? the internet is a big place for resources.. have you tried searching instead of depending on us stupid (spelled with one p not two ) people to point you in the right direction.
I am not trying to be rude or anything, but it seems you are the rude one, this is a free forum, it doesn't garantee any responses or solving your problem ever.
-trickykid
any problems with this site, you can go elsewhere for help.
just to add, if you mean you can't be root while doing this.. that would make sense in why you can't edit that file.. only root can, only root can chmod it and so on... you should be able to do this with root or root privileges.... nothing else will work.
details helps anyone out the most when asking technical questions.. if you don't state it, how do we know..
Still,i can't get help.If anybody know where is the problem please post that here.I said so many things about my problem.Above,there is a ls -l listing...
Please help me somebody...My root acount don't have a real power in some situations.In win4lin program he tell me that root is not allowed.But i am logged in as root and doing all root commands.Just in some cases there is a problem.
I CAN'T WRITE TO RC.LOCAL TOO(writing permission denied)!
what do you mean root does not have real power in some situations, root should be able to do anything... with no exceptions.
i think by you calling everyone stupid here is not helping your situation in getting a faster or more solutions. but if your root can't edit the file, have you tried booting into single user mode without any login to edit the file... ??
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.