Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-03-2010, 12:23 AM   #1
Registered: Jan 2010
Posts: 189

Rep: Reputation: 15
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 (, which consists the commands above, in /usr/local/bin/. Change the mode to 755 (chmod 755
however, it does not allow me to use this also.
Old 04-03-2010, 03:20 AM   #2
Registered: Jan 2009
Posts: 165

Rep: Reputation: 44
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'.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
/usr/bin/mysqladmin -u root -h password 'new-password'? adred Linux - Server 2 03-14-2010 05:24 AM
How could normal user obtain root password or change root password ckamheng Debian 18 02-18-2009 10:28 PM
Need to enter root password for wireless to connect fuzzyBuzz Ubuntu 1 11-18-2008 11:17 AM
How to retrieve( or reset) root password in Mandrake Linux, as I forgot my password? Reghunath Linux - Software 4 05-08-2008 04:11 AM
cannot invoke wireless adapter at boot Mr Angry Debian 3 12-02-2003 11:45 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:01 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration