Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
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.
I recently setup my computer with suse 10.0 the free downloaded version. I installed it and it seemed to go ok. it never prompted me to setup a root password or a user login. just went through the setup and finished. system starts up and goes to the login. but Doh, I have no login. is there a default username/password for linux? I've tried root:root and any other default password i could think of. nuttin works. there is some instruction i found from suse's site about cracking the root password by booting from the 1st CD then going to rescue system. type in root, no password type in cd/etc then vi passwd and change some root command string, but the setting never seems to stick when i attempt to save i. any one have any ideas?. or do i just have to blow the system away and reinstall the OS again.
Distribution: Windows XP, yup :D Will be back onto Ubuntu probably someday
Posts: 107
Rep:
Unlucky!
When in doubt, reinstall everything!! Must be a screen that asks for some password? If not, try Ubuntu. Its pretty good, GNOME based (Kubuntu KDE based). It just sets up a user account and priviledged commands are run by sudo instead of a root account. A root account can be setup by doing "$ sudo passwd root", which is what I prefer.
You can also boot into single user mode or off of a rescue disk and run the passwd command to reset root's password. If you search the forums for "lost root password" or similar you should be able to find step by step instructions.
OK I NEED HELP,
I had bought a magazine which came with a pile of linux applications, namely Linux Suse 10. I had wanted to try out and to seriously use a linux distro but had problems imaging from downloads or assembling images to use on cd's and have not yet read and memorized any commands.
You see, as I understand enough DOS to work in windows for finding files, copying, formatting, and so on. I really only want to have to poke buttons and work on graphics or 3D programs, and have a reduced startup, and have a fast system, and have a smaller footprint. So, why linux SUSE 10 ?...iT WAS ALMOST FREE!
But, it asks for a login? I will say it again...IT ASKS FOR A LOGIN!! ... all I did was install it. I did not set it up for a login, I cannnot login, it did not say you will be asked to login - here is your username and password - be carefull of the login. It did not say, as you casually expect great things for your future and humanity, YOU WILL BE LOGGING IN PLEASE PAY CLOSE ATTENTION! CHECK OUT THE LOGIN STATUS. WATCH OUT FOR THE LOGIN!!!... Now I fell uninvited, cast out and marooned. Is it my fault? Where was the warning? Do I need to be part of some world saving communirty to be given my login details,...should I pray?
Perhaps I am internalLizing this a little too much. PLEASE HELP ME, ALL I WANT IS TO LOG IN. IS IT TOO MUCH? I DON'T NEED TO KNOW WHY, REALLY. I JUST NEED TO LOG IN, THAT'S ALL, JUST LOG IN. PLEASE.
Since I don't know how much new you are to linux(more so because there is no space in 'cd/etc' above), boot into 'rescue' mode using the 1st install cd. After the system has booted and is at the login prompt, enter 'root', ENTER (nothing) for the password. At the shell prompt enter 'vi /etc/passwd'. You will see something like:
BEFORE: root:x:13119:0:99999:7:::
AFTER : root::13119:0:99999:7:::
Remove(blank) the x(or a string of characters) in the second field, save the file, repeat the same in /etc/shadow and reboot. Please read/get familiar with basic 'VI' commands before doing the above.
The thing is that SuSE 10 doesn't ask you for any username
or password. SuSE 9.2 did, but strangely enough SuSE 10 doesn't.
That installation process has three phases.
First phase:
You setup all the the basic initial configuration like language,
partitioning, if its a new installation or an update, etc.
Second phase:
You install the software. You install the first CD, the system
reboots then you install the other 4 CDs. At the end it gives
you an option to start Yast to add additional software, then
you click finish and the system reboots.
Third phase:
You setup your root password, your user account and password,
then you configure things like your ethernet card and stuff
like that.
Now the Problem is that in SuSE 10 after you end the second
phase and the system reboots it takes you straight into login
instead of the third phase of the installation.
And I tried khurdp's advice and it didn't work either, its probably
because the installation process wasn't fully completed and it
still needs further configurations.
If anyone else has any more ideas that would be very helpful.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.