On 10/3/23 14:20, Joe Zeff wrote:
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.
He's not using the root password. You can use "su" to go to other users
as well.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue