<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><br>
</p>
<p>Eric,</p>
<p><br>
</p>
<p> The old-school way to check this is "id | grep 'uid=0('
>/dev/null" and look at the exit status. Has worked as far
back as SunOS 4 and systems in that era; works AFAIK on all Linux
distros.<br>
</p>
<p><br>
</p>
<p> - John D. Bell<br>
</p>
<br>
<div class="moz-cite-prefix">On 01/21/2017 01:50 AM, Eric S. Raymond
wrote:<br>
</div>
<blockquote cite="mid:20170121065044.GA29387@thyrsus.com"
type="cite">
<pre wrap="">Gary E. Miller <a class="moz-txt-link-rfc2396E" href="mailto:gem@rellim.com"><gem@rellim.com></a>:
</pre>
<blockquote type="cite">
<pre wrap="">Another issue with buildprep. On Debian Jessie, it thinks I am not
root:
# id
uid=0(root) gid=0(root) groups=0(root)
#./buildprep
# Preparing your system for ntpsec source build...
# This script presently knows about Debian, Ubuntu, CentOS, Fedora, and SLES.
# If you are running something else, such as MacOS or Solaris, please
# follow the directions for by-hand installation in INSTALL.
#
#You must be running as root for your installer to do its thing.
</pre>
</blockquote>
<pre wrap="">
Hm...does Jessie not set $UID?
What would you recommend as a test?
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:devel@ntpsec.org">devel@ntpsec.org</a>
<a class="moz-txt-link-freetext" href="http://lists.ntpsec.org/mailman/listinfo/devel">http://lists.ntpsec.org/mailman/listinfo/devel</a></pre>
</blockquote>
<br>
</body>
</html>