* [Comm] Как настроить автомонтирование ресурсов smb из под пользователя? @ 2006-07-07 10:17 Slava Dubrovskiy 2006-07-07 10:20 ` Michael Shigorin 2006-07-07 12:07 ` Dmitriy L. Kruglikov 0 siblings, 2 replies; 17+ messages in thread From: Slava Dubrovskiy @ 2006-07-07 10:17 UTC (permalink / raw) To: Community [-- Attachment #1: Type: text/plain, Size: 1259 bytes --] Здравствуйте. Хочу настроить автомонтирование ресурсов самбы из под обычного пользователя. КДЕ позволяет просматривать ресурсы, но при попытке открыть файл оно его загружает в временный каталог и открывает от туда. Это не подходит. smb4k и LinNeighborhood конечно хорошо, но для пользователей сложно. Связываться с консольными скриптами не очень хочется. Скорее всего идеальным был бы вариант что-то типа autofs. Настроил несколько ресурсов, вывел иконки на рабочий стол, как cdrom. Но как сделать так, чтобы он брал логин и пароль того пользователя который монтирует? Или чтобы монтировалось в домашней папке. Подскажите в какую сторону смотреть. Спасибо. -- С уважением, Дубровский Вячеслав. [-- Attachment #2: S/MIME Cryptographic Signature --] [-- Type: application/x-pkcs7-signature, Size: 3237 bytes --] ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [Comm] Как настроить автомонтирование ресурсов smb из под пользователя? 2006-07-07 10:17 [Comm] Как настроить автомонтирование ресурсов smb из под пользователя? Slava Dubrovskiy @ 2006-07-07 10:20 ` Michael Shigorin 2006-07-07 11:21 ` Slava Dubrovskiy 2006-07-07 12:07 ` Dmitriy L. Kruglikov 1 sibling, 1 reply; 17+ messages in thread From: Michael Shigorin @ 2006-07-07 10:20 UTC (permalink / raw) To: Community On Fri, Jul 07, 2006 at 01:17:18PM +0300, Slava Dubrovskiy wrote: > Хочу настроить автомонтирование ресурсов самбы из под обычного > пользователя. pam_mount -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [Comm] Как настроить автомонтирование ресурсов smb из под пользователя? 2006-07-07 10:20 ` Michael Shigorin @ 2006-07-07 11:21 ` Slava Dubrovskiy 2006-07-07 19:35 ` ABATAPA 2006-07-12 15:07 ` Michael Shigorin 0 siblings, 2 replies; 17+ messages in thread From: Slava Dubrovskiy @ 2006-07-07 11:21 UTC (permalink / raw) To: ALT Linux Community [-- Attachment #1: Type: text/plain, Size: 1338 bytes --] Michael Shigorin пишет: >> Хочу настроить автомонтирование ресурсов самбы из под обычного >> пользователя. >> > pam_mount > Скорее всего это то что надо, только не очень ясно как им пользоваться. Есть какая-то инструкция? Прочитал man, FAQ. Не очень понял как им монтировать ресурс. И еще. В INSTALL, man, нписано что надо In addition, you must include two entries in the system's applicable /etc/pam.d/SERVICE config files, as the following example shows: auth required pam_securetty.so auth required pam_pwdb.so shadow nullok auth required pam_nologin.so +++ auth optional pam_mount.so use_first_pass account required pam_pwdb.so password required pam_cracklib.so password required pam_pwdb.so shadow nullok use_authtok session required pam_pwdb.so session optional pam_console.so +++ session optional pam_mount.so Но у меня в системе нет /etc/pam.d/SERVICE. Значит ли это что его надо создать? Написал в /etc/security/pam_mount.conf точку монтирования: volume * smb terminal 'video' /home/&/mnt/TERMINAL - - - Что дальше делать? -- С уважением, Дубровский Вячеслав. [-- Attachment #2: S/MIME Cryptographic Signature --] [-- Type: application/x-pkcs7-signature, Size: 3237 bytes --] ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [Comm] Как настроить автомонтирование ресурсов smb из под пользователя? 2006-07-07 11:21 ` Slava Dubrovskiy @ 2006-07-07 19:35 ` ABATAPA 2006-07-12 15:07 ` Michael Shigorin 1 sibling, 0 replies; 17+ messages in thread From: ABATAPA @ 2006-07-07 19:35 UTC (permalink / raw) To: slava, ALT Linux Community 7 июля 2006 15:21, Slava Dubrovskiy написал: > Но у меня в системе нет /etc/pam.d/SERVICE. Значит ли это что его надо > создать? Это значит, что нужно внимательнее читать. SERVICE - это шаблон, в этом месте должно быть имя сервиса (программы), которая использует PAM. В каталог-то загляните... -- ABATAPA ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [Comm] Как настроить автомонтирование ресурсов smb из под пользователя? 2006-07-07 11:21 ` Slava Dubrovskiy 2006-07-07 19:35 ` ABATAPA @ 2006-07-12 15:07 ` Michael Shigorin 2006-07-12 15:13 ` Slava Dubrovskiy 2006-07-17 12:36 ` [Comm] Как настроить автомонтирование ресурсов smb из под пользователя? Slava Dubrovskiy 1 sibling, 2 replies; 17+ messages in thread From: Michael Shigorin @ 2006-07-12 15:07 UTC (permalink / raw) To: ALT Linux Community On Fri, Jul 07, 2006 at 02:21:29PM +0300, Slava Dubrovskiy wrote: > >> Хочу настроить автомонтирование ресурсов самбы из под > >> обычного пользователя. > > pam_mount > Скорее всего это то что надо, только не очень ясно как им > пользоваться. Есть какая-то инструкция? Есть работающий, настраивали sr@ и sinister@. Попробуй нечто вроде (/etc/security/pam_mount.conf): debug 1 fsckloop /dev/loop7 options_allow nosuid,nodev,loop,encryption options_require nosuid,nodev lsof /usr/sbin/lsof %(MNTPT) fsck /sbin/fsck -p %(FSCKTARGET) losetup /sbin/losetup -p0 "%(before=\"-e \" CIPHER)" "%(before=\"-k \" KEYBITS)" %(FSCKLOOP) %(VOLUME) unlosetup /sbin/losetup -d %(FSCKLOOP) cifsmount /bin/mount -t cifs //%(SERVER)/%(VOLUME) %(MNTPT) -o "username=%(USER)%(before=\",\ " OPTIONS)" smbmount /bin/mount -t smbfs //%(SERVER)/%(VOLUME) %(MNTPT) -o "username=%(USER)%(before=\",\ " OPTIONS)" ncpmount /bin/mount -t ncpfs %(SERVER)/%(USER) %(MNTPT) -o "pass-fd=0,volume=%(VOLUME)%(befor e=\",\" OPTIONS)" umount /bin/umount %(MNTPT) lclmount /bin/mount -p0 %(VOLUME) %(MNTPT) "%(before=\"-o \" OPTIONS)" cryptmount /bin/mount -t crypt "%(before=\"-o \" OPTIONS)" %(VOLUME) %(MNTPT) nfsmount /bin/mount %(SERVER):%(VOLUME) "%(MNTPT)%(before=\"-o \" OPTIONS)" mntagain /bin/mount --bind %(PREVMNTPT) %(MNTPT) mntcheck /bin/mount # For BSD's (don't have /etc/mtab) pmvarrun /usr/sbin/pmvarrun -u %(USER) -d -o %(OPERATION) и собсно главное: volume * cifs master SHARE /home/&/net/N: uid=&,gid=&,dir_mode=0750,iocharset=utf8 - - pam_mount-0.9.25-alt1 -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [Comm] Как настроить автомонтирование ресурсов smb из под пользователя? 2006-07-12 15:07 ` Michael Shigorin @ 2006-07-12 15:13 ` Slava Dubrovskiy 2006-07-12 15:18 ` Gennadiy Redko 2006-07-12 15:18 ` [Comm] Как настроить автомонтирование ресурсов smb из под пользователя? Dmitriy L. Kruglikov 2006-07-17 12:36 ` [Comm] Как настроить автомонтирование ресурсов smb из под пользователя? Slava Dubrovskiy 1 sibling, 2 replies; 17+ messages in thread From: Slava Dubrovskiy @ 2006-07-12 15:13 UTC (permalink / raw) To: ALT Linux Community [-- Attachment #1: Type: text/plain, Size: 532 bytes --] Michael Shigorin пишет: >> Скорее всего это то что надо, только не очень ясно как им >> пользоваться. Есть какая-то инструкция? >> > > Есть работающий, настраивали sr@ и sinister@. > > Попробуй нечто вроде (/etc/security/pam_mount.conf): > Миша спасибо. Я уже все сделал и разобрался. Вот думаю как бы быстро клонировать установку. Т.е. установил и настроил 1 компьютер, а потом просто копируешь один диск на другой. И получается много маленьких пингвинчиков :-) -- С уважением, Дубровский Вячеслав. [-- Attachment #2: S/MIME Cryptographic Signature --] [-- Type: application/x-pkcs7-signature, Size: 3237 bytes --] ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [Comm] Как настроить автомонтирование ресурсов smb из под пользователя? 2006-07-12 15:13 ` Slava Dubrovskiy @ 2006-07-12 15:18 ` Gennadiy Redko 2006-07-12 15:23 ` [Comm] Клонирование системы Slava Dubrovskiy 2006-07-12 15:18 ` [Comm] Как настроить автомонтирование ресурсов smb из под пользователя? Dmitriy L. Kruglikov 1 sibling, 1 reply; 17+ messages in thread From: Gennadiy Redko @ 2006-07-12 15:18 UTC (permalink / raw) To: slava, ALT Linux Community Slava Dubrovskiy пишет: > Michael Shigorin пишет: >>> Скорее всего это то что надо, только не очень ясно как им >>> пользоваться. Есть какая-то инструкция? >>> >> Есть работающий, настраивали sr@ и sinister@. >> >> Попробуй нечто вроде (/etc/security/pam_mount.conf): >> > Миша спасибо. Я уже все сделал и разобрался. > > Вот думаю как бы быстро клонировать установку. Т.е. установил и настроил > 1 компьютер, а потом просто копируешь один диск на другой. И получается > много маленьких пингвинчиков :-) > file:///usr/share/doc/HOWTO/HTML/ru/mini/Hard-Disk-Upgrade/index.html ? ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [Comm] Клонирование системы 2006-07-12 15:18 ` Gennadiy Redko @ 2006-07-12 15:23 ` Slava Dubrovskiy 2006-07-12 15:30 ` Gennadiy Redko 2006-07-13 7:39 ` [Comm] Клонирование системы (systemimager, mkcdrec и компания) Michael Shigorin 0 siblings, 2 replies; 17+ messages in thread From: Slava Dubrovskiy @ 2006-07-12 15:23 UTC (permalink / raw) To: ALT Linux Community [-- Attachment #1: Type: text/plain, Size: 598 bytes --] Gennadiy Redko пишет: >> Вот думаю как бы быстро клонировать установку. Т.е. установил и настроил >> 1 компьютер, а потом просто копируешь один диск на другой. И получается >> много маленьких пингвинчиков :-) >> >> > file:///usr/share/doc/HOWTO/HTML/ru/mini/Hard-Disk-Upgrade/index.html > ? > Да, это я знаю. Только 1. Не очень хочется разбирать новые компьютеры чтобы вынимать/вставлять жесткий диск. 2. Если сохранять раздел / в tar.gz то почему-то потом разархивируется с ошибками и X не хотят запускаться. Вообщем пока копаю. -- С уважением, Дубровский Вячеслав. [-- Attachment #2: S/MIME Cryptographic Signature --] [-- Type: application/x-pkcs7-signature, Size: 3237 bytes --] ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [Comm] Клонирование системы 2006-07-12 15:23 ` [Comm] Клонирование системы Slava Dubrovskiy @ 2006-07-12 15:30 ` Gennadiy Redko 2006-07-12 15:39 ` Slava Dubrovskiy 2006-07-13 7:39 ` [Comm] Клонирование системы (systemimager, mkcdrec и компания) Michael Shigorin 1 sibling, 1 reply; 17+ messages in thread From: Gennadiy Redko @ 2006-07-12 15:30 UTC (permalink / raw) To: slava, ALT Linux Community Slava Dubrovskiy пишет: > Gennadiy Redko пишет: >>> Вот думаю как бы быстро клонировать установку. Т.е. установил и настроил >>> 1 компьютер, а потом просто копируешь один диск на другой. И получается >>> много маленьких пингвинчиков :-) >>> >>> >> file:///usr/share/doc/HOWTO/HTML/ru/mini/Hard-Disk-Upgrade/index.html >> ? >> > Да, это я знаю. Только > 1. Не очень хочется разбирать новые компьютеры чтобы вынимать/вставлять > жесткий диск. Бокс USB-HDD попробовать? > 2. Если сохранять раздел / в tar.gz то почему-то потом разархивируется с > ошибками и X не хотят запускаться. > Вообщем пока копаю. Нужно исключить из архива /proc, наверное. ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [Comm] Клонирование системы 2006-07-12 15:30 ` Gennadiy Redko @ 2006-07-12 15:39 ` Slava Dubrovskiy 0 siblings, 0 replies; 17+ messages in thread From: Slava Dubrovskiy @ 2006-07-12 15:39 UTC (permalink / raw) To: ALT Linux Community [-- Attachment #1: Type: text/plain, Size: 468 bytes --] Gennadiy Redko пишет: >> Да, это я знаю. Только >> 1. Не очень хочется разбирать новые компьютеры чтобы вынимать/вставлять >> жесткий диск. >> > Бокс USB-HDD попробовать? > Нету у меня. >> 2. Если сохранять раздел / в tar.gz то почему-то потом разархивируется с >> ошибками и X не хотят запускаться. >> Вообщем пока копаю. >> > Нужно исключить из архива /proc, наверное. > И /tmp тоже похоже -- С уважением, Дубровский Вячеслав. [-- Attachment #2: S/MIME Cryptographic Signature --] [-- Type: application/x-pkcs7-signature, Size: 3237 bytes --] ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [Comm] Клонирование системы (systemimager, mkcdrec и компания) 2006-07-12 15:23 ` [Comm] Клонирование системы Slava Dubrovskiy 2006-07-12 15:30 ` Gennadiy Redko @ 2006-07-13 7:39 ` Michael Shigorin 1 sibling, 0 replies; 17+ messages in thread From: Michael Shigorin @ 2006-07-13 7:39 UTC (permalink / raw) To: ALT Linux Community; +Cc: sysadmins On Wed, Jul 12, 2006 at 06:23:13PM +0300, Slava Dubrovskiy wrote: > >> Вот думаю как бы быстро клонировать установку. Т.е. > >> установил и настроил 1 компьютер, а потом просто копируешь > >> один диск на другой. И получается много маленьких > >> пингвинчиков :-) > > file:///usr/share/doc/HOWTO/HTML/ru/mini/Hard-Disk-Upgrade/index.html > > ? > Да, это я знаю. Только > 1. Не очень хочется разбирать новые компьютеры чтобы > вынимать/вставлять жесткий диск. > 2. Если сохранять раздел / в tar.gz то почему-то потом > разархивируется с ошибками и X не хотят запускаться. > Вообщем пока копаю. В зависимости от -- можно воспользоваться либо System Imager[0] (если ты в локалке их все держишь, то может быть оптимально -- он ещё и апдейтить их умеет). Сдираем образ по rsync, грузимся с FD/CD/PXE и заливаем его назад (в т.ч. на диск большего размера). 3.4.1[1] у нас используется совсем в production и за исключением пары известных грабель (не сильно страшных, преимущественно linux-2.6-specific, поскольку оно linux-2.4; возможно, опишу на wiki, если ещё кому понадобится) вполне пригоден. 3.6.2 тоже собран[2], с небольшим патчиком[3] работает на сдирание образа; заливание и работоспособность залитого пока не проверял (также стоило бы обновить до 3.6.3, если уже прыгать на новую ветку). Возможно, ghost 4 linux (g4l[4]) тебя устроит больше -- sinister@ он чем-то приглянулся. Но в работе я его не видел. Если образ где-то до гига выходит, можешь поучаствовать в запинывании mkCDrec[5] -- там есть ряд выдающихся грабель, начиная с того, что оно серьёзно рассчитывает на что-нить вроде ext2 в ядре для своего r/w initrd. Впрочем, sr@ вчера дохачил на скорую руку до состояния, когда содрать образ на диск и потом успешно его развернуть в рабочем виде оно смогло. Как вариант -- я тут опять поковырял Mondo Rescue[6], пакеты есть, но ввиду того, что Серж успел быстрее -- могу разве что плюхнуть as is, не проверял. [0] http://systemimager.org [1] http://paq.osdn.org.ua/~mike/systemimager/ [2] http://paq.osdn.org.ua/~mike/systemimager/gns/ [3] http://sourceforge.net/tracker/index.php?func=detail&aid=1519597&group_id=259&atid=300259 [4] http://sourceforge.net/projects/g4l [5] http://mkcdrec.ota.be/ [6] http://www.mondorescue.org/ PS: если ты читаешь sysadmins@, то пошли лучше туда. -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [Comm] Как настроить автомонтирование ресурсов smb из под пользователя? 2006-07-12 15:13 ` Slava Dubrovskiy 2006-07-12 15:18 ` Gennadiy Redko @ 2006-07-12 15:18 ` Dmitriy L. Kruglikov 2006-07-13 7:39 ` [Comm] клонирование Michael Shigorin 1 sibling, 1 reply; 17+ messages in thread From: Dmitriy L. Kruglikov @ 2006-07-12 15:18 UTC (permalink / raw) To: slava, ALT Linux Community On Wed, 12 Jul 2006 18:13:52 +0300 Slava Dubrovskiy wrote: > Вот думаю как бы быстро клонировать установку. Т.е. установил > и настроил 1 компьютер, а потом просто копируешь один диск на > другой. И получается много маленьких пингвинчиков :-) Совсем недавно (месяц) мы обсуждали этот вопрос в рассылке ... Есть много, весьма похожих, способов ... Начиная с клонирования диска чем-либо похожим на PartitionMagic, заканчивая переливанием диска по сети, чуть ли не rsinc-ом ... Все они более-менее применимы ... Смотря какой формы напильник вам ближе :) -- Best regards, Dmitriy L. Kruglikov .--. Dmitriy.Kruglikov_at_orionagro.com.ua |@_@ | DKR6-RIPE |!_/ | ICQ# 13047326 // \ \ XMPP:dkr6@jabber.ru (| | ) /'\_ _/`\ Powered by Linux \___)=(___/ -- Мысль -- Пока человек держит еще здоровые понятия, на него можно еще действовать, а когда он потеряет их и примет превратное, на них нечем действовать, поэтому что против здоровых понятий у них есть нездоровые, которые, однакож, нравятся им больше, потому что потворствуют их чувственным страстям. -- Феофан Затворник (1815-1894), письма ^ permalink raw reply [flat|nested] 17+ messages in thread
* [Comm] клонирование 2006-07-12 15:18 ` [Comm] Как настроить автомонтирование ресурсов smb из под пользователя? Dmitriy L. Kruglikov @ 2006-07-13 7:39 ` Michael Shigorin 0 siblings, 0 replies; 17+ messages in thread From: Michael Shigorin @ 2006-07-13 7:39 UTC (permalink / raw) To: ALT Linux Community On Wed, Jul 12, 2006 at 06:18:30PM +0300, Dmitriy L. Kruglikov wrote: > Смотря какой формы напильник вам ближе :) Можно и без особенного рукоприкладства. "Всё уже украдено до нас"... -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [Comm] Как настроить автомонтирование ресурсов smb из под пользователя? 2006-07-12 15:07 ` Michael Shigorin 2006-07-12 15:13 ` Slava Dubrovskiy @ 2006-07-17 12:36 ` Slava Dubrovskiy 2006-07-18 16:08 ` Michael Shigorin 1 sibling, 2 replies; 17+ messages in thread From: Slava Dubrovskiy @ 2006-07-17 12:36 UTC (permalink / raw) To: ALT Linux Community [-- Attachment #1: Type: text/plain, Size: 922 bytes --] Michael Shigorin пишет: >>>> Хочу настроить автомонтирование ресурсов самбы из под >>>> обычного пользователя. >>>> >>> pam_mount >>> >> Скорее всего это то что надо, только не очень ясно как им >> пользоваться. Есть какая-то инструкция? >> > Есть работающий, настраивали sr@ и sinister@. > Попробуй нечто вроде (/etc/security/pam_mount.conf): > volume * cifs master SHARE /home/&/net/N: uid=&,gid=&,dir_mode=0750,iocharset=utf8 - - > > pam_mount-0.9.25-alt1 Настроил, работает, при логине монтируется, при выходе размонтируется. Но начали вылазить грабли, в виде того, что если по каким-то причинам ресурс (smb) становится недоступным, то компьютер на некоторое время зависает и примонтированный ресурс становится недоступным. Приходится делать logout/login. Это как-то можно побороть? Или все таки стоит подумать в сторону autofs? -- С уважением, Дубровский Вячеслав. [-- Attachment #2: S/MIME Cryptographic Signature --] [-- Type: application/x-pkcs7-signature, Size: 3237 bytes --] ^ permalink raw reply [flat|nested] 17+ messages in thread
[parent not found: <m3ejwjwur3.fsf@evg.krastel.ru>]
* Re: [Comm] Как настроить автомонтирование ресурсов smb из под пользователя? @ 2006-07-18 6:00 ` Slava Dubrovskiy 0 siblings, 0 replies; 17+ messages in thread From: Slava Dubrovskiy @ 2006-07-18 6:00 UTC (permalink / raw) To: Evgenii Terechkov, ALT Linux Community [-- Attachment #1: Type: text/plain, Size: 1357 bytes --] Evgenii Terechkov пишет: >>> pam_mount-0.9.25-alt1 >>> >> Настроил, работает, при логине монтируется, при выходе размонтируется. >> Но начали вылазить грабли, в виде того, что если по каким-то причинам >> ресурс (smb) становится недоступным, то компьютер на некоторое время >> зависает и примонтированный ресурс становится недоступным. Приходится >> делать logout/login. >> > > В сторону: есть мнение, что монтировать ненадёждые ресурсы (типа smb или > msdos-дисков) вообще не надо - себе дороже. Как вариант - пользоваться > чем-то поверх libsmbclient. Только не знаю чем, не искал как следует. > >> Это как-то можно побороть? >> Или все таки стоит подумать в сторону autofs? >> > Наверно в сторору чего-то в этом роде. > > P.S.: smbnetfs ? > Из KDE все можно посмотреть тоже. Но он не работает как с обычной fs, при открытии файла предлагает скачать его и потом открывает. Я прикрутил монтирование через subfs, т.е. pam_mount монтирует cifs как subfs. Работает, но есть некоторые проблемы с передачей пароля, т.к. пароль приходится передавать в параметре "password=". Т.е. прописывать в пользовательском .pam_mount и т.о. теряется весь смысл pam_mount. :-( Вот нашел некоторое решение этого вопроса. Попробую. http://uranus.it.swin.edu.au/~jn/linux/smbfs/ -- С уважением, Дубровский Вячеслав. [-- Attachment #2: S/MIME Cryptographic Signature --] [-- Type: application/x-pkcs7-signature, Size: 3237 bytes --] ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [Comm] Как настроить автомонтирование ресурсов smb из под пользователя? 2006-07-17 12:36 ` [Comm] Как настроить автомонтирование ресурсов smb из под пользователя? Slava Dubrovskiy @ 2006-07-18 16:08 ` Michael Shigorin 1 sibling, 0 replies; 17+ messages in thread From: Michael Shigorin @ 2006-07-18 16:08 UTC (permalink / raw) To: ALT Linux Community On Mon, Jul 17, 2006 at 03:36:57PM +0300, Slava Dubrovskiy wrote: > Настроил, работает, при логине монтируется, при выходе размонтируется. > Но начали вылазить грабли, в виде того, что если по каким-то > причинам ресурс (smb) становится недоступным, то компьютер на > некоторое время зависает и примонтированный ресурс становится > недоступным. Приходится делать logout/login. Это как-то можно > побороть? Или все таки стоит подумать в сторону autofs? Если тебе как-то удастся побороть IMHO фундаментальные грабли POSIX VFS и TCP/IP, с радостью выслушаю рецепт. Сам-то до сих пор даже про то, какие таймауты можно попробовать укрутить, почитать не удосужился. -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [Comm] Как настроить автомонтирование ресурсов smb из под пользователя? 2006-07-07 10:17 [Comm] Как настроить автомонтирование ресурсов smb из под пользователя? Slava Dubrovskiy 2006-07-07 10:20 ` Michael Shigorin @ 2006-07-07 12:07 ` Dmitriy L. Kruglikov 1 sibling, 0 replies; 17+ messages in thread From: Dmitriy L. Kruglikov @ 2006-07-07 12:07 UTC (permalink / raw) To: slava, ALT Linux Community On Fri, 07 Jul 2006 13:17:18 +0300 Slava Dubrovskiy wrote: > Хочу настроить автомонтирование ресурсов самбы из под обычного > пользователя. Как вариант, скрипт, запускающийся в момент входа пользователя в систему.... Скрипт можно сгенерить тем же LinNeighborhood... Чуток подправить его .... Ну и сделать обвязку типа if (уже смотнировано)... То и не монтировать... Когда-то делал .... Работало ... -- Best regards, Dmitriy L. Kruglikov .--. Dmitriy.Kruglikov_at_orionagro.com.ua |@_@ | DKR6-RIPE |!_/ | ICQ# 13047326 // \ \ XMPP:dkr6@jabber.ru (| | ) /'\_ _/`\ Powered by Linux \___)=(___/ -- Мысль -- Комментаторы с улыбкой выдают сегодня то, Что вчера еще под пыткой не промолвил бы никто. В то же время, так где надо, И подмажут, и лизнут. А не то с высокого оклада Их убрали б в пять минут. -- Владимир Асмолов ^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2006-07-18 16:08 UTC | newest] Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2006-07-07 10:17 [Comm] Как настроить автомонтирование ресурсов smb из под пользователя? Slava Dubrovskiy 2006-07-07 10:20 ` Michael Shigorin 2006-07-07 11:21 ` Slava Dubrovskiy 2006-07-07 19:35 ` ABATAPA 2006-07-12 15:07 ` Michael Shigorin 2006-07-12 15:13 ` Slava Dubrovskiy 2006-07-12 15:18 ` Gennadiy Redko 2006-07-12 15:23 ` [Comm] Клонирование системы Slava Dubrovskiy 2006-07-12 15:30 ` Gennadiy Redko 2006-07-12 15:39 ` Slava Dubrovskiy 2006-07-13 7:39 ` [Comm] Клонирование системы (systemimager, mkcdrec и компания) Michael Shigorin 2006-07-12 15:18 ` [Comm] Как настроить автомонтирование ресурсов smb из под пользователя? Dmitriy L. Kruglikov 2006-07-13 7:39 ` [Comm] клонирование Michael Shigorin 2006-07-17 12:36 ` [Comm] Как настроить автомонтирование ресурсов smb из под пользователя? Slava Dubrovskiy 2006-07-18 6:00 ` Slava Dubrovskiy 2006-07-18 16:08 ` Michael Shigorin 2006-07-07 12:07 ` Dmitriy L. Kruglikov
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