18.4. Creating WvDial Accounts for Nonroot Users
Problem
You want your users to have their own private dial-up accounts, with the configuration file stored in their own home directories.
Solution
First, make sure all the necessary permissions and group
ownerships are configured as in Recipe 18.3. Then, WvDial
configuration for individual users is done just like in the first two
recipes in this chapter, except the WvDial configuration file is
stored in their home directories. Create the new configuration file as
the user, with the --config option
to specify the location of the user's personal configuration
file:
$ wvdialconf --config ~/.wvdialrcThe file can have any name you like; using
.wvdialrc creates a default that is called by
using the wvdial command with no
options. Multiple accounts are created by using Dialer sections, and
called just like in the other recipes:
$ wvdial ISP2If the file has a different name, it must be called with the
--config option:
$ wvdial --config ~/dialupIf there are multiple Dialer sections in it, call them this way:
$ wvdialconf --config ~/dialup ISP1Discussion
Some users like having a desktop icon to click on, instead of running a shell command. It is easy to make one; check the documentation for whatever desktop they are running, as each one is a little different.
For simple individual dial-up accounts, graphical utilities like KPPP and GnomePPP are nice for your users. But, you often still have to make manual edits to /etc/ppp/options or other ppp
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access