What is the ubuntu 16.04 lts server default login & password?
When i installed dual boot ubuntu 16.04 lts server i did not entry any ubuntu server login & password when i opened ubuntu server it wants login & password.What is the ubuntu 16.04 lts server default login & password ?or How to open ubuntu server?
linux ubuntu ubuntu-10.04 ubuntu-14.04
add a comment |
When i installed dual boot ubuntu 16.04 lts server i did not entry any ubuntu server login & password when i opened ubuntu server it wants login & password.What is the ubuntu 16.04 lts server default login & password ?or How to open ubuntu server?
linux ubuntu ubuntu-10.04 ubuntu-14.04
add a comment |
When i installed dual boot ubuntu 16.04 lts server i did not entry any ubuntu server login & password when i opened ubuntu server it wants login & password.What is the ubuntu 16.04 lts server default login & password ?or How to open ubuntu server?
linux ubuntu ubuntu-10.04 ubuntu-14.04
When i installed dual boot ubuntu 16.04 lts server i did not entry any ubuntu server login & password when i opened ubuntu server it wants login & password.What is the ubuntu 16.04 lts server default login & password ?or How to open ubuntu server?
linux ubuntu ubuntu-10.04 ubuntu-14.04
linux ubuntu ubuntu-10.04 ubuntu-14.04
asked Nov 23 '18 at 3:27
![](https://i.stack.imgur.com/l6Bu4.jpg?s=32&g=1)
![](https://i.stack.imgur.com/l6Bu4.jpg?s=32&g=1)
Mafuj Shikder
11
11
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
If you don't remember the password, you can reset it with a liveCD/USB, you need to boot the USB, mount your root partition, chroot and reset the password:
# mkdir /mnt/ubuntu
# mount /dev/sdXY /mnt/ubutnu # your partition numeber
# chroot /mnt/ubuntu /bin/bash
# passwd [your username] # here you reset the password
# exit
# reboot
If You want to know your username put this command in your chroot environment:
# grep 1000 /etc/passwd
It should be the last one and the UID should be 1000 on a fresh installation
if you have not a UID 1000 means you have not created a username, so add it, always on your chroot environment:
# uaseradd -s /bin/bash -G users,wheel,... [your username]
# passwd [your username]
Note: not every liveCD/USB will work: (1) the implicit premise is it contains Linux; (2)chroot
will use the kernel of this live OS, version mismatch may be an issue in general (although the mentioned commands should not be picky, I guess).
– Kamil Maciorowski
Nov 23 '18 at 7:09
first... thanks, about the editing... my english is not perfect :P second... It is true, Its recommended to use the same liveCD/USB used to install the SO
– ensarman
Nov 23 '18 at 16:46
Even with use of the actual install media you may have a mismatch, e.g. if there has been updates that included changes to system portions that affects what you're about to handle.
– Hannu
22 hours ago
add a comment |
With Ubuntu, you do not need to boot a live CD (and chroot) as you should be able to use the ... (recovery mode)
option in the grub menus.
To see the grub menu; hold SHIFT as the BIOS ends it's boot-up display.
Select the recovery mode with the cursor keys (then press ENTER) and a new menu appears.
Select and press enter onfsck Check all file systems
to make all filesystems writable.
Select and press enter onnetwork Enable networking
... if also need networking (e.g. to run apt-get)
Select and press enter onroot Drop to root shell prompt
... and ENTER once more, to get the root shell prompt.
Now use useradd
, usermod
, userdel
and passwd
in the normal way to reset password(s) or create/modify/remove users.
Note also: ALL answers here should be considered "$3cur1ty h0l3z" - anybody with physical access to the machine can do this; root access without effort. So, what to do? -> Keep your computer in a locked room.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1377714%2fwhat-is-the-ubuntu-16-04-lts-server-default-login-password%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
If you don't remember the password, you can reset it with a liveCD/USB, you need to boot the USB, mount your root partition, chroot and reset the password:
# mkdir /mnt/ubuntu
# mount /dev/sdXY /mnt/ubutnu # your partition numeber
# chroot /mnt/ubuntu /bin/bash
# passwd [your username] # here you reset the password
# exit
# reboot
If You want to know your username put this command in your chroot environment:
# grep 1000 /etc/passwd
It should be the last one and the UID should be 1000 on a fresh installation
if you have not a UID 1000 means you have not created a username, so add it, always on your chroot environment:
# uaseradd -s /bin/bash -G users,wheel,... [your username]
# passwd [your username]
Note: not every liveCD/USB will work: (1) the implicit premise is it contains Linux; (2)chroot
will use the kernel of this live OS, version mismatch may be an issue in general (although the mentioned commands should not be picky, I guess).
– Kamil Maciorowski
Nov 23 '18 at 7:09
first... thanks, about the editing... my english is not perfect :P second... It is true, Its recommended to use the same liveCD/USB used to install the SO
– ensarman
Nov 23 '18 at 16:46
Even with use of the actual install media you may have a mismatch, e.g. if there has been updates that included changes to system portions that affects what you're about to handle.
– Hannu
22 hours ago
add a comment |
If you don't remember the password, you can reset it with a liveCD/USB, you need to boot the USB, mount your root partition, chroot and reset the password:
# mkdir /mnt/ubuntu
# mount /dev/sdXY /mnt/ubutnu # your partition numeber
# chroot /mnt/ubuntu /bin/bash
# passwd [your username] # here you reset the password
# exit
# reboot
If You want to know your username put this command in your chroot environment:
# grep 1000 /etc/passwd
It should be the last one and the UID should be 1000 on a fresh installation
if you have not a UID 1000 means you have not created a username, so add it, always on your chroot environment:
# uaseradd -s /bin/bash -G users,wheel,... [your username]
# passwd [your username]
Note: not every liveCD/USB will work: (1) the implicit premise is it contains Linux; (2)chroot
will use the kernel of this live OS, version mismatch may be an issue in general (although the mentioned commands should not be picky, I guess).
– Kamil Maciorowski
Nov 23 '18 at 7:09
first... thanks, about the editing... my english is not perfect :P second... It is true, Its recommended to use the same liveCD/USB used to install the SO
– ensarman
Nov 23 '18 at 16:46
Even with use of the actual install media you may have a mismatch, e.g. if there has been updates that included changes to system portions that affects what you're about to handle.
– Hannu
22 hours ago
add a comment |
If you don't remember the password, you can reset it with a liveCD/USB, you need to boot the USB, mount your root partition, chroot and reset the password:
# mkdir /mnt/ubuntu
# mount /dev/sdXY /mnt/ubutnu # your partition numeber
# chroot /mnt/ubuntu /bin/bash
# passwd [your username] # here you reset the password
# exit
# reboot
If You want to know your username put this command in your chroot environment:
# grep 1000 /etc/passwd
It should be the last one and the UID should be 1000 on a fresh installation
if you have not a UID 1000 means you have not created a username, so add it, always on your chroot environment:
# uaseradd -s /bin/bash -G users,wheel,... [your username]
# passwd [your username]
If you don't remember the password, you can reset it with a liveCD/USB, you need to boot the USB, mount your root partition, chroot and reset the password:
# mkdir /mnt/ubuntu
# mount /dev/sdXY /mnt/ubutnu # your partition numeber
# chroot /mnt/ubuntu /bin/bash
# passwd [your username] # here you reset the password
# exit
# reboot
If You want to know your username put this command in your chroot environment:
# grep 1000 /etc/passwd
It should be the last one and the UID should be 1000 on a fresh installation
if you have not a UID 1000 means you have not created a username, so add it, always on your chroot environment:
# uaseradd -s /bin/bash -G users,wheel,... [your username]
# passwd [your username]
edited Nov 23 '18 at 6:50
Kamil Maciorowski
24.5k155277
24.5k155277
answered Nov 23 '18 at 6:15
ensarman
212
212
Note: not every liveCD/USB will work: (1) the implicit premise is it contains Linux; (2)chroot
will use the kernel of this live OS, version mismatch may be an issue in general (although the mentioned commands should not be picky, I guess).
– Kamil Maciorowski
Nov 23 '18 at 7:09
first... thanks, about the editing... my english is not perfect :P second... It is true, Its recommended to use the same liveCD/USB used to install the SO
– ensarman
Nov 23 '18 at 16:46
Even with use of the actual install media you may have a mismatch, e.g. if there has been updates that included changes to system portions that affects what you're about to handle.
– Hannu
22 hours ago
add a comment |
Note: not every liveCD/USB will work: (1) the implicit premise is it contains Linux; (2)chroot
will use the kernel of this live OS, version mismatch may be an issue in general (although the mentioned commands should not be picky, I guess).
– Kamil Maciorowski
Nov 23 '18 at 7:09
first... thanks, about the editing... my english is not perfect :P second... It is true, Its recommended to use the same liveCD/USB used to install the SO
– ensarman
Nov 23 '18 at 16:46
Even with use of the actual install media you may have a mismatch, e.g. if there has been updates that included changes to system portions that affects what you're about to handle.
– Hannu
22 hours ago
Note: not every liveCD/USB will work: (1) the implicit premise is it contains Linux; (2)
chroot
will use the kernel of this live OS, version mismatch may be an issue in general (although the mentioned commands should not be picky, I guess).– Kamil Maciorowski
Nov 23 '18 at 7:09
Note: not every liveCD/USB will work: (1) the implicit premise is it contains Linux; (2)
chroot
will use the kernel of this live OS, version mismatch may be an issue in general (although the mentioned commands should not be picky, I guess).– Kamil Maciorowski
Nov 23 '18 at 7:09
first... thanks, about the editing... my english is not perfect :P second... It is true, Its recommended to use the same liveCD/USB used to install the SO
– ensarman
Nov 23 '18 at 16:46
first... thanks, about the editing... my english is not perfect :P second... It is true, Its recommended to use the same liveCD/USB used to install the SO
– ensarman
Nov 23 '18 at 16:46
Even with use of the actual install media you may have a mismatch, e.g. if there has been updates that included changes to system portions that affects what you're about to handle.
– Hannu
22 hours ago
Even with use of the actual install media you may have a mismatch, e.g. if there has been updates that included changes to system portions that affects what you're about to handle.
– Hannu
22 hours ago
add a comment |
With Ubuntu, you do not need to boot a live CD (and chroot) as you should be able to use the ... (recovery mode)
option in the grub menus.
To see the grub menu; hold SHIFT as the BIOS ends it's boot-up display.
Select the recovery mode with the cursor keys (then press ENTER) and a new menu appears.
Select and press enter onfsck Check all file systems
to make all filesystems writable.
Select and press enter onnetwork Enable networking
... if also need networking (e.g. to run apt-get)
Select and press enter onroot Drop to root shell prompt
... and ENTER once more, to get the root shell prompt.
Now use useradd
, usermod
, userdel
and passwd
in the normal way to reset password(s) or create/modify/remove users.
Note also: ALL answers here should be considered "$3cur1ty h0l3z" - anybody with physical access to the machine can do this; root access without effort. So, what to do? -> Keep your computer in a locked room.
add a comment |
With Ubuntu, you do not need to boot a live CD (and chroot) as you should be able to use the ... (recovery mode)
option in the grub menus.
To see the grub menu; hold SHIFT as the BIOS ends it's boot-up display.
Select the recovery mode with the cursor keys (then press ENTER) and a new menu appears.
Select and press enter onfsck Check all file systems
to make all filesystems writable.
Select and press enter onnetwork Enable networking
... if also need networking (e.g. to run apt-get)
Select and press enter onroot Drop to root shell prompt
... and ENTER once more, to get the root shell prompt.
Now use useradd
, usermod
, userdel
and passwd
in the normal way to reset password(s) or create/modify/remove users.
Note also: ALL answers here should be considered "$3cur1ty h0l3z" - anybody with physical access to the machine can do this; root access without effort. So, what to do? -> Keep your computer in a locked room.
add a comment |
With Ubuntu, you do not need to boot a live CD (and chroot) as you should be able to use the ... (recovery mode)
option in the grub menus.
To see the grub menu; hold SHIFT as the BIOS ends it's boot-up display.
Select the recovery mode with the cursor keys (then press ENTER) and a new menu appears.
Select and press enter onfsck Check all file systems
to make all filesystems writable.
Select and press enter onnetwork Enable networking
... if also need networking (e.g. to run apt-get)
Select and press enter onroot Drop to root shell prompt
... and ENTER once more, to get the root shell prompt.
Now use useradd
, usermod
, userdel
and passwd
in the normal way to reset password(s) or create/modify/remove users.
Note also: ALL answers here should be considered "$3cur1ty h0l3z" - anybody with physical access to the machine can do this; root access without effort. So, what to do? -> Keep your computer in a locked room.
With Ubuntu, you do not need to boot a live CD (and chroot) as you should be able to use the ... (recovery mode)
option in the grub menus.
To see the grub menu; hold SHIFT as the BIOS ends it's boot-up display.
Select the recovery mode with the cursor keys (then press ENTER) and a new menu appears.
Select and press enter onfsck Check all file systems
to make all filesystems writable.
Select and press enter onnetwork Enable networking
... if also need networking (e.g. to run apt-get)
Select and press enter onroot Drop to root shell prompt
... and ENTER once more, to get the root shell prompt.
Now use useradd
, usermod
, userdel
and passwd
in the normal way to reset password(s) or create/modify/remove users.
Note also: ALL answers here should be considered "$3cur1ty h0l3z" - anybody with physical access to the machine can do this; root access without effort. So, what to do? -> Keep your computer in a locked room.
edited Dec 4 '18 at 10:42
answered Nov 23 '18 at 13:14
![](https://i.stack.imgur.com/OPf7Z.jpg?s=32&g=1)
![](https://i.stack.imgur.com/OPf7Z.jpg?s=32&g=1)
Hannu
3,9851925
3,9851925
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1377714%2fwhat-is-the-ubuntu-16-04-lts-server-default-login-password%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown