If I try
pkexec echo -e '\nwl2k something\n' >> /etc/ax25/axports
in terminal to have a user add a line to a file, I get a
bash: /etc/ax25/axports: Permission denied
How do I make it so the whole command goes to pkexec - that is, ask user for sudo to make the change?
Asked by NoBugs
(66 rep)
Jan 26, 2022, 04:46 AM
Last activity: Jan 26, 2022, 07:20 PM
Last activity: Jan 26, 2022, 07:20 PM