From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,SPF_PASS autolearn=ham version=3.2.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=ccttpy7dlztlatpRmwP7j1dr4wNtwvR/1+zuaLYZ0Gk=; b=cJaEVjGZOYPfjijSbaQ03HJPO6BgfhFdTBzDTfQ3oBX09DxNZ/VIlQkkObe+AFMBFB qt5JNBnIqWe3u1ttkTeCbE3k02tFVBQPGZ3t/IrPdjtQDg2IOpONocijepULeWgGp/Nv 6viTc02rn4g8EyyOReoMBEb6DC27m9U6Uz0jc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=qg6l5yE2K39QCWctUDMh5i3Ozn2wPJc0T9rJd2uzIbkbMzfX/YnpQab43Aadrj/59l TV5AflDgHXOLCIm/d4Wj5CMW7sWawsXKusLJWFBapHQu7QgG/ZnyOS2GP1Ul3R8xeHlj 7TJtb9PcN6odN+SsKDWyKNaEdwiNFe8GrXAzs= Message-ID: <48C5F7D4.8030703@gmail.com> Date: Tue, 09 Sep 2008 08:13:08 +0400 From: Pavel Zilke User-Agent: Thunderbird 2.0.0.14 (X11/20080508) MIME-Version: 1.0 To: ALT Linux Community general discussions References: <48C5E585.2010409@gmail.com> In-Reply-To: <48C5E585.2010409@gmail.com> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Comm] cifs X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.10b3 Precedence: list Reply-To: ALT Linux Community general discussions List-Id: ALT Linux Community general discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Sep 2008 04:13:17 -0000 Archived-At: List-Archive: List-Post: 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 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.