[opensuse] Execute /etc/bash.bashrc as root
![](https://seccdn.libravatar.org/avatar/87427d4155250edc26df55ffa9b26cf7.jpg?s=120&d=mm&r=g)
Hi there, Since my users authenticate via nis, they cant access /dev/nvidiactl and /dev/nvidia0. I tried to set permissions of these two files to 777. Unfortunately, this works only until the user logs out or closes terminals. So I need to change permission to these files everytime a user opens a terminal. I tried to edit /etc/bash.bashrc (ie insert two chmod lines). This wont work since the user cants execute chmod. I tried chmod +s /etc/bash.bashrc. Without success. I also tried to insert chmod lines into /etc/profile to change the permissions while using kde login. Without success either. Any hints? Gtx Stephan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/4ffefd677c49c0369e9922bc51d4151e.jpg?s=120&d=mm&r=g)
On Wed, Jun 25, 2008 at 13:37, Stephan Schöffel
Hi there,
Since my users authenticate via nis, they cant access /dev/nvidiactl and /dev/nvidia0. I tried to set permissions of these two files to 777. Unfortunately, this works only until the user logs out or closes terminals.
[...]
I also tried to insert chmod lines into /etc/profile to change the permissions while using kde login. Without success either.
Any hints?
Probably adding MODE="0777" to the KERNEL=="nvidia*|nvidiactl*" line in /etc/udev/rules.d/50-udev-default.rules . Not too sure whether this is the SUSE way tho... -- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
ne...
-
Stephan Schöffel