<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Подскажите как выполнить команду от root в Centos без ввода пароля.]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=37667&amp;type=atom" />
	<updated>2015-02-19T06:36:51Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=37667</id>
		<entry>
			<title type="html"><![CDATA[Re: Подскажите как выполнить команду от root в Centos без ввода пароля.]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=446021#p446021" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Marley пишет:</cite><blockquote><p>нужно 1 команду на завершающем шаге выполнить от root</p></blockquote></div><div class="codebox"><pre><code>%wheel hostname=(root) NOPASSWD: /usr/bin/script.sh</code></pre></div>]]></content>
			<author>
				<name><![CDATA[drBatty]]></name>
				<uri>https://linuxforum.ru/profile.php?id=86</uri>
			</author>
			<updated>2015-02-19T06:36:51Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=446021#p446021</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Подскажите как выполнить команду от root в Centos без ввода пароля.]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=445334#p445334" />
			<content type="html"><![CDATA[<p>ещё можно использовать consolehelper, только для этого надо, чтобы исходная команда была в sbin. С yum это не пройдёт - он в bin</p>]]></content>
			<author>
				<name><![CDATA[s.xbatob]]></name>
				<uri>https://linuxforum.ru/profile.php?id=36272</uri>
			</author>
			<updated>2015-02-12T19:04:25Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=445334#p445334</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Подскажите как выполнить команду от root в Centos без ввода пароля.]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=445329#p445329" />
			<content type="html"><![CDATA[<p>В конфиге sudo разреши эту команду выполнять. Можно и без ввода пароля.</p>]]></content>
			<author>
				<name><![CDATA[Vascom]]></name>
				<uri>https://linuxforum.ru/profile.php?id=5339</uri>
			</author>
			<updated>2015-02-12T18:13:40Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=445329#p445329</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Подскажите как выполнить команду от root в Centos без ввода пароля.]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=445320#p445320" />
			<content type="html"><![CDATA[<p>Нужно без доп редактирования конфигов sudo пользоавателей.</p><p>(Делаю dockerfile для контейнера, нужно 1 команду на завершающем шаге выполнить от root.)</p>]]></content>
			<author>
				<name><![CDATA[Marley]]></name>
				<uri>https://linuxforum.ru/profile.php?id=33858</uri>
			</author>
			<updated>2015-02-12T17:35:39Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=445320#p445320</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Подскажите как выполнить команду от root в Centos без ввода пароля.]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=445317#p445317" />
			<content type="html"><![CDATA[<p>Смотри sudoers и sudo</p>]]></content>
			<author>
				<name><![CDATA[i2ks]]></name>
				<uri>https://linuxforum.ru/profile.php?id=16</uri>
			</author>
			<updated>2015-02-12T17:31:43Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=445317#p445317</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Подскажите как выполнить команду от root в Centos без ввода пароля.]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=445315#p445315" />
			<content type="html"><![CDATA[<p>Подскажите, как в Centos выполнить команду обычным пользователем от root, и при этом не вводить пароль.</p><p>Имеется ввиду следующий аналог в ubuntu:</p><div class="codebox"><pre><code>echo &#039;root_password&#039; | sudo -S apt-get -y upgrade</code></pre></div><p><strong>upd. чего-то я стормозил.<br />У меня на ubuntu пользователь в группе sudousers, а на создаваемом контейнере centos нет.</strong></p>]]></content>
			<author>
				<name><![CDATA[Marley]]></name>
				<uri>https://linuxforum.ru/profile.php?id=33858</uri>
			</author>
			<updated>2015-02-12T17:29:01Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=445315#p445315</id>
		</entry>
</feed>
