Changes

Jump to: navigation, search

OPS235 Lab 3 - CentOS7

189 bytes added, 13:34, 28 April 2015
no edit summary
#One thing to look at is partition space usage. Issue the command: '''df -h'''
#If you notice 0% free space in the '''/''' partition, then there is a problem. This most likely is caused by not following steps to create a <u>compressed</u> copy of the VM image. If that is the case, locate the large image backup and remove it. Do NOT remove the image in ''/var/lib/libvirt/images'' directory!
#You can use the '''passwd''' command to reset your '''regular user''' password (eg. '''passwd yourusernameyouruserid'''). You can press '''ctrl-c''' if you wish to abort (i.e. not change password).
#To restart in graphical mode, simply enter the command '''reboot'''.
:Unfortunately, this method does not work if you forgot your '''root''' password (see To reset your root password, refer to procedure below).
#Issue the command: '''chroot /sysroot'''
#Issue the command: '''passwd root ''' in order to change your root password(press '''ctrl-c''' if you wish to abort - i.e. not change password).
#To restart in graphical mode, simply enter the command '''reboot'''.
13,420
edits

Navigation menu