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 mandriva 2008 on my toshiba satellite notebook in dual boot with windows and I have been using it for 4 days (ex windows user)
I go in "home" folder trying to create a new folder, or to paste a file but it says "access denied"
so, i think i need to change user and enter as administrator,but i tried it and it says as well , cannot access to the root.
I can only enter as Paolo (my name) , a user, and cannot do anything
So i don't know how the hell creat a folder inside home! i thought it was simpler
Anyone could give me a clue?
Have you tried sudo for administrative priviliges? Perhaps, it works.
Is it your home computer? If so, I'd suggest reinstalling the system (or somehow getting the root password) as without the root password, your linux experience will be very limited. You won't be able to update the system or install many programs. Besides if you'd like to learn new things about the system, sooner or later you will need the root password.
The easiest way to setup folders** and permissions is in a terminal. To have complete control, simply enter "su" to take on root (administrator) powers.
If you don't have the root password, there is no need to re-install. Simply boot into single-user mode and enter "passwd root".
To boot into single-user mode:
When the GRUB menu appears, hit any key to stop the count, the "e" for edit. Select the kernel line, "e" again, and add the word "single" (no quotes) at the end of the line. It will now boot into a root terminal with no password required.
**It is OK to say "folder" in Linux. Just look at the icons in any of the various GUIs---Do you see pictures of folders or directories?....
exactly set during installation, as first option, followed by setting options for user
So, I can switch from user to root with SU command, can't I?
My question is: when i am set as SU, should I be able to create new directories or cancel file also in othere dirs (e.g. lib) not only in "home".
My question is , if I cant' do it also with SU password, what's the issue?
Do you see a directory named paulo? That should be your home directory. If not, you do not have a standard setup.
When you do "cd ~" or just "cd" does it get you to /home/paulo ? It should.
If the previous tests don't give the desired results, you might want to repost for help. Fixing this isn't hard, but it may require editing the /etc/passwd file, which can lock you out of your system if you mistype something.
If there is a paulo directory, look at the user column on the display. It should have paulo as the owning user, and probably also the group. If not, you can change it by becoming root with "su -" and using the chown command. If you have problems with that, please use "man su" or "man chown" before asking for more help.
Now look at the permissions string for the paulo directory. That's the one that probably starts with "drwx" Make sure that the r, w, and x are all there. If not, use chmod to change it. Once again, use "man chmod" if needed, for your own education.
Hint: If you use the recursive flag for chmod, the files inside will also be changed. But you don't want to put the "x" on your inside files.
Just in case I borrowed a linux guide which helped me out to work on it and solve all the issues!! It's all ok now. I entered as root, installed the USB adsl Firmware on a directory I created to host the firmware files.
I understood the "philosophy" of chmod, etcc...
Thanks to everyone , really, for helping me