<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>In the original email you mentioned you installed DragonFly BSD 5.0.0, but your "uname -a" says your kernel is from the development branch.</p>
<p>Well, it doesn't mean it shouldn't work, but it means at least that your setup is not exactly as you described.</p>
<p>I am not sure whether ABI has changed since the 5.0-RELEASE branch or not. Maybe somebody else will tell you.</p>
<p>I will try to reproduce your setup this evening using vkernel and see if I have the same problem.</p>
<p>-- </p>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">Aleksej Lebedev</div>
<p>On 2017-11-07 12:49, Mohammad BadieZadegan wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div dir="ltr">
<div># uname -a</div>
<div>DragonFly  5.1-DEVELOPMENT DragonFly v5.1.0.214.g76b0b-DEVELOPMENT #0: Tue Nov  7 14:47:15 UTC 2017     root@:/usr/obj/usr/src/DragonFlyBSD/sys/X86_64_GENERIC  x86_64</div>
<div># file `which sudo`</div>
<div>/usr/local/bin/sudo: setuid ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /libexec/ld-elf.so.2, for DragonFly 5.0.0, stripped</div>
<div># </div>
<div> </div>
</div>
<div class="gmail_extra"><br />
<div class="gmail_quote">On Tue, Nov 7, 2017 at 10:30 AM, Aleksej Lebedev <span><<a href="mailto:root@zta.lk">root@zta.lk</a>></span> wrote:<br />
<blockquote class="gmail_quote" style="margin: 0 0 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;">On 2017-11-06 12:10, Mohammad BadieZadegan wrote:<br /> <br />
<blockquote class="gmail_quote" style="margin: 0 0 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;">Hi everybody,<br /> I installed DF-BSD 5.0.0 and then SUDO, But I get Segmentation Fault when I run sudo!<br /> How can I resolve that?</blockquote>
<br /> It will be easier to guess what went wrong if you provide the output of the following commands:<br /> <br /> # uname -a<br /> # file `which sudo`<span class="HOEnZb"><span style="color: #888888;"><br /> <br /> -- <br /> Aleksej Lebedev<br /> </span></span></blockquote>
</div>
</div>
</blockquote>

</body></html>