Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problema di utenze
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
skizo
n00b
n00b


Joined: 28 Jun 2003
Posts: 2

PostPosted: Sat Jun 28, 2003 4:07 pm    Post subject: Problema di utenze Reply with quote

Innanzitutto voglio salutare tutti (sono nuovo di queste parti).E' da poco che uso Gentoo e mi trovo gia' molto bene, solo che mi si e' presentato un problema piuttosto strano: di solito quando uno utilizza un utente normale, per diventare root gli basta fare "su -" mettere la password e il gioco e' fatto.Ame non lo fa!!Non mi permette di accedere come root, quando invece utilizzando sudo ci riesco senza problemi.Perche' tutto cio?Lo stesso problema si pone quando uso un qualsiasi tool di kde (tipo l'orologio e data) che ,giustamente, mi chiede la pwd di root ma dice che e' sbagliata.Qualcuno ne sa qualcosa?

Ciao e forza Gentoo.

Skiz 8O
Back to top
View user's profile Send private message
solka
Apprentice
Apprentice


Joined: 25 Jun 2003
Posts: 287
Location: Torino - ITA

PostPosted: Sat Jun 28, 2003 4:16 pm    Post subject: Reply with quote

controlla che l'utente appartenga al gruppo "wheel"

se non lo è fai

Code:
usermod -G users,wheel,audio nomeutente


P.S. dopo audio metti anche gli eventuali gruppi ai quali l'user deve appartenere...
_________________
"The only reason of the man's sadness
is that he can't stay peacefully in his room."

Blaise Pascal
Back to top
View user's profile Send private message
cerri
Bodhisattva
Bodhisattva


Joined: 05 Mar 2003
Posts: 2957
Location: # init S

PostPosted: Sat Jun 28, 2003 4:28 pm    Post subject: Reply with quote

Da http://www.gentoo.it/doc/faq-it.html
Quote:
Come può un utente diventare root?

Per ragioni di sicurezza, gli users possono diventare (o usare il comando su) root solo facendo parte del gruppo wheel. Per aggiungere uno username al gruppo wheel esegui il seguente comando come root:

Esempio 3
Code:

# usermod -G users,wheel username

_________________
Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito
Back to top
View user's profile Send private message
skizo
n00b
n00b


Joined: 28 Jun 2003
Posts: 2

PostPosted: Sat Jun 28, 2003 5:32 pm    Post subject: Reply with quote

Grazie ragazzi siete dei fantastici.Adesso funziona tutto!A volte basta cosi' poco!
Ma come mai bisogna essere utenti del gruppo wheel in Gentoo?Cioe' dove e' definita questa cosa e come si fa a cambiare il gruppo per gli utenti che possono accedere a funzionalita' root?

Grazie ancora e sciao belli!

Sk
Back to top
View user's profile Send private message
cerri
Bodhisattva
Bodhisattva


Joined: 05 Mar 2003
Posts: 2957
Location: # init S

PostPosted: Sat Jun 28, 2003 6:14 pm    Post subject: Reply with quote

skizo wrote:
Ma come mai bisogna essere utenti del gruppo wheel in Gentoo?

E' una sicurezza. Non tutti gli utenti devono poter accedere alle funzionalita' di cambio user.
skizo wrote:
Cioe' dove e' definita questa cosa

In /etc/pam.d/su. In particolare e' la riga
Code:
auth       required     /lib/security/pam_wheel.so use_uid

skizo wrote:
e come si fa a cambiare il gruppo per gli utenti che possono accedere a funzionalita' root?

Sinceramente non lo so. Ma perche' dovresti farlo?
_________________
Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito
Back to top
View user's profile Send private message
shev
Bodhisattva
Bodhisattva


Joined: 03 Feb 2003
Posts: 4084
Location: Italy

PostPosted: Sat Jun 28, 2003 7:09 pm    Post subject: Reply with quote

skizo wrote:

Ma come mai bisogna essere utenti del gruppo wheel in Gentoo?


Confermo la motivazione orientata alla sicurezza e al controllo più sensibile dei privilegi delle utenze, e aggiungo che questa del gruppo wheel non è una "trovata" di Gentoo, ma è usata comunemente anche su altri sistemi, per esempio i vari *BSD.

Imho è una lacuna (per quanto rimediabile) di altre distro la mancanza di questo gruppo, non un qualcosa in più in gentoo e simili (per quanto la presenza sia la dimostrazione di quanto curata e attenta sia gentoo).
Back to top
View user's profile Send private message
bsolar
Bodhisattva
Bodhisattva


Joined: 12 Jan 2003
Posts: 2764

PostPosted: Sat Jun 28, 2003 7:35 pm    Post subject: Reply with quote

Credo le domande su 'su' riempiano mezzo Duplicate Threads... :evil:

CMQ ecco la sticky.

Non so se avete notato uno cosa:
klieber wrote:
For anyone who cannot su to root, please, please, please take the time to read the Forums FAQ, the Gentoo FAQ or any number of posts here in the forums.

Ogni singola parola di "any number of posts here in the forums" non è un link, è composta da link... :roll:

Mod EDIT: corretto il link, grazie a cerri, la sua precisazione brilla di compostezza e discrezione... :P - bsolar
_________________
I may not agree with what you say, but I'll defend to the death your right to say it.


Last edited by bsolar on Tue Jul 01, 2003 8:13 am; edited 1 time in total
Back to top
View user's profile Send private message
cerri
Bodhisattva
Bodhisattva


Joined: 05 Mar 2003
Posts: 2957
Location: # init S

PostPosted: Sat Jun 28, 2003 8:04 pm    Post subject: Reply with quote

bsolar wrote:
Credo le domande su 'su' riempiano mezzo Duplicate Threads... :evil:

CMQ ecco la sticky.


BEKKATO!!!!!!!!!!!

il moderatore s'e' sbagliato
il moderatore s'e' sbagliato
il moderatore s'e' sbagliato
il moderatore s'e' sbagliato
il moderatore s'e' sbagliato
il moderatore s'e' sbagliato

e' questa la vera sticky!!!!!!
:twisted: :twisted: :twisted: :twisted: :twisted:
_________________
Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito
Back to top
View user's profile Send private message
cerri
Bodhisattva
Bodhisattva


Joined: 05 Mar 2003
Posts: 2957
Location: # init S

PostPosted: Mon Jun 30, 2003 6:39 am    Post subject: Reply with quote

bsolar? :?
_________________
Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito
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