LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 06-21-2021, 03:15 PM   #1
yelirt5
LQ Newbie
 
Registered: Jan 2019
Posts: 22

Rep: Reputation: Disabled
Kickstart Problem with Rhel5


Good day folks,

I'm having an issue modifying an existing kickstart for a RHEL5 system. The problem is with encrypting the password.

I'm copying the existing kickstart and using Redhat's online kickstart generator (for RHEL5) to hash the password and am replacing that hash with the one configured in the original. The system loads up fine but when it gets to a login prompt I can't login as root or as the user I've created.

One thing I've noticed that I'm not sure about is the hash for the passwords in the original ks.cfg file is much longer than the one I'm getting from the online generator.

I'm at a loss as to why this isn't working. The original hash works fine. The hash I'm replacing doesn't. I'm not even sure if anything is being logged (or where) so that I can tell where it's going off the rails.

Any advice is greatly appreciated.
 
Old 06-21-2021, 04:23 PM   #2
jmgibson1981
Member
 
Registered: Jun 2015
Location: Tucson, AZ USA
Distribution: Debian
Posts: 676

Rep: Reputation: Disabled
I'd think RedHat would be the place to request help for something like that. Is why you pay for that subscription.
 
1 members found this post helpful.
Old 06-21-2021, 06:32 PM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,960

Rep: Reputation: 7032Reputation: 7032Reputation: 7032Reputation: 7032Reputation: 7032Reputation: 7032Reputation: 7032Reputation: 7032Reputation: 7032Reputation: 7032Reputation: 7032
Quote:
Originally Posted by yelirt5 View Post
Good day folks,
I'm having an issue modifying an existing kickstart for a RHEL5 system. The problem is with encrypting the password.

I'm copying the existing kickstart and using Redhat's online kickstart generator (for RHEL5) to hash the password and am replacing that hash with the one configured in the original. The system loads up fine but when it gets to a login prompt I can't login as root or as the user I've created.

One thing I've noticed that I'm not sure about is the hash for the passwords in the original ks.cfg file is much longer than the one I'm getting from the online generator.

I'm at a loss as to why this isn't working. The original hash works fine. The hash I'm replacing doesn't. I'm not even sure if anything is being logged (or where) so that I can tell where it's going off the rails.
The best advice I can offer is to not mess with anything to do with this. RHEL 5 is *ANCIENT*, and very, VERY unsupported. At this point, it's so far behind in hardware support, security, and bugfixes that it's just not worth it. Get a current RHEL subscription, and spin up a new kickstart image.

Beyond that, if login is your only issue, can you boot to single-user mode, manually mount the / partition, and edit the shadow file to remove the root password, then login?
 
1 members found this post helpful.
  


Reply

Tags
kickstart


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
[SOLVED] RHL 6.0 Unable to download the Kickstart file/ Error downloading kickstart file AnApproach2DigestLinux Linux - Newbie 3 11-23-2012 05:50 PM
Red Hat Enterprise Linux 5 RHEL5 kickstart problem with post install tate1615 Red Hat 1 04-30-2010 03:38 AM
RHEL5 Kickstart Problem mkono Linux - Enterprise 12 08-04-2009 06:33 PM
Kickstart Error Error opening kickstart file (null): bad address Latitude Linux - Networking 0 06-03-2009 11:20 AM
RHEL5 kickstart config file creation problem rado_dimitrov Linux - Enterprise 2 02-13-2008 09:50 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 12:57 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