LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 12-19-2007, 07:14 PM   #1
techxkg1086
LQ Newbie
 
Registered: Dec 2007
Location: house
Distribution: trying out some
Posts: 4

Rep: Reputation: 0
login and password


After a seemingly sucessful install on the first boot from lilo while the computer is posting I eventually get to a login and password line for which I have no input. as I was never given a choice to create a user account. And I have been unsuccessful at guessing what the words would be. Help!

Last edited by techxkg1086; 12-19-2007 at 07:17 PM.
 
Old 12-19-2007, 07:30 PM   #2
rootboy
Member
 
Registered: Oct 2001
Distribution: Mint 15
Posts: 770

Rep: Reputation: 51
Hmmm, maybe a new linux distro? "Insurmountable Linux" perhaps?

After booting up, try hitting Control-Alt-F2 to get to a separate login. From there just type "su". From there use the "adduser" command.


Otherwise... I think that you can add a switch (subcommand) before grub hands off the booting to the system.


You could look here (warning: shameless plug ahead):

http://usalug.org/phpBB2/viewtopic.p...739&highlight=

If you have a second machine with linux on it, just copy the shadow password file and put it in your new machine's /etc/ directory.

Last edited by rootboy; 12-19-2007 at 07:32 PM.
 
Old 12-19-2007, 09:23 PM   #3
techxkg1086
LQ Newbie
 
Registered: Dec 2007
Location: house
Distribution: trying out some
Posts: 4

Original Poster
Rep: Reputation: 0
I will get back to slackware sometime. I have a kde and a gnome desktop os picked out that I know will work on my hardware, with no hangups. They are in the oven right now.Thanks for the quick help and as they say "have fun". techxkg1086
 
Old 12-20-2007, 07:49 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Hi,

Quote:
Originally Posted by techxkg1086 View Post
After a seemingly sucessful install on the first boot from lilo while the computer is posting I eventually get to a login and password line for which I have no input. as I was never given a choice to create a user account. And I have been unsuccessful at guessing what the words would be. Help!

When you preformed the setup you were requested to input a root password. When you first boot Slackware then at the login prompt answer 'root' and the password that you entered during the setup.

Once logged in then you can create a user account with the 'adduser' command.
 
Old 12-20-2007, 08:12 AM   #5
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Hi,

Quote:
Originally Posted by rootboy View Post
Hmmm, maybe a new linux distro? "Insurmountable Linux" perhaps?

After booting up, try hitting Control-Alt-F2 to get to a separate login. From there just type "su". From there use the "adduser" command.


Otherwise... I think that you can add a switch (subcommand) before grub hands off the booting to the system.


You could look here (warning: shameless plug ahead):

http://usalug.org/phpBB2/viewtopic.p...739&highlight=

If you have a second machine with linux on it, just copy the shadow password file and put it in your new machine's /etc/ directory.
Stick with 'SUSE'. You don't know what your talking about when it comes to Slackware. The OP needs to login initially as root to create a user via the adduser or useradd commands from the cli. Switching terminals and using su will get you nowhere but denied.

as for;
Quote:
Originally Posted by rootboy View Post

If you have a second machine with linux on it, just copy the shadow password file and put it in your new machine's /etc/ directory.
One, the OP cannot get into his installation! Two, moving a shadow between machines is not a good habit to get into. Especially if more than one person is on the machine(s). Plus you are 'ASS'uming that the installs are identical Linux and users.

Quote:
excerpt from 'man shadow'

CAVEATS
These routines may only be used by the super user as access to the
shadow password file is restricted.
Quote:
excerpt from Shadow-Password-HOWTO-2;

The Shadow Suite solves the problem by relocating the passwords to another file (usually /etc/shadow). The /etc/shadow file is set so that it cannot be read by just anyone. Only root will be able to read and write to the /etc/shadow file. Some programs (like xlock) don't need to be able to change passwords, they only need to be able to verify them. These programs can either be run suid root or you can set up a group shadow that is allowed read only access to the /etc/shadow file. Then the program can be run sgid shadow.

By moving the passwords to the /etc/shadow file, we are effectively keeping the attacker from having access to the encoded passwords with which to perform a dictionary attack.

Additionally, the Shadow Suite adds lots of other nice features:

* A configuration file to set login defaults (/etc/login.defs)
* Utilities for adding, modifying, and deleting user accounts and groups
* Password aging and expiration
* Account expiration and locking
* Shadowed group passwords (optional)
* Double length passwords (16 character passwords) NOT RECOMMENDED]
* Better control over user's password selection
* Dial-up passwords
* Secondary authentication programs [NOT RECOMMENDED]

Installing the Shadow Suite contributes toward a more secure system, but there are many other things that can also be done to improve the security of a Linux system, and there will eventually be a series of Linux Security HOWTO's that will discuss other security measures and related issues.
Some of the information is dated but valid.

Last edited by onebuck; 12-20-2007 at 08:12 AM. Reason: grammar
 
  


Reply

Tags
installation


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
Password Recovery in Edubuntu 7.04 - In Terminal, Root Login : su , password : ????? farhannaeem13 Linux - Security 3 11-30-2007 09:59 AM
How to set login and password and root password in suse 10.2 sirius57 SUSE / openSUSE 8 07-24-2007 09:51 AM
login password amos81 Red Hat 8 08-10-2006 02:31 PM
password login Patie Linux - Newbie 2 01-18-2006 11:11 PM
login and password qlrpedro Programming 0 11-30-2005 08:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 09:48 AM.

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