View previous topic :: View next topic |
Author |
Message |
SnowBear l33t
Joined: 03 Sep 2005 Posts: 773 Location: France - Bordeaux
|
Posted: Sat Mar 29, 2008 3:43 pm Post subject: [gpasswd] Accès impossible à /etc/shadow (résolu) |
|
|
Bonjour à tous,
j'ai un petit problème avec ma gentoo.
Je ne peux pas modifier les groupes d'appartenance d'un utilisateur avec la commande gpasswd, voici l'erreur :
Code: | gpasswd : impossible d'ouvrir le fichier des mots de passe cachés /etc/shadow |
Les droits :
Code: |
-rw------- 1 root root 558 mar 29 16:29 /etc/shadow
-rw------- 1 root root 533 mar 28 13:33 /etc/shadow-
|
J'avais déjà eu ce problème sur une autre machine mais impossible de me rappeler comment j'avais fait :'( .
Avez-vous des solutions ?
Last edited by SnowBear on Sun Mar 30, 2008 8:47 am; edited 1 time in total |
|
Back to top |
|
|
nokernel n00b
Joined: 19 Jul 2004 Posts: 18 Location: Québec
|
Posted: Sat Mar 29, 2008 4:49 pm Post subject: |
|
|
Tu utilise la command gpasswd avec quelle usager? |
|
Back to top |
|
|
SnowBear l33t
Joined: 03 Sep 2005 Posts: 773 Location: France - Bordeaux
|
Posted: Sat Mar 29, 2008 4:56 pm Post subject: |
|
|
en root :
gpasswd -a <mon_login> <groupe> |
|
Back to top |
|
|
SnowBear l33t
Joined: 03 Sep 2005 Posts: 773 Location: France - Bordeaux
|
Posted: Sun Mar 30, 2008 7:54 am Post subject: |
|
|
Personne ne sait ? |
|
Back to top |
|
|
geekounet Bodhisattva
Joined: 11 Oct 2004 Posts: 3772 Location: Wellington, Aotearoa
|
Posted: Sun Mar 30, 2008 8:19 am Post subject: |
|
|
Ça m'était arrivé après une récente install, mais je n'avais pas pris le temps de chercher pourquoi, j'avais autrement. Et plus tard, après une update/re-emerge de sys-apps/shadow, c'était revenu comme il faut... ;p |
|
Back to top |
|
|
SnowBear l33t
Joined: 03 Sep 2005 Posts: 773 Location: France - Bordeaux
|
Posted: Sun Mar 30, 2008 8:22 am Post subject: |
|
|
Hummm merci toi, tu viens de me rappeler que j'avais du faire comme ça . |
|
Back to top |
|
|
SnowBear l33t
Joined: 03 Sep 2005 Posts: 773 Location: France - Bordeaux
|
Posted: Sun Mar 30, 2008 8:46 am Post subject: |
|
|
Après réinstallation puis exécution de grpconv problème fixé . |
|
Back to top |
|
|
nokernel n00b
Joined: 19 Jul 2004 Posts: 18 Location: Québec
|
Posted: Sun Mar 30, 2008 2:12 pm Post subject: |
|
|
SnowBear wrote: | Après réinstallation puis exécution de grpconv problème fixé . |
vas savoir hehe |
|
Back to top |
|
|
|