Kppp, wvdial & pppconfig

marc gmane at auxbuss.com
Sun Apr 19 10:43:16 UTC 2009


Nils Kassube said...
> Ray Burke wrote:
> > I am in root see below as type-
> >
> > rayburke at rayburke-desktop:~$ sudo groups
> > [sudo] password for rayburke:
> > root
> > rayburke at rayburke-desktop:~$
> >
> > so now what
> 
> Now do the same again as normal user (i.e. without sudo) because as root 
> you can already use wvdial. But you wrote that as a normal user you 
> can't, so you need to know what groups permissions you have as a normal 
> user. BTW: You should be in the dialout group instead of dip. I 
> installed wvdial to check it and the file /etc/wvdial.conf is readable 
> by the dialout group, not by the dip group.
> 
> Anyway, with my default group settings as the first user I am member of 
> the dialout group but as a second user I'm not.

If you look in:

  # man adduser

you'll find the usual man hieroglyphics that pretend to docs for adding 
a user. To translate, look in /etc/adduser.conf. At the end you'll see 
commented options for: EXTRA_GROUPS and ADD_EXTRA_GROUPS. Uncomment 
these and save.

Now, when you create a new account with:

  # sudo adduser fred

user fred will have all the groups included in EXTRA_GROUPS (in addition 
to group <username> (in this case, fred)).

For completeness, it also creates a /home directory, and adds the 
contents of /etc/skel to it.

I find this the easiest way to create accounts, and then use kuser to 
edit them.

-- 
Cheers,
Marc





More information about the kubuntu-users mailing list