From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) 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.5 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Subject:To:MIME-Version:From:Date:Message-ID; bh=VxdAcZW795cpeideVt0DEfYxpENtH39R9r5vdrmH8/4=; b=MeqmdPWE23OOX47DdTNvydaT7t6OxqNyx9380aFWTMJ7vTlA6BZvGzE32HzXJg3osbEXf85gpR+DC/s4jCcuYzIXl7QwJdaxj/Kj3uwrOqHMwZ9vhCTz5Xus1HiQVx0y; Message-ID: <4F5CECD4.8070104@mail.ru> Date: Mon, 12 Mar 2012 00:20:04 +0600 From: Denis Nazarov User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: community@lists.altlinux.org References: <4F5CCD11.2040009@mail.ru> In-Reply-To: Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit X-Spam: Not detected X-Mras: Ok Subject: Re: [Comm] =?koi8-r?b?0NLJztTF0tkgQ2Fub24=?= X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.12 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: Sun, 11 Mar 2012 18:20:13 -0000 Archived-At: List-Archive: List-Post: 11.03.2012 22:34, Геннадий Ищенко пишет: > > Последнее насквозь непонятно как раздел /home может быть невыполняемым? Можно подробнее в двух словах? > если в fstab прописать noexec для /home - то скрипты с /home запускаться не будут (правда, есть варианты) если у вас нет ccpd, так сделайте его #!/bin/sh # # ccpd Canon Printing for CUPS # chkconfig: 2345 65 35 # description: Canon Printing for CUPS # processname: ccpd # config: /etc/ccpd.conf # Do not load RH compatibility interface. WITHOUT_RC_COMPAT=1 # Source function library. . /etc/init.d/functions PIDFILE=/var/run/ccpd.pid LOCKFILE=/var/lock/subsys/ccpd BINARY=/usr/sbin/ccpd RETVAL=0 start() { start_daemon --lockfile "$LOCKFILE" --expect-user root -- ccpd RETVAL=$? return $RETVAL } stop() { stop_daemon --lockfile "$LOCKFILE" --expect-user root -- ccpd RETVAL=$? return $RETVAL } restart() { stop start } reload() { stop start } # See how we were called. case "$1" in start) start ;; stop) stop ;; reload) reload ;; restart) restart ;; condstop) if [ -e "$LOCKFILE" ]; then stop fi ;; condrestart) if [ -e "$LOCKFILE" ]; then restart fi ;; condreload) if [ -e "$LOCKFILE" ]; then reload fi ;; status) status --expect-user root -- ccpd RETVAL=$? ;; *) msg_usage "${0##*/} {start|stop|reload|restart|condstop|condrest art|condreload|status}" RETVAL=1 esac exit $RETVAL ************ и еще cat /etc/ccpd.conf # Canon Printer Daemon for CUPS Configuration Data # CUPS configuration file path. # Default /etc/cups/ CUPS_ConfigPath /etc/cups/ # Log directory path. # LogDirectoryPath /var/log/CCPD/ # Printer entries. # Mapping each "Printer Name" to each "Printer Device Port". # The "Printer Name" has to be identical to the CUPS printer queue name. # # For example, if you prepare a printer named "LBP3200" as a CUPS printer # queue name, and the printer is connected to the USB port "/dev/usb/lp0", # you can use the following three lines example just by removing the # comment symbol "#" of each line. # #DevicePath /dev/usb/lp0 # DevicePath /dev/usb/lp0 # Status monitoring socket port. # Default 59787 UI_Port 59787