<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=4966&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] .sudo_as_admin_successful]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=4966</link>
		<description><![CDATA[The most recent posts in [SOLVED] .sudo_as_admin_successful.]]></description>
		<lastBuildDate>Fri, 01 Apr 2022 17:44:10 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[[SOLVED] .sudo_as_admin_successful]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=35441#p35441</link>
			<description><![CDATA[<p>Hello! This is a blank text file &quot;.sudo_as_admin_successful&quot; displayed on my $HOME or root very recently everytime i hit &quot;sudo -s <del>user</del> apt-get&quot;.</p><p>I have never had this file on my home before, and i use sudo for many years just it appears recently of the last update from testing repo.</p><p><a href="https://tracker.debian.org/pkg/sudo" rel="nofollow">https://tracker.debian.org/pkg/sudo</a><br /><a href="https://pkginfo.devuan.org/cgi-bin/policy-query.html?c=package&amp;q=sudo&amp;x=submit" rel="nofollow">https://pkginfo.devuan.org/cgi-bin/poli … o&amp;x=submit</a><br />up to sudo 1.9.9-1 i remember haven&#039;t had this file on my home, something from current testing version 1.9.10-3 it made it show. If i delete it , it will recreated again once i hit successfully logging in sudo -s</p><p>I read too many <a href="https://www.google.com/search?q=.sudo_as_admin_successful&amp;client=firefox-b-d&amp;gbv=2&amp;sei=DTJHYuTIBvySxc8Pt8Ww-AQ" rel="nofollow">googling</a> stories about it, saw that this empyt file is present for decade. It is not a concern some people said, it is even common that it should be, but why i haven&#039;t had it before and why it appears strangely from nothing? I&#039;m not sure it&#039;s a bug, something from the distro, or maybe it&#039;s my fault somewhere, but i can not locate it. Well, so far i have read without acting. </p><p>There was a <a href="https://github.com/sudo-project/sudo/issues/56" rel="nofollow">ticket</a> about this matter.</p><p>In fact doesn&#039;t bother me very much, just i wonder what is this? anybody from testing repo have this empty file on his home?</p><p>My single line from testing</p><div class="codebox"><pre><code>deb http://deb.devuan.org/merged daedalus main non-free contrib</code></pre></div><p>sudo version</p><div class="codebox"><pre><code>sudo:
  Installed: 1.9.10-3
  Candidate: 1.9.10-3
  Version table:
 *** 1.9.10-3 500
        500 http://deb.devuan.org/merged daedalus/main amd64 Packages
        100 /var/lib/dpkg/status</code></pre></div><p>Thanks for reading it.<br />Edit: adjusted written and links.</p><p>------------- SOLVED -------------</p><p>Edit2: Today I dealt with this matter, as early i was just reading, but not seriously.</p><p>As the user <a href="https://github.com/sudo-project/sudo/issues/56#issuecomment-984925944" rel="nofollow">geekley</a> posted. I disabled admin flag by creating a text file to &quot;/etc/sudoers.d/<strong>disable_admin_file_in_home</strong>&quot; and i put inside </p><div class="codebox"><pre><code># Disable ~/.sudo_as_admin_successful file
Defaults !admin_flag</code></pre></div><p>Saved! and the empty file &quot;.sudo_as_admin_successful&quot; does not appear anymore on my home folder. </p><p>Perhaps latest sudo is compiled with admin flag active as <a href="https://man7.org/linux/man-pages/man5/sudoers.5.html" rel="nofollow">man sudo</a> says</p><div class="codebox"><pre><code>admin_flag   The admin_flag option specifies the path to a file
             that is created the first time a user that is a
             member of the sudo or admin groups runs sudo.  Only
             available if sudo is configured with the
             --enable-admin-flag option.  The default value is
             ~/.sudo_as_admin_successful.</code></pre></div><p>The forward sudo version must have been &quot;The default value none&quot;.</p>]]></description>
			<author><![CDATA[dummy@example.com (Nili)]]></author>
			<pubDate>Fri, 01 Apr 2022 17:44:10 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=35441#p35441</guid>
		</item>
	</channel>
</rss>
