Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This 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!


  Search this Thread
Old 05-09-2010, 05:50 PM   #1
LQ Newbie
Registered: May 2010
Location: littleton colorado
Distribution: ultimate
Posts: 1

Rep: Reputation: 0
Unhappy cant login

after i load slackware 13.1 and reboot it comes up with .welcome to linux (tty1) then darkstar login. what do i use for login and password. ron
Old 05-09-2010, 05:56 PM   #2
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
your username and password
Old 05-09-2010, 06:40 PM   #3
Registered: Jul 2008
Distribution: Slackware
Posts: 124

Rep: Reputation: 31
first login as root

If you have just installed Slackware, you may not have created any users. In past versions, the first login required me to log in as "root" with no password.

Once you are logged in, your first order of business should be to set a password for root. Even without a password, you can look at the instructions for setting your root password using

man passwd

I tried leaving the root password empty. This led to headaches later. One notable instance was that when I tried to install printing with CUPS, Linux told me I had insufficient privilege. I was pretty frustrated to have Linux tell me that I had insufficient privilege when I was logged in as root! Printing did not work for many months until I set a password for root. After I set a password for root, installing CUPS went without a hitch. I don't think the CUPS manual ever mentioned that it required root to have a password. Likely the CUPS folks never imagined that anyone would do something as unsafe as failing to set a password for root.

The next order of business is to create a non-root user so that you can log in without root privileges. For this you use the adduser command. You can only run adduser when you are equivalent to root. This command prompts for all the inputs it needs.

Then the safest thing to do is to restart and log in as the user with limited privilege. On the other hand, messing up something on a new installation won't cost you very much because you have little installation-specific information on the machine. If something goes really haywire you can simply install again.

If you are new to Linux and Unix, one of your first and best friends is the apropos command. Type in apropos <word> and apropos will show you a list of commands which contain <word> in the description of the man page for the command. For example,

apropos user

will give you the very long list of commands which contain the word "user" or longer words which contain the letters "user" in them in man pages.

And, by the way, if you are new to Linux, welcome to Linux!
Old 05-11-2010, 12:13 AM   #4
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 7.7 (?), Centos 8.1
Posts: 18,074

Rep: Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664
And here's a searchable copy of the man pages


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Key repeat on graphical login screen is too fast, Its almost impossible to login. FC5 spacecoyote Fedora 8 05-13-2010 08:53 AM
[SOLVED] SSH login problem for additional users after password-less login setup uncle-c Linux - Newbie 3 02-10-2010 12:51 PM
Prevent Login by IP address / limit login attempts / remedial IP tables question whiskey06 Linux - Security 5 04-26-2009 03:48 AM
Eee PC 1000 Linux Laptop - Just setup a login account for privacy, now can't login!!! martinkettle Linux - Laptop and Netbook 3 10-28-2008 05:21 AM
Gnome: Cannot login as default user, sends back to login, works as root Danny-T Linux - Newbie 2 05-27-2006 03:44 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:14 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration