Red Hat ENTERPRISE LINUX WS 2.1 - Guida di Installazione Pagina 142

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la pagina 141
142 Network configuration
DONE
INDEX
INDEX
Administrator the command looks like this:
smbclient -L nmrpc.chemistry.university.com -U Administrator
You will be asked to enter the users password. The answer of the command is a
list of all shared directories on the Windows PC, e.g.:
Sharename Type Coment
---------- ----- -------
E$ Disk Default share
tmp Disk
now you have four information available
a) <WIN_PC_NAME>
b) <WIN_PC_USER_NAME>
c) <WIN_PC_USER_NAME_PASSWORD>
d) <WIN_PC_SHARE>
2. Create a group called nmruser and add those user who should get access into
the shared directory. To get information how to create a group please refer to
chapter 8.1
3. As a second step you have to define the directory wherein the contents of the
shared Windows directory should appear. It is recommended to create therefor a
new directory:
mkdir <WIN_PC_DATA_DIR>
4. To allow an automatic mount of the directory of the Windows PC during boot
of the Linux PC you have to create a text file (= <FILEX>) with the informa-
tion of the user name and corresponding password. The syntax of the file has to
be:
username = <WIN_PC_USER_NAME>
password = <WIN_PC_USER_NAME_PASSWORD>
Because the file contains a plain password, you have to make sure that it is only
readable by root. You can do this as root on a LINUX shell with the two com-
mands:
chown root.root <FILEX>
chmod 600 <FILEX>
Now you can put together the information and add a new line in the file
/etc/fstab:
Vedere la pagina 141
1 2 ... 137 138 139 140 141 142 143 144 145 146 147 ... 271 272

Commenti su questo manuale

Nessun commento