LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 04-14-2004, 12:21 AM   #1
shoombool_tala
Member
 
Registered: Apr 2004
Posts: 35

Rep: Reputation: 15
Suse 9 and Shadowed passwords


Im new to Linux and am not too sure about this concept. Do ALL linux distros. make the passwd file shadowed by default? Is there anyway I can change the setting so my /etc/passwd file is no shadowed on my server?
 
Old 04-14-2004, 12:45 AM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
Re: Suse 9 and Shadowed passwords

Quote:
Originally posted by shoombool_tala
Do ALL linux distros. make the passwd file shadowed by default?
No, in Slackware you have to type........
Code:
pwconv
on the command line to set up shadowed PW.
 
Old 04-14-2004, 01:28 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Is there anyway I can change the setting so my /etc/passwd file is no shadowed on my server?
man pwunconv, but AFAIK there are no good reasons to do so.
If you have good reasons to do so, please post them.
 
Old 04-14-2004, 03:36 AM   #4
shoombool_tala
Member
 
Registered: Apr 2004
Posts: 35

Original Poster
Rep: Reputation: 15
well i guess I had to learn the hardway not to mess around with passwd files. What I did was get a passwd file from another server which was shadowed, made a backup of my own passwd, then replaced it with that one. after ran the command u gave me to unshadow it. and then copy it somewhere else then replace it with my old one. But for some reason everything got screwed up and it wouldnt let me login with my own info even tho I had replaced the passwd file :S now just out of curiosity, the method i mentioned above, will it actually work if done properly? or you cant replace passwd files. Im a linux newbie and am just trying new things. please let me know.
thanks
 
Old 04-14-2004, 03:59 AM   #5
shoombool_tala
Member
 
Registered: Apr 2004
Posts: 35

Original Poster
Rep: Reputation: 15
well i was just reading on some stuff and now im kicking myself in the ass for being stupid.. I figured out that the commands u told me, uses the /etc/shadow file in order to unshadow the /etc/passwd. So forget what i said up there. Very stupid method :S i dont know what i was thinking
 
  


Reply



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
Sync MySQL passwords with local account passwords? turbine216 Linux - Software 2 02-18-2005 03:15 AM
Completely uninstalling MySQL and its passwords passwords...how? I locked myself out! Baix Linux - Newbie 2 01-30-2005 04:10 PM
Shadowed Desktop Text KDE 3.3 paco36 Linux - Software 0 10-09-2004 08:50 AM
passwords in SuSE? detpenguin Linux - Newbie 1 01-21-2004 06:50 PM
Is there a way to sync Samba passwords with linux user passwords MarleyGPN Linux - Networking 2 09-09-2003 10:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 02:47 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
Open Source Consulting | Domain Registration