Score:0

How do I open and edit a usr/lib/udev file in 20.04 without root?

it flag

How do I open and edit a usr/lib/udev file in Ubuntu 20.04 without root?

Frittierapparat avatar
us flag
simple: you don't. That is why privileges exist.
EODCraft Staff avatar
cn flag
You might be looking for this...`sudo gedit`
ar flag
Does this answer your question? [How do I start Nautilus as root?](https://askubuntu.com/questions/156998/how-do-i-start-nautilus-as-root)
Score:2
ng flag

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.

ken bright avatar
it flag
I do not have a ststem administrator - it is my computer
Nmath avatar
ng flag
Yes you do! **You** are the system administrator. You can use `sudo`
ken bright avatar
it flag
Thank you everybody I thnk I have solved it now with all your help. I used su "username" to get root and find the directory then sudo gedit open and edit.The computer can now see the gps dongle I just have to go out in the cold to see if the dongle can see the satellites!
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.