[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Thu Jan 1 22:53:04 2004 -->
- <!--x-from-r13: uar ng ubcarg.arg (Yrvgu Vbcxvaf) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: [email protected] --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] smbpasswd error -->
- <li><em>date</em>: Thu Jan 1 22:53:04 2004</li>
- <li><em>from</em>: hne at hopnet.net (Keith Hopkins)</li>
- <li><em>in-reply-to</em>: <<a href="msg00012.html">[email protected]</a>></li>
- <li><em>references</em>: <<a href="msg00012.html">[email protected]</a>></li>
- <li><em>subject</em>: [ale] smbpasswd error</li>
A normal user can change their own (/etc/passwd) password, because /usr/bin/passwd has the SUID bit set and is owned by 'root', that is, it runs as the root user without regard to the actual user starting it.
smbpassword can NOT be set the same way so any user can run it. It checks itself and complains if it is. If you use SWAT, then the swat binary can be SUID root and it can run smbpasswd for any user with access to swat.
--
Lost in Tokyo,
Keith
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00021" href="msg00021.html">[ale] smbpasswd error</a></strong>
<ul><li><em>From:</em> esoteric at 3times25.net (Geoffrey)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00012" href="msg00012.html">[ale] smbpasswd error</a></strong>
<ul><li><em>From:</em> haswes at mindspring.com (Adrin)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00016.html">[ale] OT: Re: posting to Linux mail list</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00018.html">[ale] OT sort of, Need advice on replacing Dell laptop keyboard.</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00012.html">[ale] smbpasswd error</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00021.html">[ale] smbpasswd error</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00017"><strong>Date</strong></a></li>
<li><a href="threads.html#00017"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>