<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Root on Michael’s Domain</title><link>https://jeltsch.org/en/tags/root/</link><description>Recent content in Root on Michael’s Domain</description><generator>Hugo</generator><language>en-us</language><copyright>Copyright © 2002 - 2026 Michael Jeltsch.</copyright><lastBuildDate>Fri, 24 Jul 2026 00:18:18 +0300</lastBuildDate><atom:link href="https://jeltsch.org/en/tags/root/index.xml" rel="self" type="application/rss+xml"/><item><title>suid and executing programs as root without need of typing the root password</title><link>https://jeltsch.org/en/suid_and_executing_programs_as_root_without_need_of_typing_the_root_password/</link><pubDate>Mon, 21 May 2007 00:00:00 +0000</pubDate><guid>https://jeltsch.org/en/suid_and_executing_programs_as_root_without_need_of_typing_the_root_password/</guid><description>&lt;p&gt;If you have executables (programs, scripts), that need root privileges to run (e.g. that mount something), you don&amp;rsquo;t need to type in the su password everytime.You can set the suid for that file and change its owner to root:&lt;code&gt;chmod u+s filename chown root filename&lt;/code&gt;&lt;/p&gt;</description></item><item><title>Resetting the MySQL root password</title><link>https://jeltsch.org/en/resetting_the_mysql_root_password/</link><pubDate>Thu, 05 Apr 2007 00:00:00 +0000</pubDate><guid>https://jeltsch.org/en/resetting_the_mysql_root_password/</guid><description>&lt;p&gt;If you have forgotten your MySQL root password, you can reset it if you have physical access to the machine mysql is running on: Find the .pid file of the mysql process. It is either called mysql.pid or machinename.pid. Kill the mysql process. On my MacOS X server e.g. &lt;code&gt;kill &lt;/code&gt;cat /usr/local/mysql-standard-4.0.16-apple-darwin6.6-powerpc/data/localhost.pid`` Restart the mysql server &lt;code&gt;/usr/local/mysql-standard-4.0.16-apple-darwin6.6-powerpc/bin/mysqld_safe --skip-grant-tables &amp;amp;&lt;/code&gt; Set the new root password (replace newpassword with the new password!) &lt;code&gt;/usr/local/mysql-standard-4.0.16-apple-darwin6.6-powerpc/bin/mysqladmin -u root flush-privileges password &amp;quot;newpassword&amp;quot;&lt;/code&gt; Done!&lt;/p&gt;</description></item><item><title>Ubuntu and root, su and sudo</title><link>https://jeltsch.org/en/ubuntu_and_root_su_and_sudo/</link><pubDate>Tue, 06 Mar 2007 00:00:00 +0000</pubDate><guid>https://jeltsch.org/en/ubuntu_and_root_su_and_sudo/</guid><description>&lt;p&gt;In (K)ubuntu, only sudo is allowed by default. To enable su, execute:&lt;code&gt;sudo -s -H&lt;/code&gt;To enable graphical root login, edit /etc/kde3/kdm/kdmrc:&lt;code&gt;AllowRootLogin=true&lt;/code&gt;&lt;/p&gt;</description></item></channel></rss>