|
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)
|
|
75.
|
|
|
Options can be grouped in clusters, so <screen>ls -sh</screen> is the same command as <screen> ls -s -h</screen> Most options have a long version, prefixed with two dashes instead of one, so <screen>ls --size --human-readable</screen> is also the same command as <screen>ls -sh</screen>
|
|
|
|
Le opzioni possono essere raggruppate in una sola, dunque <screen>ls -sh</screen> è lo stesso comando di <screen> ls -s -h</screen> Molte opzioni comprendono una versione estesa, preceduta da due trattini anziché uno, quindi il comando <screen>ls --size --human-readable</screen> è uguale a <screen>ls -sh</screen>
|
|
Translated and reviewed by
Valter Mura
|
|
|
|
Located in
../docs/cli/C/cli.xml:383(para)
|
|
76.
|
|
|
<quote>Man</quote> and Getting Help
|
|
|
|
<quote>Man</quote> e ottenere aiuto
|
|
Translated and reviewed by
Valter Mura
|
|
|
|
Located in
docs/cli/C/cli.xml:384(title)
|
|
77.
|
|
|
<emphasis role="strong"><emphasis>command</emphasis> --help</emphasis> and <command>man</command><emphasis role="strong"><emphasis>command</emphasis></emphasis> are the two most important tools at the command line.
|
|
|
|
<emphasis role="strong"><emphasis>comando</emphasis> --help</emphasis> e <command>man</command><emphasis role="strong"><emphasis>comando</emphasis></emphasis> sono gli strumenti più importanti per la riga di comando.
|
|
Translated and reviewed by
Valter Mura
|
|
|
|
Located in
../docs/cli/C/cli.xml:398(para)
|