How to invoke wireless without root password
Whenever I got to type the command below:
#iwconfig eth1 essid mynetwork key xxxxxxxx #dhclient eth1 to use this command, i have to be in su or sudo. Is there a way I could allow all users to invoke these commands without the root password?? I try to make a file (wireless.sh), which consists the commands above, in /usr/local/bin/. Change the mode to 755 (chmod 755 wireless.sh) however, it does not allow me to use this also. |
I don't know the answer, but I'll guess: you have to add your user to the 'network' group. To do this, run the command 'gspasswd -a username network'.
|
All times are GMT -5. The time now is 03:04 PM. |