Hi again Mark

Thanks for your help.


> > So, I ran the commmand /usr/sbin/net_monitor and it works, but not 
> > without before asking me for the admin password :-(
> > 
> Yes, you can use sudo.  I haven't been following the thread, so 
don't
> know which distribution you're using, but most distributions have 
the
> sudo program installed.
> 
> There should be a file called /etc/sudoers  (or something similar,
> /usr/local/etc/sudoers, or /etc/sudo/sudoers.)
> 
> Open it with your favorite editor.  There is a program called 
visudo,
> that is the preferred way to edit the file, but if you're the only 
user
> on there, we'll leave that for another time.  If you're familiar 
with
> the vi editor, which on all distros I know of save Mepis is the 
default
> editor for visudo, then do  use it, with the command 
> 
> visudo -f /etc/sudoers 
> 
> Add this line to it (I usually add these lines at the end, for if 
there
> are two conflicting sets of permissions, sudo uses the last one)
> 
> I am assuming that all users belong to the users group, which is
> standard on most installations.  (Though not all)
> 
> %users ALL= NOPASSWD:  /usr/sbin/net_monitor 


I changed the sudoers file as you suggested but still I get the prompt 
for the password. 

Looking around, I have found some mention to "alias" and 
"bash_profiles" - could it be I have to do something about this also 
and if so, what exactly are aliases?

TIA

eliroven
Linux user #342418







To unsubscribe from this list, please email [EMAIL PROTECTED] & you will be 
removed. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/LINUX_Newbies/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to