IPB

Bienvenue invité ( Connexion | Inscription )

> Leopard : compte admin vérolé aprés install => solution :), ... impossible de modifier les Prefs Sytemes
Options
trouspinette
posté 29 Oct 2007, 22:31
Message #1


Macbidouilleur d'Or !
*****

Groupe : Membres
Messages : 2 492
Inscrit : 19 Feb 2002
Lieu : BZH
Membre no 2 083



Salut,

Leopard fraichement installé, plus d'accès en tant qu'admin sur votre compte :

- Rebooter en Single User => Pomme + S au boot

A l'apparition du shell, taper (ATTENTION, clavier US)

1. fsck -fy
2. mount -uw /
3. nicl -raw /var/db/netinfo/local.nidb -merge /groups/admin users yourusername
4. reboot

/!\ REPLACER "yourusername" par votre compte.

Si vous avez un message vous disant "invalid path" :

* nicl -raw /var/db/netinfo/local.nidb -create /groups/admin gid 80
* nicl -raw /var/db/netinfo/local.nidb -create /groups/admin passwd '*'

Et répéter la commande "nicl -raw.... ...yourusername"

Une autre solution, utiliser le compte root (l'activer si non dispo).

Activation du compte root :

1 - Reboot
2 - Passer en single User (pomme S)
3 - Saisir :

* mount -uw /
* passwd root (you will be prompted to create a password)
* passwd yourusername (again, you will be prompted to create a password)
* shutdown -r now

Se loguer root ensuite et rétablir les droits sur le compte foireux. Ce qui me pousse à vous rappeler de ne JAMAIS utiliser un e ouverture de session automatique, on vous avait prévenu tongue.gif

Ciao

Source de l'info : MacFicxit
Message Orignal :

Users are reporting a strange phenomenon where their administrator user accounts are converted to standard user accounts after installation of Mac OS X 10.5 (Leopard).

MacFixIt reader Ed Anderson writes:

"Installing Leopard reconfigured my primary user account to 'standard', and in doing so, played havoc with many apps and processes that require it to be at admin level; multiple requests for user names and passwords that I knew were correct, yet denials of service anyway. It would not even let me use the login/keychain update. Spent a half day going through user name and password reconfigurations to get things running again. Even now, I still get asked for a password where before I did not (like mounting network drives) - keychain still seems to be partially broken."

Another reader adds:

"The only account was converted from an Administrator account to a Standard account and thus I couldn't alter anything in System Preferences."

The solution for this issue is to startup in single user mode by holding the Command and S keys while your Mac is booting, then typing the following commands, pressing return after each.

1. fsck -fy
2. mount -uw /
3. nicl -raw /var/db/netinfo/local.nidb -merge /groups/admin users yourusername
4. reboot

(replace "yourusername" with the desired username)

If you get a message saying "invalid path", then type these two commands:

* nicl -raw /var/db/netinfo/local.nidb -create /groups/admin gid 80
* nicl -raw /var/db/netinfo/local.nidb -create /groups/admin passwd '*'

and then repeat the nicl ... -merge command.

Another fix involves creating a root account and then assigning admin privileges to the relegated account by starting in single-user mode and entering these commands:

* mount -uw /
* passwd root (you will be prompted to create a password)
* passwd yourusername (again, you will be prompted to create a password)
* shutdown -r now

You can then startup normally, login into the root account and assign admin priveleges as you choose.



--------------------
Quis custodiet ipsos custodes ?

Camarades, Luttons contre le style SMS !!!

iPhone 3GS 16 Go 3.1 - PowerBook G4 800 - 10.4.11, MacBook Pro 15" 2.2 GHz Core2 - 10.5.8 - Nikon D80 + MB-80 + AFS 18/200 - Orange ADSL 8 MB
Go to the top of the page
 
+Quote Post

Les messages de ce sujet
- trouspinette   Leopard : compte admin vérolé aprés install => solution :)   29 Oct 2007, 22:31
- - Bullishannibal   CITATION(trouspinette @ 29 Oct 2007, 22:3...   29 Oct 2007, 23:21
- - lechneric   Merci je cherchais une solution à mon problèm...   30 Oct 2007, 09:05
- - Tepz   Hello tout le monde! J'écris pour le meme...   30 Oct 2007, 12:14
- - lechneric   Une question bête Une clean install efface au...   30 Oct 2007, 15:41
|- - Tepz   CITATION(lechneric @ 30 Oct 2007, 15:41) ...   30 Oct 2007, 20:47
- - lechneric   Et bien, non   30 Oct 2007, 21:46
- - quietude   pareil, pas moyen au travers du shell de modifier ...   30 Oct 2007, 23:50
- - DOMY   Les bons conseils d'installation de Léopard p...   30 Oct 2007, 23:59
- - quietude   ok, mais cela ne resouds pas le probleme de la per...   31 Oct 2007, 07:42
- - lechneric   J'ai fait une clean instal et tout est rentré...   31 Oct 2007, 08:29
- - Tepz   Perso j'hallucine... aucune commande ne répon...   31 Oct 2007, 09:44
- - Tepz   Alors pour faire démarrer le pc et réinstaller t...   31 Oct 2007, 15:48
|- - hellomorld   CITATION(Tepz @ 31 Oct 2007, 15:48) 24134...   31 Oct 2007, 15:52
|- - Albatros blanc   CITATION(Tepz @ 31 Oct 2007, 15:48) 24134...   31 Oct 2007, 20:47
- - fxdubrous   Bonsoir, j'essaye de me loguer en root afin de...   31 Oct 2007, 23:21
- - fxdubrous   En fait je m'explique, lorsque je veux rentrer...   1 Nov 2007, 00:20
|- - Albatros blanc   CITATION(fxdubrous @ 1 Nov 2007, 00:20) 2...   1 Nov 2007, 13:38
|- - APD   CITATION(Albatros blanc @ 1 Nov 2007, 13...   1 Nov 2007, 14:42
- - quietude   j'ai eu les meme symptomes et crise de nerfs. ...   1 Nov 2007, 16:54
- - istreen   Votre méthode est trop compliqué, je viens de rÃ...   3 Nov 2007, 10:22
|- - Winitri   CITATION(istreen @ 3 Nov 2007, 10:22) 241...   6 Nov 2007, 00:47
|- - Dnicolas.FR   CITATION(istreen @ 3 Nov 2007, 10:22) 241...   5 Dec 2007, 22:19
- - Dnicolas.FR   Réparé en ayant activé le compte root avec le s...   7 Dec 2007, 11:03
- - Winitri   Le plus simple reste quand même de booter avec le...   7 Dec 2007, 14:38
- - Zapapi   Hello, Même problème pour moi qui a commencé la...   19 Feb 2008, 12:23
- - manouche132   idem sur le portable d'un amis, dès fois appl...   7 Apr 2008, 19:28


Reply to this topicStart new topic

 



Version bas débit Nous sommes le : 9th February 2010 - 18:24