how do I run from root
I am new to linux, I ama using fedora 6. I can not create a new folder because I am not running as an administrator. I just downloaded this Os not to long ago, and I am currently running under a user name I created @localhost:
Thanks |
You do not need to be root to create a folder, unless you are trying to create it in a portion of the filesystem that does not belong to your userid. Not knowing that, you may want to read a few tutorials befor you use the root (administrator) account, as that can be very destructive to your system.
To answer your question, you can become root with the command: su - root You will be prompted for the root password, which your established during the installation process. |
Try to do stuff as the regular user you created, only use root account when it's absolutely necessary. This usually prevents fatal accidents and possibly creates a bit more security, when root login is not open (should a security breach happen, it's not hopefully as fatal in a regular user account than with root privileges). Anyway, to become root temporiraly:
Code:
su Code:
sudo /sbin/fdisk Note: when typing passwords, usually no letters are shown on screen. Everything is written though it's not displayed. |
Still every time I try to creat a folder it still tells me that permition was denied.
When I first installed Fedora, I don't remember creating a password for root. I only created the one user. I was thinking about going back and download it again, may be this time I know what to look for. Thanx, for the info. |
It would be easier to provide help if we knew the command you were using and the directory you were trying to do it in... i.e.
Quote:
The first does not work because you are trying to create a directory in the root file system which a normal user does not have rights to, while in the second example the directory is being created in the users home directory. |
Excellent, that is exactly what I was trying to do.now I understand how it works.
Thanks a lot! |
There should be an award for newbies that have the patience to work things out and then actually say "thank you".....
Glad we could help---give us a harder one next time...;) |
All times are GMT -5. The time now is 12:28 PM. |