LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   premissions? (https://www.linuxquestions.org/questions/linux-newbie-8/premissions-223836/)

Nohbudy 08-29-2004 06:05 AM

premissions?
 
when i open some files i can only read, others i dont even have premission to view. others i need a password? i am the only user, how do i disable all of this?

scuzzman 08-29-2004 06:09 AM

You shouldn't. Those permissions are there to restrict you from making your system virtually useless. That aside, although you shouldn't you can. Simply type 'su' (without the quotes of course) at a command prompt, enter your root password, and there are no permissions.

You-can-really-screw-yourself warning: Before assuming root, please see this thread to see how badly you can mess up your system.

PenguinPwrdBox 08-29-2004 06:10 AM

You don't :)

This is part of linux. Permissions are a fact.
You can login as root, which gives you wide open access to everything.
However, this is a bad idea - if you typo - you might be reinstalling....so be careful
If you need to edit something that you don't have access to, do it as root.
You can do this quickly, by typing su at a prompt, and giving it the root password.
Make sure you exit when you are done editing, though.

Nohbudy 08-29-2004 06:24 AM

what i want to do is add the line /home/nohbudy/Documents/router/f1 to boot.local this way I can run a router. so do i login to the root acount for that?

nukeu666 08-29-2004 06:29 AM

u need to get to root to change permissions of files u cant get to
rest u can undestand by reading this
http://catcode.com/teachmod/

scuzzman 08-29-2004 09:56 AM

simply type this
Code:

[nohbudy@localhost nohbudy]$ su
Password:
[root@localhost nohbudy]#

the su = superuser - change to root
man su for more options


All times are GMT -5. The time now is 02:14 PM.