Re: [newbie] root password lost
On Monday 01 November 2004 14:35, M.Schild wrote: Hi, a friend who has just tried mandrake 10 for his first time on Linux cannot remeber his root password. Any way he can retrieve it? TIA Maryse 1)Boot the box 2) when the lilo-boot menu appears hit escape 3)enter linux int 1 at he prompt and hit enter 4)Wait until mdk runs i.e. a prompt appears and type passwd 5)enter the new password when prompted. 6)Promise to NEVER hi-jack somebody else's thread again and rejoice. -- Good luck, HarM Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] root password lost
On Monday 01 November 2004 15:46, H.J.Bathoorn wrote: 3)enter linux int 1 at he prompt and hit enter that shoulde be linux init 1 , sorry. -- Good luck, HarM Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] root password lost
6)Promise to NEVER hi-jack somebody else's thread again and rejoice. Thank you and sorry about the hijack. I wasn´t aware Maryse Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] root password lost
that shoulde be linux init 1 , sorry. OK, Thanks Maryse Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
RE: [newbie] root password expired.
If someone has physical access to your computer, it's almost impossible to secure the machine for 100% Maybe encrypted partitions can do the trick (partially), but I 'm not familiar with it. Steven On Tue, 2003-06-10 at 15:00, Burrows, Scott wrote: What prevents anybody from doing this to gain access to the system? Scott -Original Message- From: Troy Davidson [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 5:04 PM To: [EMAIL PROTECTED] Subject: Re: [newbie] root password expired. Ze, Restart the computer and put it into single user mode. At either LILO or GRUB, type 'linux 1' at the prompt. Then, once the computer has started, go into a terminal and type in 'su'. You won't need to enter in a password. Type in 'userconf' and change the root password. Reboot the system and you should be all set. Troy Davidson Linux User #311107 ** This messages was composed on a 100% Microsoft free computer ** Quoting Ze Ji Li [EMAIL PROTECTED]: Hi there, My root password expired. I can't su and login from the terminals. Is there anyway I can reset it? Thank you. Ze __ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] root password expired.
Ze, Restart the computer and put it into single user mode. At either LILO or GRUB, type 'linux 1' at the prompt. Then, once the computer has started, go into a terminal and type in 'su'. You won't need to enter in a password. Type in 'userconf' and change the root password. Reboot the system and you should be all set. Troy Davidson Linux User #311107 ** This messages was composed on a 100% Microsoft free computer ** Quoting Ze Ji Li [EMAIL PROTECTED]: Hi there, My root password expired. I can't su and login from the terminals. Is there anyway I can reset it? Thank you. Ze Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Root Password
On Thu, 11 May 2000, Denis HAVLIK wrote: use SUDO. And use it sparsly, too .-) :~Anyone know anything about how to set super permissions to a user without giving them the root password, or the authority to change the root password once they are granted super user permissions. :~Thanks in advance. :~Dave Perhaps I should already know, but I don't... What is SUDO? Paul )0(---)0( Silence. Do you remember how that sounds? )0([[EMAIL PROTECTED]]-)0( http://nlpagan.net - ICQ 147208 Registered Linux User 174403
RE: [newbie] Root Password
On Thu, 11 May 2000, Ron Greer wrote: :~Two things: :~1. How to set an EXECUTABLE to run AS root: Chmod 6755 executable name :~The 6 sets the Set-UID Flag :) very bad. This gives everyone the right to run this binary as root. Better way to go is to use sudo, or at least: chown root.mygroup binary chmod 6750 binary and add the users you want to use the prog to "mygroup". :~2. How to set a USER as SUPERVISOR: Easiest way, edit /etc/passwd change :~the :~username:x:number:number:etc :~to :~username:x:0:0:etc By no means! Please, this will give the user ALL the root permissions ALL the time! This is EXTREMELY dangerous. A rm -rf / and wuuup - all is gone. cu Denis :~ -=Ron=- :~ :~ :~-Original Message- :~From: Denis HAVLIK [mailto:[EMAIL PROTECTED]] :~Sent: Thursday, May 11, 2000 10:45 AM :~To: [EMAIL PROTECTED] :~Subject: Re: [newbie] Root Password :~ :~ :~use SUDO. And use it sparsly, too .-) :~ :~:~Anyone know anything about how to set super permissions to a user without :~giving them the root password, or the authority to change the root password :~once they are granted super user permissions. :~:~Thanks in advance. :~:~Dave :~:~ :~ :~ -- - Dr. Denis Havlikhttp://www.ap.univie.ac.at/users/havlik Mandrakesoft||| e-mail: [EMAIL PROTECTED] Quality Assurance (@ @)(private: [EMAIL PROTECTED]) ---oOO--(_)--OOo-
RE: [newbie] Root Password
heheh, you're no fun. In the first instance, you are correct. The second, I was under the impression that he just basically wanted another super user, but didn't want the same name root, so that for example email to him as root doesn't go to email to another supervisor. Sorry for any confusion. -=Ron=- -Original Message- From: Denis HAVLIK [mailto:[EMAIL PROTECTED]] Sent: Friday, May 12, 2000 12:16 PM To: '[EMAIL PROTECTED]' Subject: RE: [newbie] Root Password On Thu, 11 May 2000, Ron Greer wrote: :~Two things: :~1. How to set an EXECUTABLE to run AS root: Chmod 6755 executable name :~The 6 sets the Set-UID Flag :) very bad. This gives everyone the right to run this binary as root. Better way to go is to use sudo, or at least: chown root.mygroup binary chmod 6750 binary and add the users you want to use the prog to "mygroup". :~2. How to set a USER as SUPERVISOR: Easiest way, edit /etc/passwd change :~the :~username:x:number:number:etc :~to :~username:x:0:0:etc By no means! Please, this will give the user ALL the root permissions ALL the time! This is EXTREMELY dangerous. A rm -rf / and wuuup - all is gone. cu Denis :~ -=Ron=- :~ :~ :~-Original Message- :~From: Denis HAVLIK [mailto:[EMAIL PROTECTED]] :~Sent: Thursday, May 11, 2000 10:45 AM :~To: [EMAIL PROTECTED] :~Subject: Re: [newbie] Root Password :~ :~ :~use SUDO. And use it sparsly, too .-) :~ :~:~Anyone know anything about how to set super permissions to a user without :~giving them the root password, or the authority to change the root password :~once they are granted super user permissions. :~:~Thanks in advance. :~:~Dave :~:~ :~ :~ -- - Dr. Denis Havlikhttp://www.ap.univie.ac.at/users/havlik Mandrakesoft||| e-mail: [EMAIL PROTECTED] Quality Assurance (@ @)(private: [EMAIL PROTECTED]) ---oOO--(_)--OOo-
Re: [newbie] Root Password
use SUDO. And use it sparsly, too .-) :~Anyone know anything about how to set super permissions to a user without giving :them the root password, or the authority to change the root password once they are :granted super user permissions. :~Thanks in advance. :~Dave :~ -- - Dr. Denis Havlikhttp://www.ap.univie.ac.at/users/havlik Mandrakesoft||| e-mail: [EMAIL PROTECTED] Quality Assurance (@ @)(private: [EMAIL PROTECTED]) ---oOO--(_)--OOo-
RE: [newbie] Root Password
Wow, I COMPLETELY missed this post... sorry if I'm late with an answer. Two things: 1. How to set an EXECUTABLE to run AS root: Chmod 6755 executable name The 6 sets the Set-UID Flag :) 2. How to set a USER as SUPERVISOR: Easiest way, edit /etc/passwd change the username:x:number:number:etc to username:x:0:0:etc -=Ron=- -Original Message- From: Denis HAVLIK [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 11, 2000 10:45 AM To: [EMAIL PROTECTED] Subject: Re: [newbie] Root Password use SUDO. And use it sparsly, too .-) :~Anyone know anything about how to set super permissions to a user without giving them the root password, or the authority to change the root password once they are granted super user permissions. :~Thanks in advance. :~Dave :~ -- - Dr. Denis Havlikhttp://www.ap.univie.ac.at/users/havlik Mandrakesoft||| e-mail: [EMAIL PROTECTED] Quality Assurance (@ @)(private: [EMAIL PROTECTED]) ---oOO--(_)--OOo-
Re: [newbie] Root Password
The tech support questions/answers in the May issue of Linux Journal has two ways to reset/change the root password if you forget it or loose it. On Fri, 05 May 2000, you wrote: If you lose the root password.yepso don't lose it. - Original Message - From: hopper [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 05, 2000 1:09 AM Subject: Re: [newbie] Root Password On Thu, 04 May 2000, you wrote: On Wed, 3 May 2000, David Smith wrote: Anyone know anything about how to set super permissions to a user without giving them the root password, or the authority to change the root password once they are granted super user permissions. Thanks in advance. Dave You could add the user to the ROOT group, using userconf (as root). This question is sort of along the lost password lines. If I loose the root password, am I totally screwed? Thanks, Nathan
Re: [newbie] Root Password
On Thu, 04 May 2000, you wrote: Anyone know anything about how to set super permissions to a user without giving them the root password, or the authority to change the root password once they are granted super user permissions. Thanks in advance. Dave Hi Dave. Well I'm quite new to all of this myself. It sounds as though you may have forgotten your root password and therefore want to give your user account SU privilages so as to select a new one. If this is so I think you may struggle. Before any permissions can be given you must first be in root which of course requires the password. Maybe someone knows of a hack to get round this. Good luck -- Scotchpie registered linux user: 175478
Re: [newbie] Root Password
On Thu, 04 May 2000, you wrote: On Wed, 3 May 2000, David Smith wrote: Anyone know anything about how to set super permissions to a user without giving them the root password, or the authority to change the root password once they are granted super user permissions. Thanks in advance. Dave You could add the user to the ROOT group, using userconf (as root). This question is sort of along the lost password lines. If I loose the root password, am I totally screwed? Thanks, Nathan
Re: [newbie] Root Password
If you lose the root password.yepso don't lose it. - Original Message - From: hopper [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 05, 2000 1:09 AM Subject: Re: [newbie] Root Password On Thu, 04 May 2000, you wrote: On Wed, 3 May 2000, David Smith wrote: Anyone know anything about how to set super permissions to a user without giving them the root password, or the authority to change the root password once they are granted super user permissions. Thanks in advance. Dave You could add the user to the ROOT group, using userconf (as root). This question is sort of along the lost password lines. If I loose the root password, am I totally screwed? Thanks, Nathan
Re: [newbie] Root Password
On Fri, 5 May 2000, hopper wrote: On Thu, 04 May 2000, you wrote: On Wed, 3 May 2000, David Smith wrote: Anyone know anything about how to set super permissions to a user without giving them the root password, or the authority to change the root password once they are granted super user permissions. Thanks in advance. Dave You could add the user to the ROOT group, using userconf (as root). This question is sort of along the lost password lines. If I loose the root password, am I totally screwed? No. You can boot and type "linux init 1" at the lilo boot prompt. You will be dropped in a single-user shell without being asked any password. From there, you can change root's password. But I don't think it will work with a too high level security (can someone confirm?) If it still doesn't work, you'll have to boot with a cd that a has a live system on it (like the slack or suse CD), or use a tiny distribution that hold on a few floppoes (sorry I can't remember the name). From there, you can mount your root partition, and change the etc/passwd or etc/shadow file. HTH Flupke Thanks, Nathan
Re: [newbie] Root Password
On Fri, 5 May 2000, hopper wrote: You could add the user to the ROOT group, using userconf (as root). This question is sort of along the lost password lines. If I loose the root password, am I totally screwed? Well, I know that if _I_ lose the root password, that I would be screwed. I am sure there are tricks around it, but these are still beyond me. Paul )0(---)0( Nothing is impossible for the person who doesn't have to do it himself. )0([[EMAIL PROTECTED]]-)0( http://nlpagan.net - ICQ 147208 Registered Linux User 174403
Re: [newbie] Root Password
On Wed, 3 May 2000, David Smith wrote: Anyone know anything about how to set super permissions to a user without giving them the root password, or the authority to change the root password once they are granted super user permissions. Thanks in advance. Dave You could add the user to the ROOT group, using userconf (as root). Paul )0(---)0( Those who live by the sword get shot by those who don't. )0([[EMAIL PROTECTED]]-)0( http://nlpagan.net - ICQ 147208 Registered Linux User 174403
Re: [newbie] Root Password Problem
Well, best I could do being so tired and frustrated and all. I can do better sometimes. Happy New Year 2000! B. B. John Aldrich wrote: On Wed, 29 Dec 1999, you wrote: Pine or Oak log? Thanks for the response. I'm still working other issues and seem to have lucked out fixing this one. Just enough encouragement to keep me hooked, huh? AARRRGGGHHH! That was terrible. ;-) I think LINUX is written to do that to just me. Or is it just me? Happy New Year if the world doesn't go "blooie" on us. Well, Linux is a totally different O/S and it has it's own quirks that you have to learn. :-) John
Re: [newbie] Root Password Problem
On Wed, 29 Dec 1999, you wrote: Pine or Oak log? Thanks for the response. I'm still working other issues and seem to have lucked out fixing this one. Just enough encouragement to keep me hooked, huh? AARRRGGGHHH! That was terrible. ;-) I think LINUX is written to do that to just me. Or is it just me? Happy New Year if the world doesn't go "blooie" on us. Well, Linux is a totally different O/S and it has it's own quirks that you have to learn. :-) John
Re: [newbie] Root Password Problem
Hi Ron, Well, for the moment I've got it set so shouldn't run out of space too soon. While fixing this up and continuing to learn, my Windows 98 system crashed. I logged off the net, went to bed and this morning, screen was in standby mode. Not set for that is software or BIOS, and wound up with both FAT tables corrupted. Fortunately, my emergency stuff worked, (this time anyway). LINUX box is so stable that to get it to act similarly it has to run out of disk space or I have to take a hammer to it. Now why Microsoft can't/ won't do the same is almost criminal. (My opinion is they've discovered folks will purchase something several times for minor fixes so they intentionally don't give us a finished product right off.) Well, anyway, I found some text on what you said about partitioning which went contrary to what I had used originally. Guess the gurus knowledge depends on the guru. (Actually I think the first thing I read was very old and drives up to 1 Gb were considered extreme at that time.) I'm going to have to exit this list and the expert one too and just go to the archives. I'm getting a couple of hundred emails a day and simply can't keep up. I hate that 'cuz I get so much good information not in the books and manuals. Well, that's what the archives are for. But I will keep the group address in my local address book. B. B. [EMAIL PROTECTED] wrote: From: Ronald A. Yacketta true /usr and /var even /home (if you hae users) will tend to grow faster than / /usr holds the rpm database and most generaly (not in ALL cases) all installed software /var houses your logfiles (that grow and grow and grow (especialy if you have loggng in your ipchains or firewall)) /home well thats a bit obvious, got users they got files and most users (again not ALL) are pack rats. Ron R_Yeo [EMAIL PROTECTED] on 12/28/99 01:17:21 PM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: Ronald A. Yacketta/958157/EKC) Subject: Re: [newbie] Root Password Problem On Tue, 28 Dec 1999, Toyswins wrote: I think I discovered the problem. Hinted at it the other message. My / partition ran out of space. It got weird with signing in and some other stuff, so might have something to do with it. A 347 Mb one isn't big enough. I've changed it to 1.2 Gb, and if that doesn't work, nothing will. I've got a 400 and 212 Mb drives as hdb and hdc that hold /usr, /home, swap and so forth. I do not have a direct solution for your problems, but isn't a 1.2Gb partition for / a little too big compared to the other partition? The directories under root are pretty static in terms of size. I would have thought that you would want more space in /usr or /home. (Perhaps someone more knowledgable could chip in here). -- Ronald
Re: [newbie] Root Password Problem
On Tue, 28 Dec 1999, you wrote: I think I discovered the problem. Hinted at it the other message. My / partition ran out of space. It got weird with signing in and some other stuff, so might have something to do with it. A 347 Mb one isn't big enough. I've changed it to 1.2 Gb, and if that doesn't work, nothing will. I've got a 400 and 212 Mb drives as hdb and hdc that hold /usr, /home, swap and so forth. After I play with it a while and it goes away, I'll take that as the probable cause. Yep. That would definitely do it. :-) You might want to consider checking on the size of /var/log/* and see how much space your logfiles are taking up... :-) John
Re: [newbie] Root Password Problem
On Tue, 28 Dec 1999, Toyswins wrote: I think I discovered the problem. Hinted at it the other message. My / partition ran out of space. It got weird with signing in and some other stuff, so might have something to do with it. A 347 Mb one isn't big enough. I've changed it to 1.2 Gb, and if that doesn't work, nothing will. I've got a 400 and 212 Mb drives as hdb and hdc that hold /usr, /home, swap and so forth. I do not have a direct solution for your problems, but isn't a 1.2Gb partition for / a little too big compared to the other partition? The directories under root are pretty static in terms of size. I would have thought that you would want more space in /usr or /home. (Perhaps someone more knowledgable could chip in here). -- Ronald
Re: [newbie] Root Password Problem
Well, I ran out with it at 350 Mb and that was recommended in a book I have on the topic of partition sizes. Matter of fact, most of the other partitions were either empty or close to it. Somewhere it's putting everything in / I do believe. Either way, I won't run out for a while now. Recommendation was to check the log files for their sizes. Too late since I've already repartitioned and installed. but I noted the current size and will check the log files soon to see what they're up to. Maybe they grew realy big? It's all on my "throw away" box now anyway. If I destroy it I just rebuild it and start over. It's my learning tool and I don't have to mess with other OS's on it. (I don't throw old parts away.) I made the following this time: / = 1.2 Gb /usr = 400 Mb /home and swap files on the rest of the drive space available. Drives include hda = 1.2 Gb hdb = 400 Mb hdc = 212 Mb Should be enough there to do something with. B. B. R_Yeo wrote: On Tue, 28 Dec 1999, Toyswins wrote: I think I discovered the problem. Hinted at it the other message. My / partition ran out of space. It got weird with signing in and some other stuff, so might have something to do with it. A 347 Mb one isn't big enough. I've changed it to 1.2 Gb, and if that doesn't work, nothing will. I've got a 400 and 212 Mb drives as hdb and hdc that hold /usr, /home, swap and so forth. I do not have a direct solution for your problems, but isn't a 1.2Gb partition for / a little too big compared to the other partition? The directories under root are pretty static in terms of size. I would have thought that you would want more space in /usr or /home. (Perhaps someone more knowledgable could chip in here). -- Ronald
Re: [newbie] Root Password Problem
I think I discovered the problem. Hinted at it the other message. My / partition ran out of space. It got weird with signing in and some other stuff, so might have something to do with it. A 347 Mb one isn't big enough. I've changed it to 1.2 Gb, and if that doesn't work, nothing will. I've got a 400 and 212 Mb drives as hdb and hdc that hold /usr, /home, swap and so forth. After I play with it a while and it goes away, I'll take that as the probable cause. B. B. John Aldrich wrote: On Sat, 25 Dec 1999, Toyswins wrote: I did that, and am aware of the difference in capital vice lower case. First thing I thought of, and it worked initially. I figure it's something I did and don't have a clue now what it could have been. The -19 makes sense so I'll go with that. Expert that you are...heh heh. Merry Christmas and go to bed early tonight.you stayed up late last night right? I sure did. New Puppy and all. HmmI'm no expert. :-) Just been playing with linux for almost a year now.. :-) Good luck! I'm not sure what you might have done...check and see if /root still existsif not, that might be the problem... :-) John
Re: [newbie] Root Password Problem
On Sat, 25 Dec 1999, Toyswins wrote: I just started my "experimental" Linux box and discovered that it doesn't like my password. I can go in as my alternate user, and after successfully logging in, type in "su" then the root password and it works just fine. I then changed the root password via passwd logged out and tried again. Still no luck. There was a thread earlier I think about some versions having problems in this area. I'm using Red Hat Linux 6.0, Mandrake 2.2.9-19 mdk, compiled 5/19/99 19:53 GMT. Please tell me this is a problem with my version and to go get something newer. When you do tell me this, (I hope!), where's the best place, (Red Hat Mandrake site?), and which version is stable? By the way, I understand the 2.2.9 but not the -19. What's that for? There's nothing in the HOWTOs I've been able to find on the numbering scheme that far down. Thanks and Merry Christmas to all. Now to put up my home electronic weather station Santa got me..and where was that serial cable? Hmm...have you made sure you're entering it the same way you created it? Keep in mind that upper case and lower case are different in Linux. Windows treats them the same, but Linux sees them differently. As for the -19, the way that was explained to me is that it indicates the "release candidate version." You will have several versions of kernel 2.2.9, with versious "bug fixes" and other "tweaks" but not enough to call it a different kernel version. :-) John
Re: [newbie] Root Password Problem
I did that, and am aware of the difference in capital vice lower case. First thing I thought of, and it worked initially. I figure it's something I did and don't have a clue now what it could have been. The -19 makes sense so I'll go with that. Expert that you are...heh heh. Merry Christmas and go to bed early tonight.you stayed up late last night right? I sure did. New Puppy and all. B. B. John Aldrich wrote: On Sat, 25 Dec 1999, Toyswins wrote: I just started my "experimental" Linux box and discovered that it doesn't like my password. I can go in as my alternate user, and after successfully logging in, type in "su" then the root password and it works just fine. I then changed the root password via passwd logged out and tried again. Still no luck. There was a thread earlier I think about some versions having problems in this area. I'm using Red Hat Linux 6.0, Mandrake 2.2.9-19 mdk, compiled 5/19/99 19:53 GMT. Please tell me this is a problem with my version and to go get something newer. When you do tell me this, (I hope!), where's the best place, (Red Hat Mandrake site?), and which version is stable? By the way, I understand the 2.2.9 but not the -19. What's that for? There's nothing in the HOWTOs I've been able to find on the numbering scheme that far down. Thanks and Merry Christmas to all. Now to put up my home electronic weather station Santa got me..and where was that serial cable? Hmm...have you made sure you're entering it the same way you created it? Keep in mind that upper case and lower case are different in Linux. Windows treats them the same, but Linux sees them differently. As for the -19, the way that was explained to me is that it indicates the "release candidate version." You will have several versions of kernel 2.2.9, with versious "bug fixes" and other "tweaks" but not enough to call it a different kernel version. :-) John
Re: [newbie] Root Password Problem
On Sat, 25 Dec 1999, Toyswins wrote: I did that, and am aware of the difference in capital vice lower case. First thing I thought of, and it worked initially. I figure it's something I did and don't have a clue now what it could have been. The -19 makes sense so I'll go with that. Expert that you are...heh heh. Merry Christmas and go to bed early tonight.you stayed up late last night right? I sure did. New Puppy and all. HmmI'm no expert. :-) Just been playing with linux for almost a year now.. :-) Good luck! I'm not sure what you might have done...check and see if /root still existsif not, that might be the problem... :-) John
Re: [newbie] Root Password
On Wed, 22 Sep 1999, Joseph S. Gardner wrote: Some of the other OS's I've worked with (VMS - shudder) allow the administrator to require 2 passwords to access the admin. account. It was very handy to be able to prevent outside forces from guessing logins - in the event of a "break in" the hack didn't already have half of the login sequence. Is there something similar in linux? Sure - you cannot telnet in as root. To "work" remotely, you need a normal user account and then you can su to root. LLaP bero -- Tired of waiting for Windows 2000? STOP WAITING! http://www.ms-windows-2000.com/