Autor |
Nachricht |
|
Titel: Users and groups
Verfasst am: 01.08.2006, 03:03 Uhr
|
|
Anmeldung: 22. Jul 2005
Beiträge: 124
|
|
Hi. I just added a new user acount, and had quite a problem getting it set up so he could use the dial-up connection here. I found out that for him to be able to connect he had to be a member of the DIP group to be able to use pppd. I think there was at least 1 other group he had to be added to so he could use KPPP.
Is there a list of what all the groups are and what priveleges membership gives a user? |
|
|
|
|
 |
|
Titel: RE: Users and groups
Verfasst am: 01.08.2006, 03:23 Uhr
|
|
Team Member


Anmeldung: 03. Mai 2005
Beiträge: 1544
Wohnort: out there somewhere
|
|
|
|
 |
|
Titel: Re: Users and groups
Verfasst am: 01.08.2006, 12:17 Uhr
|
|

Anmeldung: 05. Dez 2005
Beiträge: 414
Wohnort: Auckland, New Zealand
|
|
kb0hae hat folgendes geschrieben::
Is there a list of what all the groups are and what priveleges membership gives a user?
I might be wrong, but no I don't think there is.
This command shows all the groups:
cat /etc/group
You might like this gui instead:
K > System > KUser
This command:
ls -lh /usr/sbin/pppd
and this command:
ls -lh /usr/bin/kppp
show that the apps are executable by the group "dip"
Other than that, you'd need to understand the command line file structure of the app in question. |
_________________ Linux is evolution, not intelligent design - Linus Torvalds
|
|
|
|
 |
|
Titel: RE: Re: Users and groups
Verfasst am: 03.08.2006, 07:12 Uhr
|
|
Anmeldung: 22. Jul 2005
Beiträge: 124
|
|
Hi Guys. I have looked at KUser, in fact have used it. Unfortunatly not all the group names are intuitive. While some are listed by the directory or subdirectory that they give access to, some probably allow access only to certaun files. Without knowing exactly what privileges membership in each group confers on a user, how can one know how to assign group membership? I guess isubg the command above would help if you know exactly what apps a user needs to run. A list as I originally requested would be much more handy.
Thanks for the info! |
|
|
|
|
 |
|
Titel: RE: Re: Users and groups
Verfasst am: 03.08.2006, 12:22 Uhr
|
|

Anmeldung: 10. Dez 2004
Beiträge: 489
Wohnort: Stuttgart / Kulmbach
|
|
i give my new users all the groups the original user has, so everything works fine |
|
|
|
|
 |
|
Titel: RE: Re: Users and groups
Verfasst am: 04.08.2006, 03:29 Uhr
|
|

Anmeldung: 27. Jun 2005
Beiträge: 258
|
|
that's what i do too, but it would be much nicer if there was a list with explanations so i could actually understand what i was doing instead of just guessing.
also: is there a way to copy all of one user's group memberships at once? right now when i create a new user account i need to go thru kuser and check each checkbox manually. a little annoying that way. |
|
|
|
|
 |
|
Titel: RE: Re: Users and groups
Verfasst am: 04.08.2006, 08:40 Uhr
|
|

Anmeldung: 10. Dez 2004
Beiträge: 489
Wohnort: Stuttgart / Kulmbach
|
|
#!/bin/sh
#adds user youruser to the group yourgroup
adduser youruser yourgroup
for exmaple adduser jiro lpadmin
just write this once fpr all groups and replace youruser with the user you want to add (with kate for example you can replace all "youruser" with "jiro" by using the replace-option)
you got to make the script executable with chmode +x /path/to/scrip/script
execute it with /path/to/script/script
when youre in the same directory execute it with ./script |
|
|
|
|
 |
|
Titel: RE: Re: Users and groups
Verfasst am: 05.08.2006, 03:25 Uhr
|
|

Anmeldung: 27. Jun 2005
Beiträge: 258
|
|
yep, looks like that will work fine. thank you! |
|
|
|
|
 |
|
Titel: RE: Re: Users and groups
Verfasst am: 06.08.2006, 12:41 Uhr
|
|
Anmeldung: 22. Jul 2005
Beiträge: 124
|
|
Hi Folks. After MUCH searching (must have used the wrong search terms!) on the net, I finally found a partial list with explanations. That page refered me to a document on my own system (!!!) that gives a fairly good overview of what group membership in the "standard groups" means. Navigate to /usr/share/doc/base-passwd, and look at the users-and-groups.html file.
Happy reading!  |
|
|
|
|
 |
|