Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
modificareGRUB per xp e cambiare la password di root
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
gian92
n00b
n00b


Joined: 24 May 2008
Posts: 25

PostPosted: Thu Oct 02, 2008 7:25 pm    Post subject: modificareGRUB per xp e cambiare la password di root Reply with quote

ciao a tutti io avevo un dual boot ubuntu-xp
poi ho formattato ubuntu e ho installato gentoo mediante una penna usb....
ora però nella schermata del bootloader non appare più xp...
cosa devo fare per farcelo tornare?
grazie


Last edited by gian92 on Sat Oct 04, 2008 9:54 am; edited 1 time in total
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Thu Oct 02, 2008 7:47 pm    Post subject: Re: modificare il boot loader per xp Reply with quote

gian92 wrote:
ciao a tutti io avevo un dual boot ubuntu-xp
poi ho formattato ubuntu e ho installato gentoo mediante una penna usb....
ora però nella schermata del bootloader non appare più xp...
cosa devo fare per farcelo tornare?
grazie


guarda il file di grub di esempio, lì c'è.
come ci dovrebbe -se non ricordo male- essere anche nella handbook
_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
gian92
n00b
n00b


Joined: 24 May 2008
Posts: 25

PostPosted: Thu Oct 02, 2008 7:59 pm    Post subject: Reply with quote

sono un pò inesperto....
dove lo trovo questo file?
grazie ancora e scusatemi
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Thu Oct 02, 2008 9:39 pm    Post subject: Reply with quote

gian92 wrote:
sono un pò inesperto....
dove lo trovo questo file?
grazie ancora e scusatemi


se seguivi la guida ci dovevi sbattere per forza addosso:
http://www.gentoo.org/doc/it/handbook/handbook-x86.xml?part=1&chap=10#doc_chap2

la prossima volta occhi aperti! :twisted:
_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
gian92
n00b
n00b


Joined: 24 May 2008
Posts: 25

PostPosted: Fri Oct 03, 2008 11:49 am    Post subject: Reply with quote

non seguivo la guida!! :D
Back to top
View user's profile Send private message
fbcyborg
Advocate
Advocate


Joined: 16 Oct 2005
Posts: 3056
Location: ROMA

PostPosted: Fri Oct 03, 2008 12:36 pm    Post subject: Reply with quote

gian92 wrote:
non seguivo la guida!! :D


Eeeeh! male male male...

Comodo il forum vero? :)
_________________
[HOWTO] Come criptare la /home usando cryptsetup e luks
[HOWTO] Abilitare il supporto al dom0 XEN su kernel 3.X
Help answer the unanswered
Back to top
View user's profile Send private message
gian92
n00b
n00b


Joined: 24 May 2008
Posts: 25

PostPosted: Fri Oct 03, 2008 7:04 pm    Post subject: Reply with quote

fbcyborg wrote:
gian92 wrote:
non seguivo la guida!! :D


Eeeeh! male male male...

Comodo il forum vero? :)

si molto!
della guida non capivo nulla...l
Back to top
View user's profile Send private message
ckx3009
Guru
Guru


Joined: 08 Apr 2008
Posts: 362
Location: Milano, Italy

PostPosted: Fri Oct 03, 2008 7:41 pm    Post subject: Reply with quote

[semi OT]
se non capivi nulla della guida, non capirai mai nulla di tutto quello che dovrai fare, IMHO.

questa e' la procedura standard per cercare di risolvere i propri problemi con gentoo (e anche con altre distro) e dovrebbe essere seguita in quest'ordine:
1) ricerca sulla documentazione di gentoo
2) ricerca nei gentoo wiki
3) ricerca sul forum
4) ricerca su google
5) richiesta di aiuto sul forum (se e solo se si e' cercato nelle 4 posizioni precedenti)

tu avresti facilmente risolto i tuoi problemi nel punto 1.
[/semi OT]
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Fri Oct 03, 2008 7:50 pm    Post subject: Reply with quote

ckx3009 wrote:
[semi OT]
se non capivi nulla della guida, non capirai mai nulla di tutto quello che dovrai fare, IMHO.

questa e' la procedura standard per cercare di risolvere i propri problemi con gentoo (e anche con altre distro) e dovrebbe essere seguita in quest'ordine:
1) ricerca sulla documentazione di gentoo
2) ricerca nei gentoo wiki
3) ricerca sul forum
4) ricerca su google
5) richiesta di aiuto sul forum (se e solo se si e' cercato nelle 4 posizioni precedenti)

tu avresti facilmente risolto i tuoi problemi nel punto 1.
[/semi OT]


come non quotarti... se poi si pensa che quello che hai detto è anche qui:
LINEE GUIDA (leggete prima di postare e anche dopo!!!)
_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
gian92
n00b
n00b


Joined: 24 May 2008
Posts: 25

PostPosted: Fri Oct 03, 2008 9:17 pm    Post subject: Reply with quote

vabbè scusatemi :oops:
Back to top
View user's profile Send private message
gian92
n00b
n00b


Joined: 24 May 2008
Posts: 25

PostPosted: Fri Oct 03, 2008 9:37 pm    Post subject: Reply with quote

ma c'è una password di default di root?
non ricordo di averne inserita qualcuna quando lo ho installato....
questo non lo ho trovato facendo i 4 passi
Back to top
View user's profile Send private message
k01
Arch/Herd Tester
Arch/Herd Tester


Joined: 13 Feb 2008
Posts: 619
Location: Milano

PostPosted: Fri Oct 03, 2008 9:40 pm    Post subject: Reply with quote

falso, perchè se tu seguissi l'handbook noteresti che a un certo punto ti dice di impostarla con passwd
Back to top
View user's profile Send private message
gian92
n00b
n00b


Joined: 24 May 2008
Posts: 25

PostPosted: Fri Oct 03, 2008 9:45 pm    Post subject: Reply with quote

ok ma, non avendo io seguito la guida, chiedo:
se non la imposto quale è la password?
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Fri Oct 03, 2008 10:12 pm    Post subject: Reply with quote

gian92 wrote:
ok ma, non avendo io seguito la guida, chiedo:
se non la imposto quale è la password?

random
te lo dice il livecd al boot. :twisted:
_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4810
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Fri Oct 03, 2008 10:21 pm    Post subject: Reply with quote

gian92 wrote:
ok ma, non avendo io seguito la guida, chiedo:
se non la imposto quale è la password?

nessuna password.
mi pare però che il sistema sia impostato per impedire gli accessi senza password.
e quindi sei da capo...
inoltre, gentoo non imposta di default il meccanismo di sudo, come ubuntu.

se è questo che ti interessa, sappi che questi comportamenti dipendono dalla configurazione dei file /etc/passwd /etc/shadow e /etc/pam.d/*.
per saperne di più puoi cominciare da:
Quote:

man 5 passwd
man 5 group
man 5 shadow
man pam
man pam.conf

_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Fri Oct 03, 2008 10:33 pm    Post subject: Reply with quote

cloc3 wrote:
nessuna password.

:oops:
interessante, io pensavo invece prendesse la pwd dall'ambiente di chroot, ma dopotutto non ha molto senso visto che ssh lo installi ex novo.
_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4810
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Fri Oct 03, 2008 11:01 pm    Post subject: Reply with quote

Peach wrote:

interessante

Code:

s939 distfiles # tar xjf baselayout-2.0.0.tar.bz2 baselayout-2.0.0/share.Linux/shadow baselayout-2.0.0/share.Linux/passwd -O|grep root
root:*:10770:0:::::
root:x:0:0:root:/root:/bin/bash
...

praticamente un password falsa.
penso che sia uguale negli stage.
ma ricordo che la configurazione della password di root è un'operazione obbligatoria, prima del login iniziale.
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
gian92
n00b
n00b


Joined: 24 May 2008
Posts: 25

PostPosted: Sat Oct 04, 2008 8:15 am    Post subject: Reply with quote

grazie!
ho letto quei file e in pratica ho capito che siccome ora l'hardware è troppo potente le password non criptate le può vedere solo root :(

Code:
s939 distfiles # tar xjf baselayout-2.0.0.tar.bz2 baselayout-2.0.0/share.Linux/shadow baselayout-2.0.0/share.Linux/passwd -O|grep root
root:*:10770:0:::::
root:x:0:0:root:/root:/bin/bash
...

questo cosa è?

non potrei modificare pam.conf e mettere che anche il mio utente può far emergere grub?
Back to top
View user's profile Send private message
fbcyborg
Advocate
Advocate


Joined: 16 Oct 2005
Posts: 3056
Location: ROMA

PostPosted: Sat Oct 04, 2008 8:16 am    Post subject: Reply with quote

mmh.. mi sa che c'è un po' di confusione, sbaglio?
_________________
[HOWTO] Come criptare la /home usando cryptsetup e luks
[HOWTO] Abilitare il supporto al dom0 XEN su kernel 3.X
Help answer the unanswered
Back to top
View user's profile Send private message
gian92
n00b
n00b


Joined: 24 May 2008
Posts: 25

PostPosted: Sat Oct 04, 2008 9:12 am    Post subject: Reply with quote

fbcyborg wrote:
mmh.. mi sa che c'è un po' di confusione, sbaglio?

io confuso?
ma che dici!!
:)
Back to top
View user's profile Send private message
gian92
n00b
n00b


Joined: 24 May 2008
Posts: 25

PostPosted: Sat Oct 04, 2008 9:17 am    Post subject: Reply with quote

http://gentoo-wiki.com/HOWTO_Reset_a_Lost_Root_Password
ho provato a seguire questo
ma se apro il terminale e provo a montare le partizioni mi dice "only root can do that"
mentre se apro il terminale di root mi richiede la password.....
Back to top
View user's profile Send private message
fbcyborg
Advocate
Advocate


Joined: 16 Oct 2005
Posts: 3056
Location: ROMA

PostPosted: Sat Oct 04, 2008 9:32 am    Post subject: Reply with quote

Allora, se devi resettare la password di root puoi fare così:
prendi il livecd minimale di Gentoo, fai boot, monti le partizioni (come da manuale), fai il chroot sul tuo sistema Gentoo(come da manuale), digiti passwd (sempre come da manuale) e digiti la tua nuova password. Fine.
Fra l'altro, ho visto adesso, non è pari pari quello che dice l'howto che hai linkato.
_________________
[HOWTO] Come criptare la /home usando cryptsetup e luks
[HOWTO] Abilitare il supporto al dom0 XEN su kernel 3.X
Help answer the unanswered
Back to top
View user's profile Send private message
gian92
n00b
n00b


Joined: 24 May 2008
Posts: 25

PostPosted: Sat Oct 04, 2008 9:40 am    Post subject: Reply with quote

si è come quello che ho linkato ma il problema è che quando vado a montare le partizioni mi dice :"only root can do that"!!!
e siamo da capo a dodici...
Back to top
View user's profile Send private message
fbcyborg
Advocate
Advocate


Joined: 16 Oct 2005
Posts: 3056
Location: ROMA

PostPosted: Sat Oct 04, 2008 9:42 am    Post subject: Reply with quote

Di solito quando dice "only root can do that" è perché stai tentando di fare qualcosa che solo root può fare, ma stai utilizzando una normale utenza.
La cosa mi suona strana, se stai seguendo tutto alla lettera.
_________________
[HOWTO] Come criptare la /home usando cryptsetup e luks
[HOWTO] Abilitare il supporto al dom0 XEN su kernel 3.X
Help answer the unanswered
Back to top
View user's profile Send private message
gian92
n00b
n00b


Joined: 24 May 2008
Posts: 25

PostPosted: Sat Oct 04, 2008 9:44 am    Post subject: Reply with quote

allora l'unica differenza rispetto alla guida
(e anche il motivo per cui inizialmente non la ho usata)
è che non ho il lettore cd e neanche la connessione internet quindi sto facendo tutto da pennetta usb....
ma pensavo non cambiasse molto perchè il sistema me la rconosce come cdrom...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum