28.03.2024, 18:32 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]

Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
Autor Nachricht
kb0hae
Titel: Users and groups  BeitragVerfasst 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?
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
piper
Titel: RE: Users and groups  BeitragVerfasst am: 01.08.2006, 03:23 Uhr
Team Member
Team Member


Anmeldung: 03. Mai 2005
Beiträge: 1544
Wohnort: out there somewhere
dial-out and dip is all i needed for my week on dial-up i believe Winken

_________________
h2's d-u script
h2's rdiff-backup script
 
 Benutzer-Profile anzeigen Private Nachricht senden Website dieses Benutzers besuchen  
Antworten mit Zitat Nach oben
Swynndla
Titel: Re: Users and groups  BeitragVerfasst 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
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
kb0hae
Titel: RE: Re: Users and groups  BeitragVerfasst 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!
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
John
Titel: RE: Re: Users and groups  BeitragVerfasst 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
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
jiro
Titel: RE: Re: Users and groups  BeitragVerfasst 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.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
John
Titel: RE: Re: Users and groups  BeitragVerfasst 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
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
jiro
Titel: RE: Re: Users and groups  BeitragVerfasst am: 05.08.2006, 03:25 Uhr



Anmeldung: 27. Jun 2005
Beiträge: 258

yep, looks like that will work fine. thank you!
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
kb0hae
Titel: RE: Re: Users and groups  BeitragVerfasst 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! Sehr glücklich
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Beiträge vom vorherigen Thema anzeigen:     
Gehe zu:  
Alle Zeiten sind GMT + 1 Stunde
Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
PNphpBB2 © 2003-2007 
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.