View previous topic :: View next topic |
Author |
Message |
Battlestar Gentoo l33t
Joined: 23 Dec 2004 Posts: 708 Location: Wien
|
Posted: Sat Oct 14, 2006 11:26 am Post subject: [beantwortet] Wie Benutzer zu neuer Gruppe hinzufügen? |
|
|
Hallo,
führe ich usermod -h aus, so wird usermod -a als Option beschrieben, einen Benutzer zu einer gewissen Gruppe hizuzufügen. Der Befehl scheint aber nicht angenommen zu werden. In der usermod-Manpage und im Internet steht auch nichts von der a-Option.
Theoretisch könnte ich -G verwenden, und alle Gruppen mit der neuen neu eintippen, aber geht das nicht irgendwie besser? _________________ vorher: Gentoo Reptile
Last edited by Battlestar Gentoo on Sun Oct 15, 2006 7:03 am; edited 1 time in total |
|
Back to top |
|
|
blu3bird Retired Dev
Joined: 04 Oct 2003 Posts: 614 Location: Munich, Germany
|
Posted: Sat Oct 14, 2006 11:31 am Post subject: |
|
|
Code: | gpasswd -a deinuser diegruppe |
_________________ Black Holes are created when God divides by zero! |
|
Back to top |
|
|
BlueSkyDriver n00b
Joined: 26 Nov 2005 Posts: 57
|
Posted: Sat Oct 14, 2006 2:11 pm Post subject: |
|
|
probiere es mal so:
usermod -aG gruppe benutzer |
|
Back to top |
|
|
psyqil Advocate
Joined: 26 May 2003 Posts: 2767
|
Posted: Sat Oct 14, 2006 3:44 pm Post subject: |
|
|
|
|
Back to top |
|
|
deejay l33t
Joined: 24 Aug 2004 Posts: 983 Location: Hannover, Germany
|
Posted: Sat Oct 14, 2006 6:14 pm Post subject: |
|
|
oder einfach in der /etc/group den User hinter die Gruppe schreiben, sollte auch funktionieren
Gruß
deejay _________________
|
|
Back to top |
|
|
Necoro Veteran
Joined: 18 Dec 2005 Posts: 1912 Location: Germany
|
Posted: Sat Oct 14, 2006 6:36 pm Post subject: |
|
|
Quote: | Gentoo - it's all about choice! | _________________ Inter Deum Et Diabolum Semper Musica Est. |
|
Back to top |
|
|
Battlestar Gentoo l33t
Joined: 23 Dec 2004 Posts: 708 Location: Wien
|
Posted: Sun Oct 15, 2006 7:03 am Post subject: |
|
|
Alles klar, danke. _________________ vorher: Gentoo Reptile |
|
Back to top |
|
|
|