Hi everyone
I have a Ubuntu server for running cuda programs. The nvidia driver and cuda toolkit was installed on that server via using sudo xxxxx by the original account “aaa” which was built during the ubuntu installation . Later, I built another account “ccc” for other people who wanted to run cuda program on the server. However, user “ccc” always needs to run the program through the sudo command to have the authority to access to the gpu hardware. It is not safe at all. While, the user “aaa” does not need to.
I tried to add the admin, video, aaa and root group into the user “ccc” account. But it does not work!!!
So, if I have multiple users account in a linux server, how can I make them be able to access to the gpu hardware directly without sudo authority?