How do I open and edit a usr/lib/udev file in Ubuntu 20.04 without root?
Asked
Active
Viewed 401 times
0
Nmath
- 12,664
ken bright
- 113
1 Answers
2
You need root privileges to edit any files in that path.
You can use sudo before a command to obtain root privileges for a particular action.
For example:
sudo nano /path/to/file
This will open the file in the nano text editor as if you were root.
If you do not have sudo/root privileges, you will not be able to edit the file. Contact your system administrator and describe to them why you need to edit these files.
Nmath
- 12,664