Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Risolto]Non riesco piú ad essere root
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
Pr0v4
Tux's lil' helper
Tux's lil' helper


Joined: 06 Sep 2005
Posts: 128
Location: Livorno

PostPosted: Tue Nov 29, 2005 3:51 pm    Post subject: [Risolto]Non riesco piú ad essere root Reply with quote

Ragzzi mi é successa una cosa stranissima, ma forse é meglio se vi spiego tutto :P
Allora da tempo andavo avanti con un vecchio hd da 30GB perché il mio era stato mandato in sostituzione;siccome l'ho preso ieri sera avevo pensato bene bene di "clonare" il vecchio hd su quello nuovo; almeno mi rispiarmiavo una nuova installazione di gentoo :D
Allora ho preso il nuovo hd e, una volta attaccato alla macchina, avvio con un cd di gentoo. A questo punto sul nuovo mi ricreo tutte le partizioni, ovviamente piú grandi, e poi inizio partizione per partizione a ricopiarmi tutto, per essere sicuri di fare bene; finito il tutto faccio il chroot sul nuovo hd per installarvi grub. Riavvio la macchina; e tranne qualche problemino con dei permessi riesco ad entrare come utente in X.
A questo punto tento un
Code:
#emerge --sync

Ma con scrsi risultati perché quando tento di accedere come root ricevo:
Code:
pr0v4@heaven:~$ su
su: Authentication failure
Spiacente.

Senza neanche avere la possibilitá di immettere la psw!
A parere mio il mio utente non ha i permessi perché non fa parte del gruppo; cosa strana perché vi faceva giá parte in precedenza...
Secondo voi cosa puó essere; e ammettendo che debba aggiungere il mio utente a whell, come posso fare???
Grazie in anticipo a tutti!!!


Last edited by Pr0v4 on Wed Nov 30, 2005 8:57 am; edited 1 time in total
Back to top
View user's profile Send private message
GuN_jAcK
l33t
l33t


Joined: 23 Mar 2005
Posts: 832
Location: Prague, Czech Republic

PostPosted: Tue Nov 29, 2005 3:56 pm    Post subject: Reply with quote

controlla che effetivamente il tuo utente sia nel gruppo wheel :)
_________________
Rispondi in maniera intelligente anche a chi ti tratta stupidamente.
Back to top
View user's profile Send private message
Pr0v4
Tux's lil' helper
Tux's lil' helper


Joined: 06 Sep 2005
Posts: 128
Location: Livorno

PostPosted: Tue Nov 29, 2005 4:02 pm    Post subject: Reply with quote

una tra le domande infatti era come posso fare???
Abbiate pazienza, ma queste cose non mi sono ancora entrate molto dentro...
Back to top
View user's profile Send private message
Onip
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 2912
Location: Parma (Italy)

PostPosted: Tue Nov 29, 2005 4:55 pm    Post subject: Reply with quote

entri col livecd e chrooti. poi controlli /etc/groups
per aggiungere un utente ad un gruppo c'è gpasswd
_________________
Linux Registered User n. 373835

Titus Lucretius Carus, De Rerum Natura - Tantum religio potuit suadere malorum
Back to top
View user's profile Send private message
ProT-0-TypE
Veteran
Veteran


Joined: 20 Dec 2003
Posts: 1624
Location: Cagliari

PostPosted: Tue Nov 29, 2005 5:55 pm    Post subject: Reply with quote

/etc/group senza la s :P
_________________
[Vuoi guadagnare navigando?]
Back to top
View user's profile Send private message
PboY
Apprentice
Apprentice


Joined: 02 Feb 2005
Posts: 238
Location: Italia - Monza

PostPosted: Tue Nov 29, 2005 7:12 pm    Post subject: Reply with quote

Onip wrote:
entri col livecd e chrooti. poi controlli /etc/groups
per aggiungere un utente ad un gruppo c'è gpasswd


scusa, ma ha detto che riesce perfino ad entrare in X... non gli basta aprire una console e scrivere "groups" per vedere in che gruppi è il suo utente? evitando livecd-chroot...
Back to top
View user's profile Send private message
Pr0v4
Tux's lil' helper
Tux's lil' helper


Joined: 06 Sep 2005
Posts: 128
Location: Livorno

PostPosted: Tue Nov 29, 2005 7:13 pm    Post subject: Reply with quote

ragazzi non é un problema di gruppi; e allora cosa puó essere???
Chiedo a voi di illuminarmi la via!
Grazio ancora!
Back to top
View user's profile Send private message
Ic3M4n
Advocate
Advocate


Joined: 02 Nov 2004
Posts: 3489
Location: Bergamo.

PostPosted: Tue Nov 29, 2005 8:45 pm    Post subject: Reply with quote

io rifarei il boot da livecd e dopo il chroot con passwd proverei a ridare la password di root. è molto strano che non te la chieda nemmeno e ti dia un Authentication failure
Back to top
View user's profile Send private message
devilheart
l33t
l33t


Joined: 17 Mar 2005
Posts: 848
Location: Villach, Austria

PostPosted: Tue Nov 29, 2005 9:22 pm    Post subject: Reply with quote

come sono i permessi di /bin/su ?
Back to top
View user's profile Send private message
kaio
Apprentice
Apprentice


Joined: 26 Aug 2003
Posts: 293
Location: Gorizia - IT

PostPosted: Tue Nov 29, 2005 10:00 pm    Post subject: Reply with quote

Verifica su avere il comando
Code:
/bin/su
settado col bit suid
Back to top
View user's profile Send private message
Pr0v4
Tux's lil' helper
Tux's lil' helper


Joined: 06 Sep 2005
Posts: 128
Location: Livorno

PostPosted: Wed Nov 30, 2005 8:31 am    Post subject: Reply with quote

i permessi di /bin/su:
Code:
ls -l /bin/su
-rwx--x--x  1 root root 20468 28 nov 21:33 /bin/su

sono "pochini"?
Abbiate pazienza ma io in queste cose non sono un asso :P
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30965
Location: here

PostPosted: Wed Nov 30, 2005 8:45 am    Post subject: Reply with quote

Posta per essere sicuri un
Code:
$ groups

da utente normale
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Wed Nov 30, 2005 8:45 am    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic.php?p=1663438
_________________
minimalblue.com | secgroup.github.io/
Back to top
View user's profile Send private message
Pr0v4
Tux's lil' helper
Tux's lil' helper


Joined: 06 Sep 2005
Posts: 128
Location: Livorno

PostPosted: Wed Nov 30, 2005 8:54 am    Post subject: Reply with quote

Grazie della dritta lavish, adesso entro come root e guardo di risolvere!!!!
Back to top
View user's profile Send private message
Pr0v4
Tux's lil' helper
Tux's lil' helper


Joined: 06 Sep 2005
Posts: 128
Location: Livorno

PostPosted: Wed Nov 30, 2005 8:56 am    Post subject: Reply with quote

Perfetto questo risolto!
Ma sappiate che presto mi rifaró vivo, anche gconf mi restituisce errori :P
Back to top
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Wed Nov 30, 2005 9:01 am    Post subject: Reply with quote

Pr0v4 wrote:
Grazie della dritta lavish, adesso entro come root e guardo di risolvere!!!!

Prego, ma ricordati di cercare prima di postare... thx ;)
_________________
minimalblue.com | secgroup.github.io/
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