Translations by Adi Roiban
Adi Roiban has submitted the following strings to this translation. Contributions are visually coded: currently used translations, unreviewed suggestions, rejected suggestions.
20. |
Configuration
|
|
2010-01-13 |
Configurare
|
|
24. |
workgroup = EXAMPLE
...
security = user
|
|
2010-01-13 |
workgroup = EXEMPLU
...
security = utilizator
|
|
56. |
In the <emphasis>[printers]</emphasis> section change the <emphasis>guest ok</emphasis> option to <emphasis role="italic">yes</emphasis>:
|
|
2011-03-27 | ||
68. |
<emphasis>security = share:</emphasis> allows clients to connect to shares without supplying a username and password.
|
|
2011-03-27 | ||
70. |
Security = User
|
|
2011-03-28 |
Security = User
|
|
71. |
This section will reconfigure the Samba file and print server, from <xref linkend="samba-fileserver"/> and <xref linkend="samba-printserver"/>, to require authentication.
|
|
2011-03-28 | ||
72. |
First, install the <application>libpam-smbpass</application> package which will sync the system users to the Samba user database:
|
|
2011-03-28 |
Instalați mai întâi pachetul <application>libpam-smbpass</application> care va sincroniza utilizatorii sistemul cu baza de date a utilizatorilor Samba:
|
|
75. |
Edit <filename>/etc/samba/smb.conf</filename>, and in the <emphasis>[share]</emphasis> section change:
|
|
2011-03-28 |
Editați <filename>/etc/samba/smb.conf</filename>, iar în secțiunea <emphasis>[share]</emphasis> schimbați:
|
|
78. |
Now when connecting to the shared directories or printers you should be prompted for a username and password.
|
|
2011-03-28 | ||
80. |
Share Security
|
|
2011-03-28 | ||
81. |
There are several options available to increase the security for each individual shared directory. Using the <emphasis>[share]</emphasis> example, this section will cover some common options.
|
|
2011-03-28 |
Sunt câteva opțiuni disponibile în scopul a măriri securității pentru fiecare director partajat în parte. Folosind exemplul <emphasis>[share]</emphasis>, această secțiune va acoperi câteva opțiuni comune.
|
|
88. |
For example, if you have defined a Samba share called <emphasis>share</emphasis> and wish to give <emphasis role="italic">read-only</emphasis> permissions to the group of users known as <emphasis role="italic">qa</emphasis>, but wanted to allow writing to the share by the group called <emphasis role="italic">sysadmin</emphasis> and the user named <emphasis role="italic">vincent</emphasis>, then you could edit the <filename>/etc/samba/smb.conf</filename> file, and add the following entries under the <emphasis>[share]</emphasis> entry:
|
|
2011-03-28 |
De exemplu, dacă ați definit o partajare Samba denimită <emphasis>partajare</emphasis> și doriți să dați grupului de utilizatori cunoscut sub numele de <emphasis role="italic">qa</emphasis> permisiuni <emphasis role="italic">doar-în-citire</emphasis>, dar doriți să permiteți grupului <emphasis role="italic">sysadmin</emphasis> și utilizatorului <emphasis role="italic">vincent</emphasis> să scrie la partajare, atunci puteți edita fișierul <filename>/etc/samba/smb.conf</filename> și să adăugați următoarele la intrarea <emphasis>[share]</emphasis>:
|
|
105. |
The <application>setfacl</application> command above gives <emphasis>execute</emphasis> permissions to all files in the <filename>/srv/samba/share</filename> directory, which you may or may not want.
|
|
2011-03-28 | ||
208. |
There are two ways to use Likewise Open, <application>likewise-open</application> the command line utility and <application>likewise-open-gui</application>. This section focuses on the command line utility.
|
|
2011-03-28 | ||
209. |
To install the <application>likewise-open</application> package, open a terminal prompt and enter:
|
|
2011-03-28 | ||
211. |
Joining a Domain
|
|
2011-03-28 | ||
217. |
To join a domain, from a terminal prompt enter:
|
|
2011-03-28 | ||
232. |
Other Utilities
|
|
2011-03-28 | ||
234. |
<application>lwinet</application>: Returns information about the network and the domain.
|
|
2011-03-28 | ||
236. |
<application>lwiinfo</application>: Displays information about various parts of the Domain.
|
|
2011-03-28 | ||
275. |
References
|
|
2011-03-28 |
Referințe
|
|
3610. |
The <application>cron</application> utility can be used to automate the script execution. The <application>cron</application> daemon allows the execution of scripts, or commands, at a specified time and date.
|
|
2011-03-28 | ||
3611. |
<application>cron</application> is configured through entries in a <filename>crontab</filename> file. <filename>crontab</filename> files are separated into fields:
|
|
2011-03-28 | ||
3612. |
# m h dom mon dow command
|
|
2011-03-28 |
# m h dom mon dow command
|
|
3613. |
<emphasis>m:</emphasis> minute the command executes on between 0 and 59.
|
|
2011-03-28 | ||
3614. |
<emphasis>h:</emphasis> hour the command executes on between 0 and 23.
|
|
2011-03-28 | ||
3615. |
<emphasis>dom:</emphasis> day of month the command executes on.
|
|
2011-03-28 | ||
3616. |
<emphasis>mon:</emphasis> the month the command executes on between 1 and 12.
|
|
2011-03-28 | ||
3617. |
<emphasis>dow:</emphasis> the day of the week the command executes on between 0 and 7. Sunday may be specified by using 0 or 7, both values are valid.
|
|
2011-03-28 | ||
3619. |
To add or change entries in a <filename>crontab</filename> file the <application>crontab -e</application> command should be used. Also, the contents of a <filename>crontab</filename> file can be viewed using the <application>crontab -l</application> command.
|
|
2011-03-28 | ||
3620. |
To execute the <application>backup.sh</application> script listed above using <application>cron</application>. Enter the following from a terminal prompt:
|
|
2011-03-28 | ||
3622. |
Using <application>sudo</application> with the <application>crontab -e</application> command edits the <emphasis>root</emphasis> user's crontab. This is necessary if you are backing up directories only the root user has access to.
|
|
2011-03-28 | ||
3623. |
Add the following entry to the <filename>crontab</filename> file:
|
|
2011-03-28 | ||
3625. |
The <application>backup.sh</application> script will now be executed every day at 12:00 am.
|
|
2011-03-28 | ||
3626. |
The <application>backup.sh</application> script will need to be copied to the <filename>/usr/local/bin/</filename> directory in order for this entry to execute properly. The script can reside anywhere on the file system simply change the script path appropriately.
|
|
2011-03-28 | ||
3627. |
For more in depth <application>crontab</application> options see <xref linkend="backup-shellscript-references"/>.
|
|
2011-03-28 | ||
3628. |
Restoring from the Archive
|
|
2011-03-28 | ||
3629. |
Once an archive has been created it is important to test the archive. The archive can be tested by listing the files it contains, but the best test is to <emphasis>restore</emphasis> a file from the archive.
|
|
2011-03-28 | ||
3630. |
To see a listing of the archive contents. From a terminal prompt:
|
|
2011-03-28 | ||
3632. |
To restore a file from the archive to a different directory enter:
|
|
2011-03-28 | ||
3634. |
The <emphasis>-C</emphasis> option to <application>tar</application> redirects the extracted files to the specified directory. The above example will extract the <filename>/etc/hosts</filename> file to <filename>/tmp/etc/hosts</filename>. <application>tar</application> recreates the directory structure that it contains.
|
|
2011-03-28 | ||
3636. |
To restore all files in the archive enter the following:
|
|
2011-03-28 | ||
3639. |
This will overwrite the files currently on the file system.
|
|
2011-03-28 | ||
3647. |
<ulink url="http://www.gnu.org/software/coreutils/">dd</ulink>: part of the <application>coreutils</application> package. A low level utility that can copy data from one format to another
|
|
2011-03-28 | ||
3649. |
Archive Rotation
|
|
2011-03-28 | ||
3651. |
Rotating NFS Archives
|
|
2011-03-28 | ||
3653. |
The rotation will do a <emphasis>daily</emphasis> backup Sunday through Friday.
|
|
2011-03-28 | ||
3682. |
These services and applications can be run on multiple servers and clients, or they can be installed on one machine if backing up a single disk or volume.
|
|
2011-03-28 | ||
3683. |
There are multiple packages containing the different <application>Bacula</application> components. To install Bacula, from a terminal prompt enter:
|
|
2011-03-28 | ||
3688. |
The various <application>Bacula</application> components must authorize themselves to each other. This is accomplished using the <emphasis>password</emphasis> directive. For example, the <emphasis>Storage</emphasis> resource password in the <filename>/etc/bacula/bacula-dir.conf</filename> file must match the <emphasis>Director</emphasis> resource password in <filename>/etc/bacula/bacula-sd.conf</filename>.
|
|
2011-03-28 |