fluxbuntu admin prob

There are many different operating systems; which one will you choose?

fluxbuntu admin prob

Post by deathwillcome800 on Thu Jul 19, 2012 4:56 pm
([msg=68174]see fluxbuntu admin prob[/msg])

Hello i bought a computer off-line and he never told me that there was a admin password and i cant figure it out
I made my own account i know how to do that but now i cant even install a browser because i found the user scott and i cant do anything unless i have the admin password of scott so what i really need help in is and i googled it up and every thing

-to find his password some how

and thats it so i would love some help thank you for you reading this have a nice day X)
Dont dis the noobs you where 1 of them before
Image
User avatar
deathwillcome800
Experienced User
Experienced User
 
Posts: 71
Joined: Fri Mar 16, 2012 1:04 pm
Location: germany
Blog: View Blog (0)


Re: fluxbuntu admin prob

Post by ghost107 on Thu Jul 19, 2012 5:10 pm
([msg=68175]see Re: fluxbuntu admin prob[/msg])

You could, just format the drive and install an fresh OS over it, but if you want to get the admin pass you will not gonna get it, but you could just boot the os in runlevel 1(Single-User Mode)

Edit the GRUB kernel Boot and add "single" and "init=/bin/bash" without quotes at the end, after it booted into a the shell mode just write "passwd" without quotes and change the root password

Usually passwords are stored in /etc/passwd, /etc/shadow.
ghost107
Poster
Poster
 
Posts: 132
Joined: Wed Jul 02, 2008 7:57 am
Blog: View Blog (0)


Re: fluxbuntu admin prob

Post by deathwillcome800 on Thu Jul 19, 2012 5:39 pm
([msg=68177]see Re: fluxbuntu admin prob[/msg])

ammm would you like to give me a tutorial on that lol im sorry idk how to use linux that much i used windows my whole life (8/
Dont dis the noobs you where 1 of them before
Image
User avatar
deathwillcome800
Experienced User
Experienced User
 
Posts: 71
Joined: Fri Mar 16, 2012 1:04 pm
Location: germany
Blog: View Blog (0)


Re: fluxbuntu admin prob

Post by ghost107 on Thu Jul 19, 2012 6:28 pm
([msg=68178]see Re: fluxbuntu admin prob[/msg])

On system bootup you you will see the GRUB loading screen:
http://img705.imageshack.us/img705/6326/pic1za.png

Select the option to boot normally and press "e"to edit the boot options:
http://img26.imageshack.us/img26/1406/pic2sr.png

Then you select the kernel and press "e" to edit
http://img440.imageshack.us/img440/5513/pic3dm.png

Remove any other boot stuff in plus(quiet, splash ) and add "single init=/bin/bash"(bash, sh, csh, etc) at the end, and press ENTER.
http://img38.imageshack.us/img38/8056/pic4ig.png

Then press "b" to boot:
http://img444.imageshack.us/img444/1821/pic5e.png


When you get to root@bash#, you have root access to the system but in read only mode so you will have to remount the drive as read and write
Code: Select all
mount -n -o remount,rw /

Make a copy of /etc/shadow and /etc/passwd
Code: Select all
cp /etc/shadow /etc/shadow.bak
cp /etc/passwd /etc/passwd.bak


Then you can change pass word by calling passwd
Code: Select all
passwd root


Reboot, let it load normally, All done

For lilo its much easier:
Code: Select all
boot:Linux init=/bin/bash

And do the steps above when you get to root@bash#
Last edited by ghost107 on Thu Jul 19, 2012 6:36 pm, edited 3 times in total.
ghost107
Poster
Poster
 
Posts: 132
Joined: Wed Jul 02, 2008 7:57 am
Blog: View Blog (0)


Re: fluxbuntu admin prob

Post by deathwillcome800 on Thu Jul 19, 2012 6:29 pm
([msg=68179]see Re: fluxbuntu admin prob[/msg])

thank you ghost hehe your really help ful most people are like fuck that but hey. thanks X)
Dont dis the noobs you where 1 of them before
Image
User avatar
deathwillcome800
Experienced User
Experienced User
 
Posts: 71
Joined: Fri Mar 16, 2012 1:04 pm
Location: germany
Blog: View Blog (0)


Re: fluxbuntu admin prob

Post by limdis on Thu Jul 19, 2012 6:37 pm
([msg=68180]see Re: fluxbuntu admin prob[/msg])

@ghost107 +1 good sir
"The quieter you become, the more you are able to hear..."
"Drink all the booze, hack all the things."
User avatar
limdis
Moderator
Moderator
 
Posts: 1414
Joined: Mon Jun 28, 2010 5:45 pm
Blog: View Blog (0)



Return to Operating Systems

Who is online

Users browsing this forum: No registered users and 0 guests