PDA

Επιστροφή στο Forum : προβλημα με linux



sofaki
17-10-08, 19:11
Γεια σας παιδιά!!!τι κανετε?
Λοιπόν ,μου έφεραν ένα laptop για επισκευή ,με το εξής πρόβλημα:
το λειτουργικό του συστημα ειναι linux!καθώς ανοιγει γράφει στην οθόνη ubunda κ μου ζητάει username-password.΄΄Αυτος που τον εχει εχει ξεχασει τουσ κωδικούς.Πως θα μπορέσω να τα παρακαμψω αυτα και να ανοιξω τον υπολογιστη??:bored:
help .....:confused1:

chip
17-10-08, 19:21
δεν ξέρω καθόλου από linux...
όμως πρόσεξε μήπως δεν είναι δικό του το PC και είναι είτε κλεμένο είτε ανήκει σε άλλον και θέλει να δει τα αρχεία και βρεθείς μπλεγμένη...!

hukgys
17-10-08, 19:43
είμαι νέος στα Linux αλλά από αυτά που ξέρω user name και password ζητάει πάντα και στην εκίνηση και σε όποιαδηποτε εφαρμογή κάτι σαν τα vista που ζητάν συνεχώς έγκριση administrator
οπόταν θα συμφωνίσω με το προιγούμενο γιατί δεν μπορείς να κάνεις τίποτα χωρίς αυτά
περισσότερα δεν γνωρίζω γιατί τώρα τα μανθένω

PiCBuRn3r
17-10-08, 19:54
Θα βάλεις το laptop να μπουτάρει από ένα linux live cd, θα κάνεις mount το rootfs του δίσκου του laptop και είτε θα τροποποιήσεις το αρχείο /etc/shadow, είτε θα αλλάξεις το password με chroot είτε θα μπουτάρεις το laptop χωρίς live cd αλλά σε single user mode (recovery δεν θυμάμαι τι γράφει στον grub των ubuntu).

Ένας πολύ καλός οδηγός για το πρόβλημά σου είναι αυτός (http://linuxgazette.net/107/tomar.html).

sofaki
18-10-08, 00:27
Δεν εχω κανενα cd ....προσπαθω να βγάλω ακρη μεσα απο το μενου ...αλλα τπτ:saad:

manos_3
18-10-08, 00:43
Σοφία,χωρίς CD δεν γίνεται.Μόνο εάν βρεις ένα άλλο CD και να τον Fορμάρεις...

PiCBuRn3r
18-10-08, 04:39
Δεν χρειάζεται ούτε cd ούτε να "φορμάρει" τίποτα.... Απλά να προσθέσει στο kernel command line το " init=/bin/su". Μετά όταν φτάσει στο cmd line πατάει "mount / -o remount,rw", "passwd" δίνει τον καινούργιο κωδικό, "reboot" και έτοιμο. :D

^Active^
21-10-08, 17:59
Και για πες μας πως θα αλλαξει των kernel χωρις να εχει προσβαση?

PiCBuRn3r
21-10-08, 21:58
Λοιπόν ούτε θέλω να το παίξω έξυπνος, μόνο να βοηθήσω ήθελα... Τέσπα.
Δεν είπα να αλλάξει τον kernel, απλά να προσθέσει στο command line του kernel το
'init=/bin/su'. Όλα σχεδόν τα καινούργια linux dist έχουν σαν bootloader από default τον grub, ο οποίος έχει επιλογή για αυτή την προσθήκη.

Κοιτάξτε λίγο και το link που έδωσα! Τόσες λύσεις έχει μέσα...
http://linuxgazette.net/107/tomar.html

dovegroup
21-10-08, 23:33
Λοιπόν ούτε θέλω να το παίξω έξυπνος, μόνο να βοηθήσω ήθελα... Τέσπα.
Δεν είπα να αλλάξει τον kernel, απλά να προσθέσει στο command line του kernel το
'init=/bin/su'. Όλα σχεδόν τα καινούργια linux dist έχουν σαν bootloader από default τον grub, ο οποίος έχει επιλογή για αυτή την προσθήκη.

Κοιτάξτε λίγο και το link που έδωσα! Τόσες λύσεις έχει μέσα...
http://linuxgazette.net/107/tomar.html

Καλησπέρα & Ολόσωστος...:thumbup1::thumbup1::thumbup1:...

Το παρακάτω θα βοηθήσει το Σοφάκι με steps καλή επιτυχία...

Συγγνώμη για τα αγγλικά αλλά ετσι πρέπει για καλύτερη κατανόηση των βημάτων.

How to change a User's or ROOT's Password (before Booting):

To Log in in your Ubuntu, simply use your "user name" (you gave during the installation) & the "password" (you specified at that time).


If you have Forgotten your User's "password":

What?
You forgot your password?
What are you going to do now?
You can't reinstall; you have all your critical files on your machine!

No big deal.
Don't sweat it.
You can change your password very easy.


There are two ways to go on this:

1. To Change your current User's Password:

a. Restart Ubuntu in Recovery Mode.
To do this, Boot up your computer & when you see the screen that says
"Press ESC to enter grub", press "ESC" (the Escape Key) as soon as you can.

b. Now you should see a Menu with many options.
Use the arrow keys to navigate & select the newest Kernel (the one with the
highest number) that has "(Recovery Mode)" written next to it.

c. Press the key named "Enter" (return) & your System will Boot and will take
you to the Command Line (the bash Shell's $ or # prompt).

d. Type:

passwd username

e. A window will launch & will ask you to enter your "New UNIX Password".
Enter your NEW "password".

f. Then Reboot your Ubuntu (by typing "reboot" or "shutdown -r now") & Log in
with your "username" & the NEW "password" you specified.

2. To Create a NEW User Account:

a. Restart Ubuntu in Recovery Mode.
To do this, Boot up your computer & when you see the screen that says
"Press ESC to enter grub", press "ESC" (the Escape Key) as soon as you can.

b. Now you should see a Menu with many options.
Use the arrow keys to navigate & select the newest Kernel (the one with the
highest number) that has "(Recovery Mode)" written next to it.

c. Press the key named "Enter" (return) & your System will Boot and will take
you to the Command Line (the bash Shell's $ or # prompt).

d. Type:

useradd -m new_user_name

e. Type:

passwd new_user_name

f. Enter the NEW User's Password twice.

g. Then Reboot your Ubuntu (by typing "reboot" or "shutdown -r now") & Log in
with your NEW "username" & "password" you specified.


IF Ubuntu does NOT let you type ANY of the above commands & requests a ROOT Password, do the following:

Note:
By default, there is NO "root" Password in Ubuntu (the ROOT Password is NOT
set).
Once you Set a ROOT Password in Ubuntu, it requires it when you are in the
"Recovery Mode".
You can use an Ubuntu Install CD to Reset the ROOT Password.

1. Insert the Install CD & at the CD Boot Prompt, type:

rescue

2. Follow the instructions & when you are in the "Terminal", type:

passwd root

3. Enter the ROOT Password twice in there & Add a NEW User account with:

adduser

4. Enter your NEW User info & when your finished, type:

adduser your_new_user_name admin

Note:
This is performed so that the NEW User can access System Tools as ROOT.

5. Then remove your InstallCD, Reboot your Ubuntu (by typing "reboot" or
"shutdown -r now") & Log in with your NEW User account.

^Active^
22-10-08, 13:38
Οποτε τελικα καταληγουμε οτι θελει cd του Ubuntu γιατι δεν υπαρχει περιπτωση να εχει αφησει των root χωρις password καποιος που εγκατεστησε Ubuntu ... αλλα ποτε δεν ξερεις..:lool: