ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Pavel Zilke <pavel.zilke@gmail.com>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] cifs
Date: Tue, 09 Sep 2008 08:13:08 +0400
Message-ID: <48C5F7D4.8030703@gmail.com> (raw)
In-Reply-To: <48C5E585.2010409@gmail.com>

Occisor пишет:
> Монтирую ресурсы windows (пк подключен к сети с доменом w2k и входит в 
> него) следующей командной:
>
> mount -t cifs //[server]/[fold] /mnt/[fold] -o 
> username=user,password=pass,iocharset=utf8
>
> Монтируется все хорошо, но через определенное время, то ли при 
> бездействии толи еще что (не смог определить зависимость) папка с 
> примонтированным ресурсом становиться недоступна и при входе в нее от 
> root она пуста. Приходиться отмонтировать ее и монтировать заново, как 
> бы это пофиксить?
> И еще вопрос, можно ли сделать так чтоб не указывать логин и пароль 
> открыто в команде монтирования, а чтоб он брался из какого-нибудь файла.
> _______________________________________________
> community mailing list
> community@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/community
У себя не замечал, чтобы папка становилась недоступной.
По поводу логина и пароля. Выдежка из man mount.cifs:
OPTIONS

<skip>

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.



      reply	other threads:[~2008-09-09  4:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-09  2:55 Occisor
2008-09-09  4:13 ` Pavel Zilke [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48C5F7D4.8030703@gmail.com \
    --to=pavel.zilke@gmail.com \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git