¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Permissions question...


 

Will do, and I thank you for the help sir!

73, and thanks,
Dave (NK7Z)

ARRL Volunteer Examiner
ARRL Technical Specialist, RFI
ARRL Asst. Director, NW Division, Technical Resources

On 6/11/22 06:04, Adrian Fewster wrote:
Also see ; It's very useful when running scripts, processes with sudo lines.
On 11/6/22 22:57, Dave (NK7Z) wrote:
Let me absorb this a bit...? I am quite new to Node-Red, and have never even heard of the visudo before...

I have learned to understand what changes I make first though, so I am going slow and careful here...

I brought up visudo, and I don't see dcole anywhere...

If all of this is to insure dcole can use sudo, I can already, however I do need a password when I invoke sudo.

73, and thanks,
Dave (NK7Z)

ARRL Volunteer Examiner
ARRL Technical Specialist, RFI
ARRL Asst. Director, NW Division, Technical Resources

On 6/11/22 05:48, Adrian Fewster wrote:
Dave, Is dcole in visudo setup as ;

$ sudo visudo


# Allow members of group sudo to execute any command
%sudoALL=(ALL:ALL) ALL
dcoleALL=(ALL) NOPASSWD:ALL

This allows password free sudo usage


Also

apply

sudo chmod 777 /home/dcole/scripts/solar_data/incoming/lotwcount.txt

Does it function now ?

Check the node-red service user or root status ?


73



Adrian

On 11/6/22 22:36, Dave (NK7Z) wrote:
Hi Adrian,
Here are the results:

dcole@nostromo:~$ stat /home/dcole/scripts/solar_data/incoming/lotwcount.txt
? File: /home/dcole/scripts/solar_data/incoming/lotwcount.txt
? Size: 3???????????? Blocks: 8????????? IO Block: 4096 regular file
Device: 801h/2049d??? Inode: 60424491??? Links: 1
Access: (0666/-rw-rw-rw-)? Uid: ( 1000/?? dcole)?? Gid: ( 1000/ dcole)
Access: 2022-06-11 05:25:02.072231081 -0700
Modify: 2022-06-11 05:35:04.027054533 -0700
Change: 2022-06-11 05:35:04.027054533 -0700
?Birth: -
dcole@nostromo:~$


Also, thank you!

73, and thanks,
Dave (NK7Z)

ARRL Volunteer Examiner
ARRL Technical Specialist, RFI
ARRL Asst. Director, NW Division, Technical Resources

On 6/10/22 23:19, Adrian Fewster wrote:
stat /home/dcole/scripts/solar_data/incoming/lotwcount.txt

would be interesting to see also and the function ?


Adrian

On 11/6/22 15:50, Mick - W8BE wrote:
Dave can? you run the following command and print the output:

ls -l /home/dcole/scripts/solar_data/incoming/lotwcount.txt
--
Mick, W8BE






Join [email protected] to automatically receive all group messages.