Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
su works, but not sudo install...
su works, but not sudo install...
hello everyone! first of all my apoligies if this topic already have been handled ,or if i also have posted it in the wrong group.
i try to make it short! i can use the su command to allow myself to become root user. now when im at the terminal and as my regular user i do type : sudo apt-get install synaptic
it ask for my root password and it wont aceppt it. i get the error sorry try again. how ever it does seem to aceppt the command su and then makes me a root user. but why on earth wont it aceppt the password when using the sudo command? i'd be thankful for any advice or critic i can get from you guys . btw im on debian stretch kde . cheers!
i try to make it short! i can use the su command to allow myself to become root user. now when im at the terminal and as my regular user i do type : sudo apt-get install synaptic
it ask for my root password and it wont aceppt it. i get the error sorry try again. how ever it does seem to aceppt the command su and then makes me a root user. but why on earth wont it aceppt the password when using the sudo command? i'd be thankful for any advice or critic i can get from you guys . btw im on debian stretch kde . cheers!
Re: su works, but not sudo install...
Are you sure ?xastunts wrote:it ask for my root password
Try with your user password.
+ what report this:
Code: Select all
id
-
- Posts: 38
- Joined: 2017-04-21 09:38
Re: su works, but not sudo install...
In order to use sudo you have to type your user password, not the root password, that's the difference in security.
and you're done.
Code: Select all
sudo synaptics
// type your password
ⵉⵎⴰⵣⵉⵖⴻⵏ / imaZighen
Re: su works, but not sudo install...
the lord of light has told me a lesson!! YES!! i used my user password and not my root password this time and it worked. one more thing about this now. should i change my sudo password to something else then my user password if not using the root as my sudo password? is there any advantages or disadvantages in doing so? thousands of thanks for your help guys! much appriciated.
Re: su works, but not sudo install...
Let's think two minutes...
Can you imagine a system administrator giving his own password to ALL users ??????
I hope not.
root and user password should be different, to force you think about what you do.
Can you imagine a system administrator giving his own password to ALL users ??????
I hope not.
root and user password should be different, to force you think about what you do.
-
- Posts: 38
- Joined: 2017-04-21 09:38
Re: su works, but not sudo install...
You can't change your sudo password, since it doesn't exist, your sudo password is the same as your user password.
And you should not use the root account for security reasons, that's why sudo exists.
And you should not use the root account for security reasons, that's why sudo exists.
ⵉⵎⴰⵣⵉⵖⴻⵏ / imaZighen
Re: su works, but not sudo install...
What ?
I have a different root and user password, ... because I have a "real" root account created during installation.
If not, it's a kind of "ubuntu" mode / may be your & xastunts configurations. Don't know.
I have a different root and user password, ... because I have a "real" root account created during installation.
If not, it's a kind of "ubuntu" mode / may be your & xastunts configurations. Don't know.
-
- Posts: 38
- Joined: 2017-04-21 09:38
Re: su works, but not sudo install...
You don't have to worry about the root user, just give it a good password and forget about it, all you will use is your user account, with sudo.
ⵉⵎⴰⵣⵉⵖⴻⵏ / imaZighen
Re: su works, but not sudo install...
@imazighen-thamzgha
When you boot Debian in single mode (kernel option), the root password will be requested for system administration.
Which one do you give ? Your user password ? If there are 5 users who are sudoers, how it works ???
I think it is much more confusing without root account.
I don't remember how it works in Ubuntu which is a bit specific, and I always have had a root account created during netinstall in so called "expert" mode.
When you boot Debian in single mode (kernel option), the root password will be requested for system administration.
Which one do you give ? Your user password ? If there are 5 users who are sudoers, how it works ???
I think it is much more confusing without root account.
I don't remember how it works in Ubuntu which is a bit specific, and I always have had a root account created during netinstall in so called "expert" mode.
-
- Posts: 38
- Joined: 2017-04-21 09:38
Re: su works, but not sudo install...
You just get prompted for the username and password, and you just have to type your username and password, plain and simple.
ⵉⵎⴰⵣⵉⵖⴻⵏ / imaZighen
Re: su works, but not sudo install...
For a boot in single mode, then for pure system administration, The "username" means nothing if there are 10 users, especially if "sudo" is not loaded.imazighen-thamzgha wrote:You just get prompted for the username and password.
Last edited by L_V on 2017-10-15 14:58, edited 1 time in total.
-
- Posts: 38
- Joined: 2017-04-21 09:38
Re: su works, but not sudo install...
how in the?? you're confusing me, what is your problem right now?
ⵉⵎⴰⵣⵉⵖⴻⵏ / imaZighen
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: su works, but not sudo install...
In BunsenLabs we have the root account locked as standard and I would always advise users to boot with the init=/bin/bash kernel parameter for a passwordless root shell, although rescue from our "live" image is almost always preferable because graphical browser.L_V wrote:For a boot in single mode, then for pure system administration
But imazighen-thamzgha is right, this is off topic.
deadbang
Re: su works, but not sudo install...
I don't have any with a root account. The confusion is when you do not have a root account.imazighen-thamzgha wrote:how in the?? you're confusing me, what is your problem right now?
First post is from xastunts which has had a problem.
I just explained to xastunts that the password requested by sudo is not the root one, but the user one, assuming the user is a sudoers, which can be checked by the user himself.
Code: Select all
id
-
- Posts: 38
- Joined: 2017-04-21 09:38
Re: su works, but not sudo install...
Am sorry mate I have this problem with focusing, I actually thought you were the OP, sorry, peace.
ⵉⵎⴰⵣⵉⵖⴻⵏ / imaZighen
Re: su works, but not sudo install...
thank you guys for all your answers! i really appreciate it alot. i have install debian 9 with the expert install and choosen not to login as root. so i use the su command to become god in linux =P
Re: su works, but not sudo install...
also could i perhaps ask you guys another question right here or is it against the rules, and am i asked to create a new thread instead? its regarding synaptic package manager. that i cant find much in the searches so i probably need to add som repositories? for example it should be able to find a comman app like skype with the right settings am i right?
-
- Posts: 38
- Joined: 2017-04-21 09:38
Re: su works, but not sudo install...
Create another thread.
and
if you have the right sources
and
Code: Select all
sudo apt-get update
ⵉⵎⴰⵣⵉⵖⴻⵏ / imaZighen
Re: su works, but not sudo install...
thank you budd! im trying to install vuze from a tar.bz2 file . lets say its not like using winzip on windows hahah
Re: su works, but not sudo install...
common only for users of microsoft products.xastunts wrote:it should be able to find a comman app like skype