LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-16-2004, 06:08 PM   #1
hlinux
Member
 
Registered: Mar 2003
Location: Dominican Republic
Posts: 77

Rep: Reputation: 15
Question Wvdial configuration


File ownership

when I try to configure Wvdial following this page http://support.real-time.com/linux/dialup/wvdial.html recommendations and try to modify the wvdial.conf file, I'm denied the right to do so because I don't have ownership to the file.
What should I do in order to take ownership,modify the file and save it to be able to dial up from console
 
Old 10-16-2004, 06:46 PM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
From the instructions on that page
Quote:
WvDial is a command-line pppd driver. It has two main components, wvdialconf and wvdial. Both must be run as root.
In a terminal if you see a prompt that looks like this
mingdao@lappy:~$
with a $ sign, that means you're logged in as a normal user.
Issue "su" without the quotes, switch user, and if you only
have two users on your system it will prompt you for the root
password. When you're logged in as root, it will look like this
root@lappy:/home/mingdao#
with a # to indicate root is logged in.

Don't run your system as root. This is your first line of defense
as far as security is concerned on a Linux system. Run as the
normal user.

You can also issue su -c and the -c tells it to execute the command
that follows su. For instance, to edit the file, if it is named wvdialconf
you would issue it like this
mingdao@lappy:~/wvdial-1.54.0$ su -c "pico wvdialconf"
password:
and when you enter your password, it would switch users to root,
allow you to edit the file, and when you save the file it will return
you to a normal user. NB: The quotes are needed in this last example.
 
  


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
wvdial samjkd Linux - Software 2 04-13-2005 08:09 PM
need help with wvdial weng Linux - Networking 2 01-22-2004 03:41 AM
Wvdial help frankprogramer Linux - Software 1 10-10-2002 09:34 AM
wvdial pir2 Linux - Networking 2 06-20-2002 07:41 PM
wvdial fonglun Linux - General 1 07-31-2001 03:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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