LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 02-24-2006, 11:55 PM   #1
coolbeing
LQ Newbie
 
Registered: Feb 2006
Posts: 11

Rep: Reputation: 0
how to reconnect to wireless as non root - pclinuxos


I am a noob. please consider it.

How do I reconnect to the wireless if the signal is dropped? Wlassistant does not allow to use itself if the root password is not entered and that seems to be the only way to reconnect.

So how would I do that? Or how SPECIFICALY do I make it so that a non root suer can use Wlassistant fully without restrictions.

Please help .
 
Old 02-25-2006, 01:58 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
You could add an entry in /etc/sudoers allowing any local user to run the command with either their own password, the root password, or no password.

You use the visudo program to edit it.
There are a couple commented sample lines near the bottom of the file that you can model it after.

Then a person could enter: sudo wlassistant to run it. ( If it is not in there path, then they would need the pathname, or you could supply a link in /usr/bin. )

At first glance you might think that not having a password is insecure, but it is only for the one command, and this means that you don't have to give out the root password. You can control which users are allowed to run the command by defining a users alias in sudoers, or by referring to a group name that you create for that purpose. Then adding users to that group would allow them to run the command.

I use Kinternet which is a KDE applet you can add to the toolbar. You can use it to scan for networks and connect. To disconnect or reconnect, you simply left click on the animated icon. This would be even more convenient then editing sudoers.

The sudoers file has its own manpage: man 5 sudoers

Last edited by jschiwal; 02-25-2006 at 02:01 AM.
 
  


Reply



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
Reconnect to wireless network leupi Linux - Wireless Networking 13 02-16-2014 12:34 PM
Wireless Network auto reconnect brim4brim Linux - Newbie 0 06-22-2005 11:06 PM
how to I have my box automaticall reconnect to my wireless network after it dies? JackSmith Linux - Newbie 1 06-11-2005 11:58 PM
Auto-Reconnect JC404 Linux - Newbie 3 07-01-2003 04:04 PM
squid and reconnect saavik Linux - Networking 1 11-21-2001 10:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 07:15 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
Open Source Consulting | Domain Registration