Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problemi con il comando "su" [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
Crive
n00b
n00b


Joined: 11 May 2004
Posts: 33
Location: World.Europe.Italy.Varese

PostPosted: Sat Jan 15, 2005 3:10 pm    Post subject: Problemi con il comando "su" [RISOLTO] Reply with quote

Ciao a tutti,

ho da poco fatto l'aggiornamento di "world" sul mio sistema gentoo e tra i vari pacchetti aggiornati c'era anche "pam-login". L'aggiornamento è andato tutto ok, il problema è quando provo a fare un "su" da utente; inserisco la password ma l'output è il seguente:

Code:
bash-2.05b$ su
Password:
su: Permission denied
Sorry.


Non capisco per quale motivo mi dica che la password di root è errata.

N.B. se mi loggo come root nn ho nessun problema, la passwd è corretta!
N.B.2 L'utente è nel gruppo wheel

Qualche idea?? Grazie


Last edited by Crive on Sat Jan 15, 2005 3:38 pm; edited 1 time in total
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


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

PostPosted: Sat Jan 15, 2005 3:22 pm    Post subject: Re: Problemi con il comando "su" Reply with quote

Crive wrote:
tra i vari pacchetti aggiornati c'era anche "pam-login"
Qualche idea?? Grazie

Poche, per la verità, ma una osservazione:
Code:

gentoo-amd cloc3 # less /usr/share/doc/pam-login-3.14/ChangeLog.gz
2003-10-07  Thorsten Kukuk  <kukuk@suse.de>

        * release version 3.14

        * configure.in: Add --enable-selinux options, check for
        selinux library.

...

In altre parole, pam-login non viene modificata dal mese di luglio del 2003. Io cercherei altre possibili fonti di errore.
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
Crive
n00b
n00b


Joined: 11 May 2004
Posts: 33
Location: World.Europe.Italy.Varese

PostPosted: Sat Jan 15, 2005 3:27 pm    Post subject: Reply with quote

Quote:
pam-login non viene modificata dal mese di luglio del 2003. Io cercherei altre possibili fonti di errore


è l'unica possibile causa che mi è venuta in mente.... :?

il pacchetto shadow?? può essere quello....nn ho proprio idee... :(
Back to top
View user's profile Send private message
Manuelixm
l33t
l33t


Joined: 03 Apr 2004
Posts: 832
Location: Brescia

PostPosted: Sat Jan 15, 2005 3:29 pm    Post subject: Reply with quote

Probabilmente senza farci caso ha aggiornato tramite etc-update qualche file, prova a controllare se il tuo utente fa parte del gruppo wheel.
_________________
Linux user#370732
Back to top
View user's profile Send private message
Crive
n00b
n00b


Joined: 11 May 2004
Posts: 33
Location: World.Europe.Italy.Varese

PostPosted: Sat Jan 15, 2005 3:38 pm    Post subject: Reply with quote

ok, risolto, nn si sa per quale assurdo motivo ma il mio utente nn era più nel gruppo "wheel"


è bastato un
Quote:
usermod -G wheel 'utente'
per sistemare il tutto.


Grazie a tutti, ciao
Back to top
View user's profile Send private message
Cazzantonio
Bodhisattva
Bodhisattva


Joined: 20 Mar 2004
Posts: 4514
Location: Somewere around the world

PostPosted: Sat Jan 15, 2005 3:39 pm    Post subject: Reply with quote

in /etc/etc-update.conf
Code:

mode="0"
eu_automerge="yes"
rm_opts="-i"
mv_opts="-i"
cp_opts="-i"
pager=""
diff_command="vim -d %file1 %file2"
using_editor=1

in modo da abilitare vimdiff... in questo modo se premi enter quando etc-update ti chiede cosa fare viene lanciato vimdiff tra in nuovo e il vecchio file di conf in modo da vedere di preciso cosa viene modificato e cosa no.... è utile per evitare questo tipo di problemi (il normale diff che altrimenti viene usato è un po' più brutto da leggere...)
_________________
Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne
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