How to use Raspberry as a super user?

Asked

Viewed 381 times

0

I’m using a Raspberry in which I installed a Python program with its files and report folder. The problem is that I cannot delete the files, because only super user can. I need the user to be able to delete the files and everything else. How can I make you sudo?

3 answers

0

You can also free write access in this directory

| 0 | - | - | - | Nenhuma permissão de acesso.                        
| 1 | - | - | x | Permissão somente de execução (x).                  
| 2 | - | x | - | Permissão somente de gravação (w).                  
| 3 | - | x | x | Permissões de gravação e execução (wx).             
| 4 | x | - | - | Permissão somente de leitura (r).                   
| 5 | x | - | x | Permissões de leitura e execução (rx).              
| 6 | x | x | - | Permissões de leitura e gravação (rw).              
| 7 | x | x | x | Permissão total (leitura, gravação e execução, rwx).

To release permissions just use the chmod. Specification:

chmod [permissão] [nome do diretório ou caminho do diretório]

Being as follows:

chmod 777 diretório

or

chmod 777 ~/public_html/diretório/

0

If you want to use the graphical interface, you should add a new user and add it in sudo group with a name you want , like super, etc. and log in for it. soon you will have all the permissions in the graphical interface

0

In Raspberry, when the installation is done, a password is registered only for the user who uses super user commands through sudo. To use Raspberry as a super user you need to register the password:

sudo passwd

Enter the new password (the system asks to be typed twice). And then type:

su

You will ask the super user for the password (which is the one you previously registered) and you will already be in super user mode.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.