Hello,
I have attempted to follow the resetting the password guide but was unsuccessful.
http://forums.nfoservers.com/viewtopic.php?f=46&t=5792
The first method didn't work so I attempted the second method, setting the init file to /bin/bash (shell), the server booted but I received an error
Bash: cannot set terminal process group (-1) ...
Bash: no job control in this shell
Any ideas as to what I am doing wrong? I do not want to reinstall Debian as I have server files that would require backing up.
Changing root password on Debian
-
- New to forums
- Posts: 9
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Thu Oct 18, 2012 11:22 am
Re: Changing root password on Debian
Your title differs from what you are trying to do, if you actually can login with a sudo account do sudo passwd root or if you are running the root user do the passwd root .
May only if you were a bit confused on what you were trying to do. Also if you are trying to rest your password (as I'm not a big Linux fan) I'd like to suggest you to do a little googling and I'm sure you can get some faster help.
I hope my answer can help you. sudo passwd root or if you are running the root user do the passwd root .
May only if you were a bit confused on what you were trying to do. Also if you are trying to rest your password (as I'm not a big Linux fan) I'd like to suggest you to do a little googling and I'm sure you can get some faster help.
I hope my answer can help you.
May only if you were a bit confused on what you were trying to do. Also if you are trying to rest your password (as I'm not a big Linux fan) I'd like to suggest you to do a little googling and I'm sure you can get some faster help.
I hope my answer can help you. sudo passwd root or if you are running the root user do the passwd root .
May only if you were a bit confused on what you were trying to do. Also if you are trying to rest your password (as I'm not a big Linux fan) I'd like to suggest you to do a little googling and I'm sure you can get some faster help.
I hope my answer can help you.
Last edited by enghell on Mon Aug 17, 2015 5:39 pm, edited 1 time in total.
-
- New to forums
- Posts: 9
- Joined: Thu Oct 18, 2012 11:22 am
Re: Changing root password on Debian
I'm attempting to change it because I do not know it. Running init as bash should allow me to change the password after bootup correct?
I know that passwd is the command needed to change the password.
I know that passwd is the command needed to change the password.
Re: Changing root password on Debian
This link https://pve.proxmox.com/wiki/Debian_reset_root_password will actually help you, you can run a live cd of Debian plugin one from the server control panel
-
- New to forums
- Posts: 9
- Joined: Thu Oct 18, 2012 11:22 am
Re: Changing root password on Debian
That worked! Thank you very much.