Forgot Username and Password on Linux Mint

Clash Royale CLAN TAG#URR8PPP
up vote
3
down vote
favorite
I have Linux Mint 17.3 on VM Virtual Box. Unfortunately, I forgot my username and password. Can someone tell me the steps on how to reset my username and password?
linux-mint virtualbox
add a comment |Â
up vote
3
down vote
favorite
I have Linux Mint 17.3 on VM Virtual Box. Unfortunately, I forgot my username and password. Can someone tell me the steps on how to reset my username and password?
linux-mint virtualbox
add a comment |Â
up vote
3
down vote
favorite
up vote
3
down vote
favorite
I have Linux Mint 17.3 on VM Virtual Box. Unfortunately, I forgot my username and password. Can someone tell me the steps on how to reset my username and password?
linux-mint virtualbox
I have Linux Mint 17.3 on VM Virtual Box. Unfortunately, I forgot my username and password. Can someone tell me the steps on how to reset my username and password?
linux-mint virtualbox
linux-mint virtualbox
edited Apr 23 '16 at 20:44
Anthon
58.7k1796159
58.7k1796159
asked Apr 23 '16 at 19:00
eLg
3516
3516
add a comment |Â
add a comment |Â
3 Answers
3
active
oldest
votes
up vote
2
down vote
accepted
You could boot it into single user mode (if you don't know how to do it, just Google it) then enter this command:
mount -uw /
(In some cases, this command varies from system to system, so you may have to try some other command to make the filesystem writeable.)
Then type passwd then type what you want 'the root password' to be (just make sure it's a very secure password!) Then 'the root user' will be enabled, then log into 'root' then you'll have admin privileges and you can then reset your password, but while logged in as root, be careful, because while you're root, you have infinite privilege on the computer and you could easily accidentally delete an important system file without it even asking 'are you sure'. Hope this helps!
add a comment |Â
up vote
1
down vote
On Arch Linux, you could boot a live image of the OS, arch-chroot and then run passwd.
Maybe you could do something similar on Linux Mint.
add a comment |Â
up vote
0
down vote
Reboot your guest OS and press F12 or ESC key to load boot menu
Step 1. Select Recovery Menu
Step 2. In Recovery Menu select below option 
Step 3. You are now logged in as root, change any user credentials using passwd command
add a comment |Â
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
You could boot it into single user mode (if you don't know how to do it, just Google it) then enter this command:
mount -uw /
(In some cases, this command varies from system to system, so you may have to try some other command to make the filesystem writeable.)
Then type passwd then type what you want 'the root password' to be (just make sure it's a very secure password!) Then 'the root user' will be enabled, then log into 'root' then you'll have admin privileges and you can then reset your password, but while logged in as root, be careful, because while you're root, you have infinite privilege on the computer and you could easily accidentally delete an important system file without it even asking 'are you sure'. Hope this helps!
add a comment |Â
up vote
2
down vote
accepted
You could boot it into single user mode (if you don't know how to do it, just Google it) then enter this command:
mount -uw /
(In some cases, this command varies from system to system, so you may have to try some other command to make the filesystem writeable.)
Then type passwd then type what you want 'the root password' to be (just make sure it's a very secure password!) Then 'the root user' will be enabled, then log into 'root' then you'll have admin privileges and you can then reset your password, but while logged in as root, be careful, because while you're root, you have infinite privilege on the computer and you could easily accidentally delete an important system file without it even asking 'are you sure'. Hope this helps!
add a comment |Â
up vote
2
down vote
accepted
up vote
2
down vote
accepted
You could boot it into single user mode (if you don't know how to do it, just Google it) then enter this command:
mount -uw /
(In some cases, this command varies from system to system, so you may have to try some other command to make the filesystem writeable.)
Then type passwd then type what you want 'the root password' to be (just make sure it's a very secure password!) Then 'the root user' will be enabled, then log into 'root' then you'll have admin privileges and you can then reset your password, but while logged in as root, be careful, because while you're root, you have infinite privilege on the computer and you could easily accidentally delete an important system file without it even asking 'are you sure'. Hope this helps!
You could boot it into single user mode (if you don't know how to do it, just Google it) then enter this command:
mount -uw /
(In some cases, this command varies from system to system, so you may have to try some other command to make the filesystem writeable.)
Then type passwd then type what you want 'the root password' to be (just make sure it's a very secure password!) Then 'the root user' will be enabled, then log into 'root' then you'll have admin privileges and you can then reset your password, but while logged in as root, be careful, because while you're root, you have infinite privilege on the computer and you could easily accidentally delete an important system file without it even asking 'are you sure'. Hope this helps!
edited Jun 15 '16 at 23:25
answered Apr 23 '16 at 19:40
John Militer
6512926
6512926
add a comment |Â
add a comment |Â
up vote
1
down vote
On Arch Linux, you could boot a live image of the OS, arch-chroot and then run passwd.
Maybe you could do something similar on Linux Mint.
add a comment |Â
up vote
1
down vote
On Arch Linux, you could boot a live image of the OS, arch-chroot and then run passwd.
Maybe you could do something similar on Linux Mint.
add a comment |Â
up vote
1
down vote
up vote
1
down vote
On Arch Linux, you could boot a live image of the OS, arch-chroot and then run passwd.
Maybe you could do something similar on Linux Mint.
On Arch Linux, you could boot a live image of the OS, arch-chroot and then run passwd.
Maybe you could do something similar on Linux Mint.
edited Apr 23 '16 at 19:59
John Militer
6512926
6512926
answered Apr 23 '16 at 19:10
David
1687
1687
add a comment |Â
add a comment |Â
up vote
0
down vote
Reboot your guest OS and press F12 or ESC key to load boot menu
Step 1. Select Recovery Menu
Step 2. In Recovery Menu select below option 
Step 3. You are now logged in as root, change any user credentials using passwd command
add a comment |Â
up vote
0
down vote
Reboot your guest OS and press F12 or ESC key to load boot menu
Step 1. Select Recovery Menu
Step 2. In Recovery Menu select below option 
Step 3. You are now logged in as root, change any user credentials using passwd command
add a comment |Â
up vote
0
down vote
up vote
0
down vote
Reboot your guest OS and press F12 or ESC key to load boot menu
Step 1. Select Recovery Menu
Step 2. In Recovery Menu select below option 
Step 3. You are now logged in as root, change any user credentials using passwd command
Reboot your guest OS and press F12 or ESC key to load boot menu
Step 1. Select Recovery Menu
Step 2. In Recovery Menu select below option 
Step 3. You are now logged in as root, change any user credentials using passwd command
answered Aug 13 at 8:40
pritish
1
1
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f278627%2fforgot-username-and-password-on-linux-mint%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password