|
65.
|
|
|
Adding a New Group
|
|
|
|
Aggiungere un nuovo gruppo
|
|
Translated and reviewed by
Valter Mura
|
|
|
|
Located in
docs/cli/C/cli.xml:325(title)
|
|
66.
|
|
|
The <command>addgroup</command> command is used to create a new group in the system. To create a new group, type: <screen>sudo addgroup foobar</screen> The above command will create a new group called <emphasis role="strong">foobar</emphasis>.
|
|
|
|
Il comando <command>addgroup</command> è usato per creare un nuovo gruppo nel sistema. Per creare un nuovo gruppo, digitate: <screen>sudo addgroup nuovogruppo</screen> Il comando precedente creerà un nuovo gruppo chiamato <emphasis role="strong">nuovogruppo</emphasis>.
|
|
Translated and reviewed by
Valter Mura
|
|
|
|
Located in
../docs/cli/C/cli.xml:331(para)
|
|
67.
|
|
|
Adding a New User
|
|
|
|
Aggiungere un nuovo utente
|
|
Translated and reviewed by
Valter Mura
|
|
|
|
Located in
docs/cli/C/cli.xml:333(title)
|
|
68.
|
|
|
The <command>adduser</command> command is used to create a new user on the system. To create a new user, type: <screen>adduser foobar</screen> which will create a new user called <emphasis role="strong">foobar</emphasis>.
|
|
|
|
Il comando <command>adduser</command> è usato per creare nuovi utenti nel sistema. Per creare un nuovo utente, digitate: <screen>adduser nuovoutente</screen> Il comando precedente creerà un nuovo utente chiamato <emphasis role="strong">nuovoutente</emphasis>.
|
|
Translated and reviewed by
Valter Mura
|
|
|
|
Located in
../docs/cli/C/cli.xml:341(para)
|
|
69.
|
|
|
Add or Change a User Password
|
|
|
|
Aggiungere o modificare la password di un utente
|
|
Translated and reviewed by
Valter Mura
|
|
|
|
Located in
docs/cli/C/cli.xml:341(title)
|
|
70.
|
|
|
The <command>passwd</command> command is used to assign a new password to a new user or to change the current password for an existing user. To add a password or change the password for the user <emphasis role="strong">foobar</emphasis>, type: <screen>passwd foobar</screen> For new users, this will generate a prompt to enter the new password. For an existing user, there will be a prompt for the existing password before the prompt for a new password.
|
|
|
|
Il comando <command>passwd</command> viene usato per assegnare una password al nuovo utente o per modicare la password corrente ad un utente esistente. Per aggiuntere o modificare una password per l'utente <emphasis role="strong">nuovoutente</emphasis>, digitate: <screen>passwd nuovoutente</screen> Per i nuovi utenti, questo genererà una richiesta per l'inserimento della nuova password; ad un utente esistente verrà prima richiesta la password esistente, poi quella nuova.
|
|
Translated and reviewed by
Valter Mura
|
|
|
|
Located in
../docs/cli/C/cli.xml:350(para)
|
|
71.
|
|
|
Assign User to Group
|
|
|
|
Assegnare un utente a un gruppo
|
|
Translated and reviewed by
Valter Mura
|
|
|
|
Located in
docs/cli/C/cli.xml:352(title)
|
|
72.
|
|
|
To assign the user <emphasis role="strong">foobar</emphasis> to the group <emphasis role="strong">barfoo</emphasis>, type: <screen>adduser foobar barfoo</screen>
|
|
|
|
Per assegnare l'utente <emphasis role="strong">nuovoutente</emphasis> al gruppo <emphasis role="strong">nuovogruppo</emphasis>, digitate: <screen>adduser nuovoutente nuovogruppo</screen>
|
|
Translated and reviewed by
Valter Mura
|
|
|
|
Located in
../docs/cli/C/cli.xml:365(para)
|
|
73.
|
|
|
Options
|
|
|
|
Opzioni
|
|
Translated and reviewed by
Valter Mura
|
|
|
|
Located in
docs/cli/C/cli.xml:362(title)
|
|
74.
|
|
|
The default behavior for a command may usually be modified by adding <command>--option</command> to the command. For example, the <link linkend="ls"><command>ls</command></link> command has an <command>-s</command> option. The <command>ls -s</command> will include file sizes in the listing. There is also a <command>-h</command> option to display file sizes in a <quote>human readable</quote> format.
|
|
|
|
Il normale comportamento di un comando può essere modificato aggiungendo <command>--opzione</command> al comando. Per esempio, il comando <link linkend="ls"><command>ls</command></link> ha un'opzione <command>-s</command>, in modo che <command>ls -s</command> visualizzi le dimensioni dei file nell'output. È presente anche un'opzione <command>-h</command> per avere le dimensioni in un formato <quote>leggibile</quote>.
|
|
Translated and reviewed by
Valter Mura
|
|
|
|
Located in
docs/cli/C/cli.xml:363(para)
|