LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices



Reply
 
Search this Thread
Old 03-14-2003, 05:34 AM   #1
wincrk
Member
 
Registered: Feb 2003
Distribution: Redhat 9.0
Posts: 104

Rep: Reputation: 15
shadow password


hi, my question is how could i know iether my system is using the normal password or the shadow password?

and if i am not suing the shadow password, how could i turn on the shadow password?
 
Old 03-14-2003, 06:00 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
look in /etc/passwd. if your entries are like this:
Code:
chris:x:500:500::/home/chris:/bin/bash
with that x there, then you are on a shadowed system. if it's not installed afaik it is loaded with the PAM modules (go RAS!)
 
Old 03-14-2003, 03:04 PM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,678
Blog Entries: 54

Rep: Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954
how could i turn on the shadow password?
Use "pwconv".
 
Old 03-16-2003, 10:07 PM   #4
wincrk
Member
 
Registered: Feb 2003
Distribution: Redhat 9.0
Posts: 104

Original Poster
Rep: Reputation: 15
one more thing, about the shadow password.... if i'm not mistaken, what it's mean by shadow password is that the file that containt the password will be store somewhere else instead of normal place, but why it's fixed /etc/shadow ? what is the different from the normal one?
 
  


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
shadow password - password field ayhopkins Linux - Security 8 11-17-2005 06:25 AM
useradd without shadow password twallstr Linux - Software 1 09-08-2005 03:14 PM
/etc/shadow password field amfoster Linux - Security 2 08-24-2004 12:39 PM
Shadow password encryption mnisski Linux - General 3 05-28-2004 07:24 PM
Encrypt password for /etc/shadow - SunOS liguorir Linux - Software 1 05-06-2004 11:28 PM


All times are GMT -5. The time now is 05:58 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration