|
|
ВНИМАНИЕ: Използвайте форумите на сайта за дa зададете вашите въпроси.
Въпрос |
От: pfk |
Дата: 02/15/2004 |
zdraveite. polzvam slack9.1 i samba 2.2.8a .. napravih si v
/etc/rc.d/rc.local da mi mountva pri logvaneto mashina ot
localnata mi mreja..oba4e pri vsqko startirane na pc-to mi
iska pass za mashinata .. koito e nulev .. t.e. nqma pass ..
a trqva da se natiska prosto enter..kak moje da go napravq
da ne mi iska pass ?..ne 4e mi e problem da praskam Enter-a
seki put kat loadva lnuxa..ama me drazni :)..10x a lot
predvartitelno :)
|
Отговор #1 |
От: s |
Дата: 02/15/2004 |
man smbmount:
...
OPTIONS
username=<arg> specifies the username to connect as.
If this is not given, then the environment variable USER is
used. This option can also take the form "user%password" or
"user/workgroup" or "user/work-group%password" to allow the
password and workgroup to be specified as part of the
username.
password=<arg> specifies the SMB password. If this
option is not given then the environment variable PASSWD is
used. If it can find no password smbmount will prompt for a
passeword, unless the guest option is given.
Note that password which contain the
arguement delimiter character (i.e. a comma ',') will
failed to be parsed correctly on the command line. However,
the same password defined in the PASSWD environment
variable or a credentials file (see below) will be read
correctly.
credentials=<filename> specifies a file that
contains a username and/or password. The format of the
file is:
username = <value>
password = <value>
This is preferred over having passwords in
plaintext in a shared file, such as /etc/fstab. Be sure to
protect any credentials file properly.
...
|
Отговор #2 |
От: begin4o |
Дата: 02/15/2004 |
Napravi si na PC-to ot koeto iska6 da mountva6 edin user,
naprimer Test s password naprimer test4oto.
Ako PC-to ti se kazva naprimer My_test_PC, a diska mu e
6arnat kato Disk_D izpalni komandata:
mount -t smbfs -o username=Test,password=test4oto
//My_test_PC/Disk_D /mnt/to4ka_na_mountvane
Dobavi tazi komanda v rc.local-a i si OK.
Uspehi...
|
Отговор #3 |
От: pfk |
Дата: 02/15/2004 |
emi az nqmam dostap do tui pc .. to e neshto kat surver s
filmi .. na win . i e pusnato 24/7 .. prosto tui e
|
Отговор #4 |
От: pfk |
Дата: 02/15/2004 |
mount -t smbfs //LFTP/neshto_si /mnt/neshto_si
tui praq az ... :)
|
Отговор #5 |
От: ybmal |
Дата: 02/15/2004 |
tva go slagash v rc.local
i nqma da ti iska parola :)
mount -t smbfs -o username=,password= //mashina/dir
/mqshto/namontirane
|
<< има ли белот за линукс? (4
) | RH AS 3.0 и 2.6 (1
) >>
|
|
|
|
|