Linux - NewbieThis 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!
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 have no idea how to do this, and apparently it's supposed to be so easy I can't find the answer anywhere easily.. what command do I type, or whatever to take off the readonly attribute on a file.. I want to edit my XF86Config-4 file so that I can get dual monitor support working, and besides I need to know this anyway right?
use chmod attributes filelist
for info read the manpage ('info chmod' or 'man chmod').
You must be either file owner or root (which in your case are the same) to be allowed to do this.
Note that on non-native fs (like vfat) most attributes can't be changed on a per-file basis, all the files have the same owner/permissions determined at mount time.
PS: note that you should not make files in /etc writeable to normal user, since you (or an application) may damage the system. Instead, use 'su' to become root before launching the editor
right.. um.. just noticed something.. I can't log in as root to modify it.. which is incredibly lame..
mandrake gives me this menu when I logout that won't let me select anything but the one user I created .. kinda stupid if you ask me and I remember it didn't use to do that (back when I tried mandrake a couple years ago now..)
In file manager (Konqueror in KDE) right-click on the file, select the properties menu item, select the permissions tab, and click in boxes to switch permissions on/off, click OK to set them.
Of course there is a command-line prog that this is a front end for - type man chmod at the command line.
Not to up with technospeak, so I don't follow what you mean by attributes!
Anyway, to alter the XF86Config-4, you can either log in as root (as in a graphic login), and then just use konqueror to search for it (probably /etc/X11/XF86Config-4) or you can do the mod with an editor.
For example, using VI (which is installed as default ed with mandrake), you'd open a terminal/konsole, the "SU" and root password so you are then in as root, you'd then type
That opens the file in VI, you then have to navigate it with keyboard arrows. To actually do the changes move cursor to wherever, then hit the "insert" key, enter/delete/modify so the changes are done, to save the changes hit Esc key, then type :wq enter (note you must type in the : colon). If you aren't sure of what changes you want to make, you can just do :q to quit (again, the colon).
You should have, or be able to find some documentation for using VI (maybe in /usr/share/doc). But which editor you try, if they are "proper" editor's the you'll have to find the instructions.
Erm if you've got kde installed, you can do the root login (graphical), then just got to editors and then select kwrite, that is the kde editor, and you can use it like a word procesor.
I don't use mdk, however you can try these:
1. on login page there's a system menu that should contain something like 'prefereces' or 'config'
2. maybe after logging in as user, in the start menu/system there's a gdm (or xdm) config tool
Look there if there's a 'don't allow root login' checkbox
However you should better only run only needed applications as root, using a "run as root" command that probably is in atart/system menu
I've figured out how to do this, (get root permissions and log in as root, etc.).. So thanks, though I'm still having trouble with what I'm actually trying to do, but I had another thread for that so I'll just use it..
i just right clicked the terminal window and used the root terminal to what was that command again..whatever command it is that allows you to change the runlevel.. i just changed it to 3 which disabled the gui.. and was able to login root from there and just restart x with startx command.
Heh.. I figured that out by myself.. of course nothing else so far I have