Thank you, Lucas and Aly, for your help.<br><br>I got the problem resolved now. When I installed CentOS 4.8 on VMware Fusion, I should not have used the VMware default easy installation, which bypassed the installation questions, including setting the root password. After I unchecked the easy installation, I was able to set the root password.<br>
<br>Thank you again, anyway.<br>Jerry<br><br><div class="gmail_quote">On Thu, Feb 3, 2011 at 1:21 PM, Y. K. Liu <span dir="ltr">&lt;<a href="mailto:ykliu7@gmail.com">ykliu7@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
On a web site, I noticed that when installing CentOS 5.4 (not the 4.8 I installed), it asked to enter the password for the root.<br><br>However, I need to install CentOS 4.8, not the 5.4. During the installation of 4.8, it would not let me enter root for the username. So I could not create root username at that time, and I only had a non-privileged regular username. <br>

<br>Thanks,<br>Jerry<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Thu, Feb 3, 2011 at 12:52 PM, Y. K. Liu <span dir="ltr">&lt;<a href="mailto:ykliu7@gmail.com" target="_blank">ykliu7@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I could not login as root. I only had a non-privileged user name.<br><br>Thanks,<br>Jerry<div><div></div><div><br><br><div class="gmail_quote">On Thu, Feb 3, 2011 at 11:31 AM, Lucas Timm LH <span dir="ltr">&lt;<a href="mailto:linuxhelper@gmail.com" target="_blank">linuxhelper@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Are you trying to log as root in GDM or in a TTY?<br><br><div class="gmail_quote">2011/2/3 Y. K. Liu <span dir="ltr">&lt;<a href="mailto:ykliu7@gmail.com" target="_blank">ykliu7@gmail.com</a>&gt;</span><br>


<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div>

Hi,<br><br>I installed CentOS 4.8 on VMware Fusion 3.1.2. The installation was fine. During the installation, it asked me to enter my username and password. I tried to enter &quot;root&quot; as the username, but it was not allowed. So I had to enter other name for that. <br>





<br>After I logged into CentOS 4.8, I could not do sudo because I was a regular user. Could somebody tell me how I can become root?<br><br>Thank you.<br>Jerry<br>
<br></div></div>_______________________________________________<br>
CentOS-virt mailing list<br>
<a href="mailto:CentOS-virt@centos.org" target="_blank">CentOS-virt@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos-virt" target="_blank">http://lists.centos.org/mailman/listinfo/centos-virt</a><br>
<br></blockquote></div><font color="#888888"><br><br clear="all"><br>-- <br>Lucas Timm, Goiânia/GO.<br><a href="http://timmerman.wordpress.com" target="_blank">http://timmerman.wordpress.com</a><br><br>(62) 8198-0867<br>



</font><br>_______________________________________________<br>
CentOS-virt mailing list<br>
<a href="mailto:CentOS-virt@centos.org" target="_blank">CentOS-virt@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos-virt" target="_blank">http://lists.centos.org/mailman/listinfo/centos-virt</a><br>
<br></blockquote></div><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>