Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 2664

Raspberry Pi OS • Re: give me privilege

$
0
0
recently setting up a new Pi 5. Bought a bonafide Pi SD card, and set up my username and password, Now I do not have SU authority. I tried to edit config.sys to add audio card overlay, and could not save the file as it is read only. Now I know I could use terminal, and sudo edt the fole, but I'd rather have the authority to do so without having to use the terminal and sudo command.

Poked around to try and figure t out. Tried what I thought was a default user IF as Pi, but could not log in.

Suggestions? Or just live with terminal and sudo to be safe?

Roger
just alias sudo su to su
then do what you normally do

Code:

alias su="sudo su"

Statistics: Posted by kerry_s — Thu May 29, 2025 2:06 am



Viewing all articles
Browse latest Browse all 2664