LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-15-2021, 01:13 AM   #1
perfectjusticex
LQ Newbie
 
Registered: Dec 2021
Posts: 5

Rep: Reputation: Disabled
How do I retrieve the default password for super user in Deepin 20.3?


Deepin OS requests for 'sudo' password but doesn't accept my user password in Terminal when 'sudo' is in the description.How do I retrieve or create (a)the default root or super user password in Deepin OS 20.3?
 
Old 12-15-2021, 01:37 AM   #2
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Typically during installation the Debian installer will ask if you want to use shadow passwords, create a root account, create a regular user.

If you created a root account (How do I retrieve) during installation chances are your user is not in the sudoers group. As such when you use sudo and enter a password it typically barks at you telling you you're not in the sudoers group and will rat you out to the administrator, pretty nasty I know.....

I believe there's no way to retrieve the root password, just change it if a root account exists. If you don't get the nasty attitude when using sudo, chances are you don't have a root account.

Quote:
doesn't accept my user password in Terminal when 'sudo' is in the description
What happens after you enter your password exactly?
 
Old 12-15-2021, 01:41 AM   #3
perfectjusticex
LQ Newbie
 
Registered: Dec 2021
Posts: 5

Original Poster
Rep: Reputation: Disabled
Nothing,just the continues blinking of the cursor as if my keypads aren't working.
 
Old 12-15-2021, 01:45 AM   #4
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Quote:
jo@Willy:~$ groups
jo cdrom floppy audio dip video plugdev netdev bluetooth lpadmin scanner
I have a root account, as such "sudo" is not listed in the groups I belong to. Does sudo show up for you?
 
Old 12-15-2021, 01:53 AM   #5
perfectjusticex
LQ Newbie
 
Registered: Dec 2021
Posts: 5

Original Poster
Rep: Reputation: Disabled
Unhappy

''[sudo] password for j******: ''_ appears whenever I try to run a command yet nothing appears when I input password.How do I create a root or super user account. Deepin Installed directly without asking me for this.

Last edited by perfectjusticex; 12-15-2021 at 01:55 AM.
 
Old 12-15-2021, 01:55 AM   #6
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Code:
sudo passwd root
For those with a sudo account, the above code will create a root password.
 
Old 12-15-2021, 01:57 AM   #7
perfectjusticex
LQ Newbie
 
Registered: Dec 2021
Posts: 5

Original Poster
Rep: Reputation: Disabled
It appears I don't have a sudo account. How do I acquire one now?
 
Old 12-15-2021, 02:09 AM   #8
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Normally I don't do this for newbies, security issues.
But you can use a search engine as such you'll eventually find something like this.
Reboot and hit the "e" key at the grub menu (might need to hit advanced options first), you'll get the grub menu entry, change the 'linux' line to something similar to the second example below:
Code:
linux	/boot/vmlinuz-5.15.0-2-amd64 root=UUID=a0bd1245-1dd1-4d30-836c-3b9c6c280349 ro  quiet
linux	/boot/vmlinuz-5.15.0-2-amd64 root=UUID=a0bd1245-1dd1-4d30-836c-3b9c6c280349 rw  init=/bin/bash
Then hit the F10 key to boot, you'll be in single user admin mode, type command: passwd to enter new root password, you'll be prompted to enter it again to confirm. Then enter command: systemctl reboot

Last edited by Brains; 12-15-2021 at 02:27 AM.
 
Old 12-15-2021, 02:15 AM   #9
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Quote:
Originally Posted by Brains View Post
Typically during installation the Debian installer will ask if you want to use shadow passwords, create a root account, create a regular user.
OP said Deepin not Debian.

Evo2.
 
Old 12-15-2021, 02:18 AM   #10
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Deepin is Debian Stable with it's own custom DE
 
Old 12-15-2021, 02:27 AM   #11
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Quote:
Originally Posted by Brains View Post
Deepin is Debian Stable with it's own custom DE
Sorry, thought you'd just misread.

Do you know if the tweak much in the background? I'm always wary that "User Friendly" derivatives do weird stuff that invalidates much of what I know about the base distro.

Cheers,

Evo2.
 
Old 12-15-2021, 02:32 AM   #12
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Quote:
Originally Posted by evo2 View Post
Sorry, thought you'd just misread.

Do you know if the tweak much in the background? I'm always wary that "User Friendly" derivatives do weird stuff that invalidates much of what I know about the base distro.

Cheers,

Evo2.
You have to install some virtual software and give the Debian derivatives a run to answer that one, there are literally hundreds of Distros based on Debian. Ubuntu is based on Debian and there's some Duvian or something which is based on Ubuntu but adds more Debian or something... Some weird Debian Loop is all that is, just install Debian if you like it so much you need to change Ubuntu back to Debian.
 
Old 12-15-2021, 02:50 AM   #13
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Quote:
Originally Posted by Brains View Post
You have to install some virtual software and give the Debian derivatives a run to answer that one,
I'm defenitly not interested enough to do that! Just thought you may have some additional insight into Deepin that might indicate if I would be likely to be able to help OP.

Quote:
Originally Posted by Brains View Post
there are literally hundreds of Distros based on Debian.
There are many.

Quote:
Originally Posted by Brains View Post
Ubuntu is based on Debian and there's some Duvian or something which is based on Ubuntu but adds more Debian or something...
I'd say that Ubuntu is the derivative that I'm most familiar with. I even recommend it to some people. I guess you're referring to Devuan
which was created when Debian moved to systemd.

Quote:
Originally Posted by Brains View Post
Some weird Debian Loop is all that is, just install Debian if you like it so much you need to change Ubuntu back to Debian.
Hmm, not sure I follow.

Evo2.
 
Old 12-15-2021, 02:54 AM   #14
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
When I first read this Devuan's lowdown when it first come out I instantly went into LOL, LOL, LOL
Because that's what I remember, based on Ubuntu but want to be more like Debian, next generation will probably be pure Debian with different package manager or something to set it apart.
 
Old 12-15-2021, 02:58 AM   #15
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Maybe it's a different distro, but there is a Debian Loop out there...LOL!

Most likely the outcome of a deal:
If you want to use some of our Ubuntu tech in your distro you have to claim it is based on Ubuntu

Last edited by Brains; 12-15-2021 at 03:15 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Deepin 2014 Alpha – Be ready to embrace the New Deepin cxbii Linux Deepin 6 11-17-2014 08:06 PM
what is default password for 'su' user in deepin 14 ? aman766 Linux Deepin 2 08-04-2014 12:40 PM
LXer: Linux Deepin needs your help with the Deepin Localization Project LXer Syndicated Linux News 0 12-02-2013 10:41 PM
LXer: Use Linux Deepin Screenshot Tool "Deepin Scrot" In Other Linux Distributions LXer Syndicated Linux News 0 03-13-2012 05:50 AM
Super user—yes! Super Cow? vyver Ubuntu 10 10-24-2010 07:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration