Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
AS2: Perche' non posso utilizzare il comando su?
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) Risorse italiane (documentazione e tools)
View previous topic :: View next topic  
Author Message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30837
Location: here

PostPosted: Mon Oct 18, 2004 10:49 am    Post subject: AS2: Perche' non posso utilizzare il comando su? Reply with quote

Navigazione: [ back AS1: Come liberare spazio sul hard disk ] [ next AS3: Il mio utete e' nel gruppo wheel ma il comando 'su' non funziona. Che posso fare? ] [ Amministrazione Sistema ] [ Indice ]


Perche' non posso utilizzare il comando su?


Come precauzione di sicurezza, le impostazioni di default di Gentoo richiede che l'utente faccia parte del gruppo wheel per far si che possa utilizzare il comando 'su'.

Potete agiungere il vostro utente al gruppo wheel in diversi modi. Potete usare l'opzione -G del comando usermod, come segue:
Code:
# usermod -G users,wheel username

Nota, tuttavia, che tutti i gruppi che abbiamo impostato in precedenza verranno rimossi, cosi', per esempio, se volete che l'utente rimanga nel gruppo audio, dovete scrivere:
Code:
# usermod -G users,wheel,audio username

Potete anche editare direttamente il file /etc/group, cambiando la linea legata al gruppo wheel come segue:
Code:
wheel::10:root,username




Autore: rac (testo originale)
Traduttore: fedeliallalinea
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
UnoSD
Apprentice
Apprentice


Joined: 27 Jun 2011
Posts: 273

PostPosted: Tue Apr 24, 2012 11:02 am    Post subject: Reply with quote

Quote:
i gruppi che abbiamo impostato in precedenza verranno rimossi


Quote:
-a, --append
Add the user to the supplementary group(s). Use only with the -G
option.


Code:
usermod -a -G wheel username


:)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Risorse italiane (documentazione e tools) 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