[SOLVED] Password in Debian Installation WILL NOT CHANGE.....
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Unless that distro sets up the first user added to the system as admin account therefore giving that first user root privages via sudo
Id have to copy/paste the way it is worded in the Debian install but it almost sounds like that.....cant be sure untill my next install attempt....
step one establish network connection then update system, while waiting for that to get done
If i am following your logic this is step two. but sumantics aside network connectivity is already established as I am using a net install....
then update system, while waiting for that to get done
did not update more than what the netinstall provided. however am still not able to login. which is step one or zero depending on semantics....
edit /etc/sudoers using either visudo or nano or what ever text editor you know how to use. if you use visudo better know the commands to edit, save and exit vi.
Dont i need to be root to do this....the rest would follow suit...correct...?
add your user to the sudo or wheel group dependning on how you want to set it up.
you can either set up the sudo user to have to use a password or NOT have to use a password when issing system admin commands or working on the system side of the OS.
after that it anyones guess on what to do al depending on what that user wants to do with his or her box.
enjoy.
NET INSTALL is a completely different world. network connections already established as you said so yeah skip that, and everything should already be the latest and greatest because you've install off of their repos so skip it.
Netinstall Debian ohh now you're testing my memory. hold on let me think...
when I did a network install (years ago with debian) that is when I actaully seen the option to add a root account. they may have changed it by now, maybe not. but you have stated that you had 'time' for root and 'username123' for user as passwords.
Me what I do is use the same password for both because no one but me uses this laptop. then set up my user to wheel group (that has sudo permissions) with no password. so I can get root privages to shut down, reboot via whatever wm/de I am using, and in term just write sudo reboot, or sudo halt, to shutdown, (or press my power button) and do whatever without the use of a password while in my account. But that is me, I can deal with it.
I think the thing that is stumping everyone is why you're password is not working ...
when ever you're using sudo / su / su - it is ALWAYS the root password no matter what
if you opt to NOT have a root account wtih debian then yes from what I remember root privages go to the first user created having to use sudo with the ROOT password. (while should be the user passsword, seeings how you're only adding one password, I do not have VB installed to install debian to refresh my memory by going through the steps to see exactly how debain is doing it, but that is the norm when dealking with Debian, and others like them.
the first user gets root prvages through sudo. if it does not then the best way would be like suggested just use su (root pass word) if you type in two seperate pass words while isntalling then try that first password first if that fails then reinact everything ie issues the commands and again then try that other password net, if that caile then
you know what issue in term
cat /etc/group
and look for sudo and see what user name is attched to it if any, and or wheel, but with Debain it is most likely the group called sudo.
It's kind of amusing that you're trying to give advise based on fuzzy memories of an outdated versions of Debian, but it seems to just be confusing the original poster.
I use Debian 8 Jessie every day. I always use "su" whenever I need to do an administrative task. I NEVER use sudo. It simply is not necessary, nor is it even desirable unless you know what you're doing.
Not only do I know like the back of my hand what a fresh Debian 8 install is like (I have done several in the last few weeks alone), I run Debian 8 systems so I can test any advice first hand.
A netinstall is a plain old boring Debian 8 install. It is the usual way to do a Debian 8 Jessie install. By default, you give the installer the root password, a regular userid, and that regular user's password. At this point, it is absolutely possible to log into the Debian system and to use "su" from a regular user login to log in as root.
This has NOTHING to do with "sudo". Nothing at all to do with "sudo". I never have to type the word "sudo", nor do I want to.
I would recommend to reinstall Debian 8 Jessie, and just try to log in as root using "su". Never type the word "sudo". If you think about trying to type in "sudo", think again. Just don't do it, because you're confusing yourself.
AFTER you figure out what you're doing, then you can optionally use "visudo" to add a user to the sudoers file.
It's kind of amusing that you're trying to give advise based on fuzzy memories of an outdated versions of Debian, but it seems to just be confusing the original poster.
I use Debian 8 Jessie every day. I always use "su" whenever I need to do an administrative task. I NEVER use sudo. It simply is not necessary, nor is it even desirable unless you know what you're doing.
Not only do I know like the back of my hand what a fresh Debian 8 install is like (I have done several in the last few weeks alone), I run Debian 8 systems so I can test any advice first hand.
A netinstall is a plain old boring Debian 8 install. It is the usual way to do a Debian 8 Jessie install. By default, you give the installer the root password, a regular userid, and that regular user's password. At this point, it is absolutely possible to log into the Debian system and to use "su" from a regular user login to log in as root.
This has NOTHING to do with "sudo". Nothing at all to do with "sudo". I never have to type the word "sudo", nor do I want to.
I would recommend to reinstall Debian 8 Jessie, and just try to log in as root using "su". Never type the word "sudo". If you think about trying to type in "sudo", think again. Just don't do it, because you're confusing yourself.
AFTER you figure out what you're doing, then you can optionally use "visudo" to add a user to the sudoers file.
Kind of funny huh you like calling me stupid in a round about way...
if you know anything everything I said is basic
pass words and sudo and su and su -
cat /etc/groups
how Debain has their system set up it is still no different ROOT passwors ALWAYS for sudo su , and su -
Period
how Debian does their root on install is something that could have changed that does not change how the root password works with su, su - or sudo PERIOD so it does not matter if it is fuzzy memories or not '
you obviously do not actually understand some basics in using GNU/linux only Debian, to not see that in what I wrote. else you'd not be mocking me...
just because you NEVER use sudo does not make your way the best way to operate the system admin
I go into the ROOT account at times so I do not even use su, or su - or sudo .. ohh wo wo wo .. bypassing your I only use su Never do I use sudo so you too should be just like me because I am full of myself way of life.
their is more than one way to skin a cat.
furthermore wise ass you obviously didn't see me reference to use su like is was suggested either....
and screw visudo I never use that I have no need of it period but that does not mean I tell others to never use it. if you know what you're doing then nano or other text editor will do just fine as well.
Quote:
AFTER you figure out what you're doing, then you can optionally use "visudo" to add a user to the sudoers file
two that is not how you add a user to the sudo group either. Get it right, that is just activating the sudo group. you add the user to the group and set up the group in the sudoers file.
Quote:
If you think about trying to type in "sudo", think again. Just don't do it, because you're confusing yourself.
it does not confuse me, you're must be referring to yourself seeings how you're so committed in not typing sudo? when you actually did type sudo.
maybe you meant use you do not use the program sudo because it confuses you even though all it does is allow certain (assinged) users limited to full root privileges, depending on how it is set up in the sudoers file. it too can even be set up to NOT even have to use a password when using sudo, like I do. thus emiminating the need to have to type a password when using sudo in my user account.
but that is a GNU/linux not a exclusive Debain only option. but you knew that didn't you?
Distribution: What ever will load on the machine I happen to be working on....
Posts: 49
Original Poster
Rep:
ok, when you guys are done fighting, flaming or what ever the hell it is you are doing.....
I sure hope you know each other and this is just friendly banter between the two of you, I hate it when folks fight over me......gezzzz.....
btw i tried "just using su..............it didnt work either, which is why im still here still scratching my GD head............
and i have done i cant count how many f-ing installs of this and I cannot get it to work.....and trust me I read and read and read and read.....for like 2 weeks before I even tried
the first time.......I installed Ubuntu worked........didnt like it........installed mint........worked...not a server.......was advised Debian would be my friend......bastard lied to me.....
What kind of a tech would I be, and how would my peers garner ANY RESPECT for me at all if I just threw my hands in the air and fucking walked away NOW....!!!
NOW, I gotta get it to work, AND I gotta know WHY, it went south on me, WHERE it went south, and HOW it went south.....
So that I too can sit back all smug, like the silent others who are undoubtidly reading this, and wait for that perfect moment to throw everyone else under the bus and say hey did you try x-y-z yet......and wow everyone with my answer and wisdom.....
untill then im gonna fight this bitch till i get it .............
Thanks for hanging in there with me..........if someone has enough balls Isaac, lets do an install step by step together......you say when......put your $$$ where your fingers type.....
If you want help with a Debian Jessie install, you could listen to someone who actually has used Debian Jessie and who is familiar with how to do things with Debian Jessie.
I don't care how smart or stupid you are, it's not a question of smarts. It's a question of experience and familiarity with a particular system. If you have a fresh install of Debian Jessie then it's going to be set up and configured the Debian way by default - not how some random person likes to customize things and not how some other GNU/Linux distribution does things by default (Ubuntu in particular, which is a source of confusion).
If you'd rather do things the Ubuntu way, then do a fresh install of Ubuntu or an Ubuntu based distribution. Nothing wrong with that, millions of people do. Heck, I use Ubuntu for my own azure VM. It gives me direct experience in some of the subtler differences between how Ubuntu does things vs how Debian does things. But it has been years since I have done an Ubuntu install on metal in front of me, so I don't pretend to offer expert advice on installing Ubuntu (the process for doing so on an azure VM is radically different).
If you just plain want to use sudo, then it takes work to get to use sudo in Debian. In Debian, sudo does practically nothing out-of-box. But it takes no work to use sudo in Ubuntu. In fact, in Ubuntu, you are forced to use sudo out-of-box.
Distribution: What ever will load on the machine I happen to be working on....
Posts: 49
Original Poster
Rep:
ISAAC, I only WANTthis install to work and to figure out why the hell it went wrong on me this many times, this is why I invited you to do a side by side install with me........
Im on my windows machine right now, I would be happy to do a screen share/zoom meeting/something with you and step through this together to trouble shoot me or what ever the hell the problem is.......
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.