<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<atom:link xmlns:atom="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="https://tanguy.ortolo.eu/blog/feed/rss/commentaires/" />
	<link>https://tanguy.ortolo.eu/blog/article10/sudo-su-wrapper</link>
	<language>en</language>
	<description>a blog about Debian and self-hosting</description>
	<lastBuildDate>Sun, 05 Jun 2011 17:07:00 +0000</lastBuildDate>
	<generator>PluXml</generator>
	<item>
		<title>Wrapper to use su as sudo (or sudo as su) - Written by Tanguy @ sunday 05 june 2011, 17:07</title> 
		<link>https://tanguy.ortolo.eu/blog/article10/sudo-su-wrapper/#c1307293645-1</link>
		<guid>https://tanguy.ortolo.eu/blog/article10/sudo-su-wrapper/#c1307293645-1</guid>
		<description>@mirabilos: I do not understand you last sentence. :-(

But I sued sudo sh -c because this is what su does, so to mimic su&amp;#039;s behaviour with sudo, this is the only solution I think.</description>
		<pubDate>Sun, 05 Jun 2011 17:07:00 +0000</pubDate>
		<dc:creator>Tanguy</dc:creator>
	</item>
	<item>
		<title>Wrapper to use su as sudo (or sudo as su) - Written by mirabilos @ friday 03 june 2011, 09:47</title> 
		<link>https://tanguy.ortolo.eu/blog/article10/sudo-su-wrapper/#c1307094454-1</link>
		<guid>https://tanguy.ortolo.eu/blog/article10/sudo-su-wrapper/#c1307094454-1</guid>
		<description>Oh, duh.

sudo sh -c &amp;quot;…&amp;quot;

But people who use that are as “stayed behind on the short bus” as NetBSD® pkgsrc®.</description>
		<pubDate>Fri, 03 Jun 2011 09:47:00 +0000</pubDate>
		<dc:creator>mirabilos</dc:creator>
	</item>
	<item>
		<title>Wrapper to use su as sudo (or sudo as su) - Written by Elessar @ saturday 28 may 2011, 09:11</title> 
		<link>https://tanguy.ortolo.eu/blog/article10/sudo-su-wrapper/#c1306573883-1</link>
		<guid>https://tanguy.ortolo.eu/blog/article10/sudo-su-wrapper/#c1306573883-1</guid>
		<description>@KiBi: Doesn&amp;#039;t it? Well, it has a -rgain-root-command option, that might exist for something (and its manpage also explains why su is not suitable, by the way). I have some debian/rules that chown files, which can only done by root, I think. Or faked with fakeroot; this is what I usually do.

 Anyway, pbuilder still requires real root privileges, and its wrapper pdebuild has an option to specify which command to use: in fact it is for pdebuild that I wrote my wrapper.</description>
		<pubDate>Sat, 28 May 2011 09:11:00 +0000</pubDate>
		<dc:creator>Elessar</dc:creator>
	</item>
	<item>
		<title>Wrapper to use su as sudo (or sudo as su) - Written by KiBi @ saturday 28 may 2011, 08:11</title> 
		<link>https://tanguy.ortolo.eu/blog/article10/sudo-su-wrapper/#c1306570283-1</link>
		<guid>https://tanguy.ortolo.eu/blog/article10/sudo-su-wrapper/#c1306570283-1</guid>
		<description>dpkg-buildpackage doesn&amp;#039;t require root privileges.</description>
		<pubDate>Sat, 28 May 2011 08:11:00 +0000</pubDate>
		<dc:creator>KiBi</dc:creator>
	</item>
	<item>
		<title>Wrapper to use su as sudo (or sudo as su) - Written by Ben Armstrong @ saturday 28 may 2011, 00:55</title> 
		<link>https://tanguy.ortolo.eu/blog/article10/sudo-su-wrapper/#c1306544125-1</link>
		<guid>https://tanguy.ortolo.eu/blog/article10/sudo-su-wrapper/#c1306544125-1</guid>
		<description>While we&amp;#039;re on the topic of sudo &amp;amp; su wrappers, although it does not solve the exact problem your wrapper does, you may be interested in su-to-root in the &amp;#039;menu&amp;#039; package.</description>
		<pubDate>Sat, 28 May 2011 00:55:00 +0000</pubDate>
		<dc:creator>Ben Armstrong</dc:creator>
	</item>
		<title>Tanguy Ortolo - Wrapper to use su as sudo (or sudo as su) - Comments</title> 
</channel>
</rss>