Run linuxcnc as root user
- nauman
- Topic Author
- Offline
- New Member
Less
More
- Posts: 12
- Thank you received: 0
15 May 2024 06:49 - 15 May 2024 06:52 #300658
by nauman
Replied by nauman on topic Run linuxcnc as root user
Thank you so much for your support.
Why I was saying 'root access' because I saw in linuxcnc official distribution the main user 'cnc' is part of sudo group, this is what I was calling root access.
Here is complete list
I wanted to have 2 users on same machine lets call them main and client
where main user has all access including halcompiler to install new modules.
and client user with less access can communicate that instance which main user is running via python api.
Why I was saying 'root access' because I saw in linuxcnc official distribution the main user 'cnc' is part of sudo group, this is what I was calling root access.
Here is complete list
So my problem iscnc tty disk dialout sudo audio video plugdev users input render netdev bluetooth i2c gpio spi
I wanted to have 2 users on same machine lets call them main and client
where main user has all access including halcompiler to install new modules.
and client user with less access can communicate that instance which main user is running via python api.
Last edit: 15 May 2024 06:52 by nauman.
Please Log in or Create an account to join the conversation.
- lost interest
- Offline
- Platinum Member
Less
More
- Posts: 1057
- Thank you received: 356
15 May 2024 09:07 #300665
by lost interest
Replied by lost interest on topic Run linuxcnc as root user
You're making it too complicated.
make "user main" a member of sudo group.
make "user client" not a member of sudo group.
Just remember each user will have to have linuxcnc configs.
Linuxcnc works the way it is. Your idea just adds so much more complexity, and I'm really unsure if Linuxcnc can be run as a "service".
Why are you so paranoid about security, the machine running Linuxcnc is not meant to be used as a desktop. If you were really worried you'd want to remove anything that will give a user to the internet.
make "user main" a member of sudo group.
make "user client" not a member of sudo group.
Just remember each user will have to have linuxcnc configs.
Linuxcnc works the way it is. Your idea just adds so much more complexity, and I'm really unsure if Linuxcnc can be run as a "service".
Why are you so paranoid about security, the machine running Linuxcnc is not meant to be used as a desktop. If you were really worried you'd want to remove anything that will give a user to the internet.
Please Log in or Create an account to join the conversation.
- nauman
- Topic Author
- Offline
- New Member
Less
More
- Posts: 12
- Thank you received: 0
15 May 2024 09:40 #300668
by nauman
Replied by nauman on topic Run linuxcnc as root user
I am already following same solution. I hope this will solve my use case. Thank you
Please Log in or Create an account to join the conversation.
Time to create page: 0.056 seconds