LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 11-02-2003, 07:13 AM   #1
gazza
Member
 
Registered: Jun 2003
Distribution: Mandrake 10.1 Official
Posts: 157

Rep: Reputation: 30
root password


Ive just reinstalled suse 8.2 and i enetered to the root password which was (eg) "huklinsdsde64571"
but when i su to root and enter just the first part of the pass, (without the numbers) it still gives me root access ?

Why is this ?


tia
 
Old 11-02-2003, 07:22 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387
Take a look at the /etc/login.defs file, especially the PASS_MAX_LEN option. Anything longer then the value set here will be ignored.

Also accessible by yast2:

yast - security and users -> security settings -> next
 
Old 11-02-2003, 07:30 AM   #3
gazza
Member
 
Registered: Jun 2003
Distribution: Mandrake 10.1 Official
Posts: 157

Original Poster
Rep: Reputation: 30
ah thats the problem by the looks of it the max is 8

Can i just change that number using vi to make it larger, say.....15 ?

and if so will i need to change anything else anywhere ?

dont want to cause any conflicts......just got thongs back to normal

tia
 
Old 11-02-2003, 08:51 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387
It depends.

crypt() uses 8 chars if I'm not mistaken. I use md5 encryption, which does not have a 8 char limit.

#----------------------------------------------------------------------------#
# Number of significant characters in the password for crypt().
# Default is 8, don't change unless your crypt() is better.
# Ignored if the "md5" or "blowfish" option is given to the
# pam_pwcheck module.

PASS_MAX_LEN 20


Hope this will help
 
  


Reply


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
How could normal user obtain root password or change root password ckamheng Debian 18 02-18-2009 11:28 PM
Booting into Single User on MDK 9 asks for root password instead of booting into root acadcworks Linux - General 6 01-10-2006 07:51 AM
root password amer_58 Linux - Newbie 6 08-20-2005 03:41 PM
Logged in as root, prompted for root password ta0kira Slackware 13 04-25-2005 02:29 AM
root / SU password Stephanie Linux - General 9 09-05-2002 12:13 AM


All times are GMT -5. The time now is 07:05 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration