On 10/03/2023 03:14 PM, old sixpack13 wrote:
now, on an command line, I usually do
1. su - ron (ron is in sudo group)
2. and then sudo ether-wake -i enp3s0 <mac-address> && ping nu

Why? If you have access to su and the root password, why bother with sudo? Just use su -c "ether-wake -i enp3s0 <mac-address> && ping nu"
and do it in just one step?  HTH, HAND.
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to