Linux Anfänger Problem

Hallo e-Laurin,

der Befehl klappte nicht, da es den Parameter "-a" nicht gibt.
"gpasswd --help" zeigte mir eine Schwarz/Weiß Beschreibung(1 Zeile Englisch/1 Zeile Deutsch) an.

die manpage sagt zu den Optionen:

OPTIONS
-r
Remove group password.

-l
A system administrator can lock the password of the specified group.

-u
A system administrator can unlock the password of the specified group, if the group is not passwordless afterwards (it will not unlock a group that has only "!" as a password).

Egal, war ja nur so eine Idee von mir, weil ich beim Stöbern in "Yast" auf diese Möglichkeit gestossen bin.
Irgendwann hab ich genug Zeit und dann werde ich mich intensiver mit diesem System auseinandersetzen.

Auf jeden Fall haut es mit dem "nicht einhängen beim Systemstart" hin und außerdem haben Benutzer A und B dort nix zu suchen.
Da ich ja alles in einer Person bin weiß ich was dort vor sich hingammelt.:D

Gruß der LinuxTester
 
laurin@miriam ~ $ gpasswd
Aufruf: gpasswd [-r|-R] Gruppe
gpasswd [-a Benutzer] Gruppe
gpasswd [-d Benutzer] Gruppe
gpasswd [-A Benutzer,...] [-M Benutzer,...] Gruppe
laurin@miriam ~ $
Manpage:
OPTIONS
Except for the -A and -M options, the options cannot be combined. The
options which apply to the gpasswd command are:

-a user
Add the user to the named group.

-d user
Remove the user from the named group.

-r
Remove the password from the named group. Only group members will
be allowed to use newgrp to join the named group.

-R
Restrict the access to the named group. Only group members will be
allowed to use newgrp to join the named group.

-A user,...
Set the list of administrative users.

-M user,...
Set the list of group members.
Ich weiß ja, dass bei Suse viel auf andere Art und Weise gehandhabt wird, aber das jetzt finde ich ungewöhnlich. :freak:
 
Hallo,

bei mir sieht es so aus:
linux-XXXXXXX: # gpasswd --help
Aufruf: gpasswd [-r|-l|-u] Gruppe
gpasswd - change group password

-r Remove the password for this group
-l Locks the password entry for "group"
-u Try to unlock the password entry for "group"
-D binddn Benutze "binddn" als DN für LDAP anfragen
-P path Search group file in "path"
--help Gib diese Hilfe aus
--service srv Benutze den Dienst "srv"
--usage Gib eine kurze Hilfe zum Aufruf aus
--version Gib Versionnummer des Programmes aus
--stdin Receive input from stdin instead of /dev/tty
Gültige Dienste für -r sind: files, nis, nisplus, ldap

linux-XXXXXXX: # man gpasswd
NAME
gpasswd - change group password

SYNOPSIS
gpasswd [-r|-l|-u] [group]

DESCRIPTION
gpasswd changes passwords for group accounts. Only an administrator may change the password for any group. The used hash algorithmus is defined by the value of GROUP_CRYPT or, if not specified, CRYPT from /etc/default/passwd.
If not configured, the traditinal des algorithmus is used.

OPTIONS
-r Remove group password.

-l A system administrator can lock the password of the specified group.

-u A system administrator can unlock the password of the specified group, if the group is not passwordless afterwards (it will not unlock a group that has only "!" as a password).

FILES
/etc/group - group account information /etc/default/passwd - default
values for password hash

SEE ALSO
group(5), groupadd(8), groupdel(8), groupmod(8)

Nun habe ich gleich beim ersten Aufruf den Befehl kaputt gemacht.:D

Bis irgendwann mal wieder, der LinuxTester
 
Guten Abend,
mal eine kurze Rückmeldung zu meinem Wunschgedanken.

Gestern habe ich es endlich hinbekommen.
Nachdem ich tagelang alles mögliche versucht habe, zb. in der "/etc/gruop.conf" den Benutzer A zur Gruppe "disk" hinzufügen und in der "/etc/fstab" das user durch den Benutzernamen oder die uuid-Nummer ersetzen, bin ich auf den Befehl "umask" gestoßen.

Und siehe da jetzt klappt es(noch)!:)

Auszug aus meiner /etc/fstab:
/dev/disk/by-id/scsi-Festplatte-part1 /Altsystem/C ntfs-3g
noauto,users,gid=users,fmask=133,dmask=022,locale=de_DE.UTF-8 0 0
/dev/disk/by-id/scsi-Festplatte-part5 /Altsystem/D ntfs-3g
user,users,gid=users,fmask=133,dmask=022,umask=0002,locale=de_DE.UTF-8 0 0
Es gefällt mir zwar noch nicht, weil eigentlich nur "Benutzer A" auf die Partition soll und die anderen nicht, aber man kann nicht alles auf einmal haben.

Auf jeden Fall habe ich erstmal die Nase voll vom Rumspielen an diversen config-Dateien, sonst bleibt wirklich eines Tages mal der Bildschirm dunkel!

Gruß, der LinuxTester
 
Zurück
Oben