LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 04-03-2010, 12:23 AM   #1
casualzone
Member
 
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 (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.
 
Old 04-03-2010, 03:20 AM   #2
Udi
Member
 
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'.
 
  


Reply


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 yourhostname.yourdomain.com 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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