Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
su: non mi accetta la passwd di root [risolto]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
power83
l33t
l33t


Joined: 28 Nov 2004
Posts: 638

PostPosted: Wed Sep 27, 2006 7:20 pm    Post subject: su: non mi accetta la passwd di root [risolto] Reply with quote

Salve ragazzi, ho installato da poco la 2006.1 per amd64 (anche se ho intel...) e ho riscotrato un problema a cui non so dare soluzione:

- da utente se faccio su, giustamente mi chiede la passwd....metto quella di root.....e mi fa sorry la passwd e' sbagliata!

Eppure:
- la passwd di root e' quella giusta
- sono nel gruppo wheel


Perche succede questo? Come posso risolvere?


Last edited by power83 on Sun Oct 01, 2006 10:13 pm; edited 1 time in total
Back to top
View user's profile Send private message
codadilupo
Advocate
Advocate


Joined: 05 Aug 2003
Posts: 3135

PostPosted: Wed Sep 27, 2006 7:53 pm    Post subject: Reply with quote

beh, direi che la password è semplicemente sbagliata ;-)
entra dal livecd, fai chroot, e cambia la password. Mi raccomando, il chroot PRIMA del cambio password ;-)

Coda
Back to top
View user's profile Send private message
power83
l33t
l33t


Joined: 28 Nov 2004
Posts: 638

PostPosted: Wed Sep 27, 2006 8:02 pm    Post subject: Reply with quote

Beh scusa se fosse sbagliata coem mai allora poso ivece loggari da root co la stessa passwd?
Back to top
View user's profile Send private message
codadilupo
Advocate
Advocate


Joined: 05 Aug 2003
Posts: 3135

PostPosted: Wed Sep 27, 2006 8:05 pm    Post subject: Reply with quote

power83 wrote:
Beh scusa se fosse sbagliata coem mai allora poso ivece loggari da root co la stessa passwd?


beh, scusa, perchè questo non l'hai detto nel primo post ?

P.S.: ci faccio caso solo ora: ho letto male, o hai installato am64 su x86 ?
P.P.S.: una possibile spiegazione: loggandoti da root in shell hai un keyboard layout differente da quello settato in ambiente grafico per l'utente standard, per cui digiti effettivamente cose differenti, pur premendo i medesimi tasti.

Coda
Back to top
View user's profile Send private message
power83
l33t
l33t


Joined: 28 Nov 2004
Posts: 638

PostPosted: Wed Sep 27, 2006 8:27 pm    Post subject: Reply with quote

si in effetti avrei dovuto scriverlo...

Ho istallato amd64 xke' ho u Intel con supporto EM64T.

pps: impposbile xke' lapassword 'e stupida e contiene solo caratteri del tipo [a-z]
Back to top
View user's profile Send private message
codadilupo
Advocate
Advocate


Joined: 05 Aug 2003
Posts: 3135

PostPosted: Wed Sep 27, 2006 8:33 pm    Post subject: Reply with quote

power83 wrote:
pps: impposbile xke' lapassword 'e stupida e contiene solo caratteri del tipo [a-z]


eh, non è mica detto: ci son differenze forti, nel layout: tipo la a al posto della z, la z al posto della q etc...

Coda
Back to top
View user's profile Send private message
power83
l33t
l33t


Joined: 28 Nov 2004
Posts: 638

PostPosted: Wed Sep 27, 2006 8:41 pm    Post subject: Reply with quote

beh, s da terinale scrivo la passwd i chiaro e' giusta..
Back to top
View user's profile Send private message
codadilupo
Advocate
Advocate


Joined: 05 Aug 2003
Posts: 3135

PostPosted: Wed Sep 27, 2006 8:47 pm    Post subject: Reply with quote

power83 wrote:
beh, s da terinale scrivo la passwd i chiaro e' giusta..


Code:
saltatempo ~ # grep wheel /etc/group*
wheel:x:10:root,harlock
wheel:x:10:root,harlock
saltatempo ~ #


corrisponde ? due volte ? se no, hai provato a dare

Code:
# env-update && source /etc/profile


:?:

dandolo anche da utente (senza env-update) ?

Coda
Back to top
View user's profile Send private message
power83
l33t
l33t


Joined: 28 Nov 2004
Posts: 638

PostPosted: Sun Oct 01, 2006 10:58 am    Post subject: Reply with quote

mancava la x tra wheel::10 ecccetera e le ho aggiunte, m no cambia nulla :cry:
Back to top
View user's profile Send private message
codadilupo
Advocate
Advocate


Joined: 05 Aug 2003
Posts: 3135

PostPosted: Sun Oct 01, 2006 1:07 pm    Post subject: Reply with quote

power83 wrote:
mancava la x tra wheel::10 ecccetera e le ho aggiunte, m no cambia nulla :cry:


hai modificato entrambi i file group e group- ? hai dato env-update e source /etc/profile ?
..... hai provato a riavviare (soluzione MStn 8O ) ;-) ?

Coda
Back to top
View user's profile Send private message
nikko96
Apprentice
Apprentice


Joined: 22 Jul 2005
Posts: 229
Location: Pulcinella's Country

PostPosted: Sun Oct 01, 2006 2:12 pm    Post subject: Reply with quote

Hai provato a vedere se è abilitato il bit suid?
Nel caso
Code:
# chmod +s /bin/su


Edit:forse può dipendere dalle opzioni di mount della partizione
_________________
My system: cpu Intel core 2 duo e6750,mb asus p5n-e sli,scheda grafica nvidia GeForce 9600 GT,kernel 2.6.31-gentoo-r6
Back to top
View user's profile Send private message
power83
l33t
l33t


Joined: 28 Nov 2004
Posts: 638

PostPosted: Sun Oct 01, 2006 10:12 pm    Post subject: Reply with quote

nikko96 wrote:
Hai provato a vedere se è abilitato il bit suid?
Nel caso
Code:
# chmod +s /bin/su


Edit:forse può dipendere dalle opzioni di mount della partizione


TI AMO, ora funziona!

Questo vuol dire che e un bug dello stage3 amd64 del 2006.1, dao he il 2006.1 x86 l'ho installato su altra macchia e va bene!

EDIT: nn apevo dell'esistenza di tale bit..dove posso troare info a riguardo?
Back to top
View user's profile Send private message
Gitanovic
Tux's lil' helper
Tux's lil' helper


Joined: 18 Feb 2004
Posts: 101
Location: Italy

PostPosted: Sun Oct 01, 2006 10:47 pm    Post subject: Reply with quote

Sono i permessi dei files...

Prova a vedere "man chmod" e le further readings di quella pagina di manuale ;)
_________________
Gipsy
Back to top
View user's profile Send private message
nikko96
Apprentice
Apprentice


Joined: 22 Jul 2005
Posts: 229
Location: Pulcinella's Country

PostPosted: Mon Oct 02, 2006 10:31 am    Post subject: Reply with quote

power83 wrote:

Questo vuol dire che e un bug dello stage3 amd64 del 2006.1, dao he il 2006.1 x86 l'ho installato su altra macchia e va bene!

EDIT: nn apevo dell'esistenza di tale bit..dove posso troare info a riguardo?

In passato,non ricordo se con freebsd,mi ci sono imbattuto anch'io con questo "problema" se così si può chiamare.
Praticamente un eseguibile con suid root è potenzialmente pericoloso,perchè può essere eseguito da chiunque
con privilegi di root,quindi,da quello che ho capito,meglio non settarli con suid e se proprio necessario tenerli sotto controllo
con un comando del tipo
Code:
# find / -type f \( -perm -04000 -o -perm -02000 \)


ciao
_________________
My system: cpu Intel core 2 duo e6750,mb asus p5n-e sli,scheda grafica nvidia GeForce 9600 GT,kernel 2.6.31-gentoo-r6
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
Page 1 of 1

 
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