View previous topic :: View next topic |
Author |
Message |
xelif Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 16 Jan 2006 Posts: 152
|
Posted: Sun Jan 22, 2006 11:42 am Post subject: [X]impossible de se connecter en root |
|
|
bonjour a tous je crois que encore une fois j'ai bouletté...
en effet, je voulais changer le chmod d'un DD en NTFS que je voulais monter afion de pouvoir afficher sous kopete ce qu'il contenait et en fait voulant faire un Code: | chmod 755 -R /mnt/data | j'ai fait :
impossible de lancer une session autrement qu'en root...
pourriez vous me donner la liste des chmod afin ke je les remodifie manuellement?
pour l'instant je fais un chmod 777 mais bon au niveau de la securité c'est pas top quand meme...
par avance merci
XeliF noob et gaffeur inveteré
Last edited by xelif on Sun Jan 22, 2006 1:10 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
xelif Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 16 Jan 2006 Posts: 152
|
Posted: Sun Jan 22, 2006 12:23 pm Post subject: |
|
|
rebojour... bon avec un chmod 777 ca marche... pour les utilisateurs mais je ne peux plus me logger en root en faisant un chmof 777 aurais je bouzillé le mot de pass root?
étrange
je continue mes recherche pour le probleme de permissions car c'est un pc multi utilisateur et je n'ai pas envie que certains puissent me bouziller mes fichiers de configuration...
Cordialement
Xelif |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Trevoke Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/31218531845533c508386c.jpg)
Joined: 04 Sep 2004 Posts: 4099 Location: NY, NY
|
Posted: Mon Jan 23, 2006 1:48 pm Post subject: |
|
|
Code: | # ls -l /
drwxr-xr-x 2 root root 214 2006-01-20 09:15 bin
drwxr-xr-x 2 root root 4 2004-12-01 09:34 boot
drwxr-xr-x 16 root root 3460 2006-01-23 08:43 dev
drwxr-xr-x 123 root root 264 2006-01-20 15:24 etc
drwxr-xr-x 11 root root 11 2005-10-21 11:36 home
drwxr-xr-x 12 root root 175 2006-01-20 12:01 lib
drwxr-xr-x 3 root root 4 2005-11-10 16:11 media
drwxr-xr-x 8 root root 9 2005-04-20 09:59 mnt
drwxr-xr-x 27 root root 28 2006-01-04 10:27 opt
drwxr-xr-x 2 root root 3 2005-05-25 09:58 plug-ins
dr-xr-xr-x 232 root root 0 2006-01-20 00:05 proc
drwx------ 40 root root 103 2006-01-20 15:29 root
drwxr-xr-x 2 root root 262 2006-01-20 09:15 sbin
drwxr-xr-x 10 root root 0 2006-01-20 00:05 sys
drwxrwxrwt 60 root root 70 2006-01-21 04:20 tmp
drwxr-xr-x 19 root root 26 2005-11-21 08:49 usr
drwxr-xr-x 16 root root 18 2006-01-20 13:13 var
|
Ceci dit, t'es surement mieux parti si tu fais un emerge -e world a ce niveau-la, ou un restore de sauvegarde, puisque ca change de partout dans les subdirectories. _________________ Votre moment detente
What is the nature of conflict? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
guilc Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/190892864153fcc64a2a920.jpg)
Joined: 15 Nov 2003 Posts: 3326 Location: Paris - France
|
Posted: Mon Jan 23, 2006 2:04 pm Post subject: |
|
|
Trevoke wrote: | Ceci dit, t'es surement mieux parti si tu fais un emerge -e world a ce niveau-la, ou un restore de sauvegarde, puisque ca change de partout dans les subdirectories. |
+1
Remettre tout a la main, ça tient de l'impossible. _________________ Merci de respecter les règles du forum.
Mon site perso : https://www.xwing.info
Mon PORTDIR_OVERLAY : https://gentoo.xwing.info ou layman -a xwing |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Trevoke Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/31218531845533c508386c.jpg)
Joined: 04 Sep 2004 Posts: 4099 Location: NY, NY
|
Posted: Mon Jan 23, 2006 2:30 pm Post subject: |
|
|
[completement OFF]C'est pas impossible. Pour un etre humain, l'impossible est faisable, c'est le "hautement improbable" qui n'est pas faisable.. Tout remettre a la main c'est juste hautement improbable (faut vraiment aimer se faire chier, pardonnez mon langage).[/completement OFF] _________________ Votre moment detente
What is the nature of conflict? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
guilc Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/190892864153fcc64a2a920.jpg)
Joined: 15 Nov 2003 Posts: 3326 Location: Paris - France
|
Posted: Mon Jan 23, 2006 2:42 pm Post subject: |
|
|
Trevoke wrote: | [completement OFF]C'est pas impossible. Pour un etre humain, l'impossible est faisable, c'est le "hautement improbable" qui n'est pas faisable.. Tout remettre a la main c'est juste hautement improbable (faut vraiment aimer se faire chier, pardonnez mon langage).[/completement OFF] |
Roh ! tu tatillones
Enfin, faut quand même etre motivé poru regarder chaque ficheir un par un et remettre les droits corrects dessus (y compris les bits setuid, etc...) _________________ Merci de respecter les règles du forum.
Mon site perso : https://www.xwing.info
Mon PORTDIR_OVERLAY : https://gentoo.xwing.info ou layman -a xwing |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
boozo Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/83658268945e337605eec8.gif)
Joined: 01 Jul 2004 Posts: 3193
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
yoyo Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/1382399841473c166bf2c72.jpg)
Joined: 04 Mar 2003 Posts: 4273 Location: Lyon - France
|
Posted: Mon Jan 23, 2006 3:34 pm Post subject: |
|
|
Déjà, détarrer un stage3 (après sauvegarde des fichiers de config dans /etc) et un snapshot de portage me semble indispensable pour repartir sur une base saine.
Mes 0.02 cents. _________________ La connaissance s'accroît quand on la partage.
JCB |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
boozo Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/83658268945e337605eec8.gif)
Joined: 01 Jul 2004 Posts: 3193
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|