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 09-05-2006, 09:16 AM   #1
pasupuleti
LQ Newbie
 
Registered: Sep 2006
Posts: 24

Rep: Reputation: 15
password shadowing


hi i want to write code to implement password shadowing.
are there any commands or system calls to achieve this?
 
Old 09-05-2006, 12:14 PM   #2
Lotharster
Member
 
Registered: Nov 2005
Posts: 144

Rep: Reputation: 18
Password shadowing is already implemented in practically every distribution. You just have to install and activate it. There's no need to write your own code.
 
Old 09-07-2006, 12:56 AM   #3
pasupuleti
LQ Newbie
 
Registered: Sep 2006
Posts: 24

Original Poster
Rep: Reputation: 15
hi sir.so are u referring to the file /etc/shadow or anything else.how do i get it running on my system?
 
Old 09-07-2006, 05:45 AM   #4
Lotharster
Member
 
Registered: Nov 2005
Posts: 144

Rep: Reputation: 18
Quote:
Originally Posted by pasupuleti
hi sir.so are u referring to the file /etc/shadow or anything else.how do i get it running on my system?
Yes, I'm referring to that file.

A bit of general advice: Before you ask or help here, you should first try to find the answers yourself:
1.) Find and read through the relevent manpage. Most programs come with good manpages that explain everything you might want to know.
2.) Ask google. Ypou are probably not the first one with this question. Most likely, someone on the net has already solved the problem and written about it.
3.) This forum also has a search function.
4.) When the above does not help, you are free to ask in the forum. But if we should help you, you should explain _exactly_ what you what to do, and the system you are working with (Distribution, versions, etc.).

People here are happy to answer interesting and difficult questions, but explaining the same simple tasks over and over again is quite annoying, especially when a simple web search would turn up the answers.

Regarding your questions: a quick google search turned up this link, which should enable you to acivate password shadowing:
http://www.linuxsecurity.com/resourc...to/ch3.en.html

Regards,

Lothar
 
Old 09-07-2006, 09:06 AM   #5
pasupuleti
LQ Newbie
 
Registered: Sep 2006
Posts: 24

Original Poster
Rep: Reputation: 15
thank u sir.but i actually want to implement password shadowing as an application on a stand alone device.so i thought if u cud give me some code structure(system calls,any built in functions,structures etc),as i am a beginner.
 
Old 09-07-2006, 11:19 AM   #6
Lotharster
Member
 
Registered: Nov 2005
Posts: 144

Rep: Reputation: 18
For a quick introduction to shadowing, you shouold read the Wikipedia article: http://en.wikipedia.org/wiki/Shadow_password

You could download the sources for login and passwd. They should also give you a clue as to how shadowing works.

If you want more exact help, you should explain _in_detail_ what kind of "application" on which "stand-alone device" you have in mind.
 
Old 09-08-2006, 01:01 AM   #7
pasupuleti
LQ Newbie
 
Registered: Sep 2006
Posts: 24

Original Poster
Rep: Reputation: 15
i want to implement linux security policies on my system like telnet,ftp,password complexity,password shadowing,password expiration etc.u already gave me inf about telnet,ftp....
 
Old 09-08-2006, 03:57 AM   #8
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
As moderator I have to step in now.

@pasupuleti: Lotharster has been more than patient with you. If english isn't your native tongue then please try to read the questions better or ask what is meant or ask someone to help you. I say this because the way you answer questions (bad phrasing, incomplete answers and a general disregard for what's already said) is NOT going to help you, no matter what forum it is in. So you either 'fess up this information:
- what is the brand name of the device
- what is the full version of the device
- what firmware version or GNU/Linux (embedded) distribution is installed
...or stop this thread.

Think carefully. You have one chance left because this thread will not be allowed to drag on like this for much more. If your answers are incomplete again I will force an end to this thread no matter how sorry I am for that.
 
Old 09-08-2006, 06:42 AM   #9
rhce1arun
LQ Newbie
 
Registered: Sep 2006
Posts: 13

Rep: Reputation: 0
shadowing password

you can shadowing password by using command "pwconv"
 
Old 09-08-2006, 07:29 AM   #10
pasupuleti
LQ Newbie
 
Registered: Sep 2006
Posts: 24

Original Poster
Rep: Reputation: 15
Ok.this is how i describe.

DELL Optiplex GX1

Fedora Core release 3 (Heidelberg)

Kernel 2.6.9-1.667 on an i686.
 
Old 09-08-2006, 08:33 AM   #11
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
*Slightly disappointed* so, this is nothing special, just a regular PC???!!!"£!""$$%
OK. Then you should probably start reading first. Security isn't only about passwords. Start with these:
Security Quick-Start HOWTO for Linux,: http://tldp.org/HOWTO/Security-Quickstart-Redhat-HOWTO/
Securing & Optimizing Linux: The Ultimate Solution (PDF): http://www.tldp.org/LDP/solrhe/Secur...ution-v2.0.pdf
Securing and Hardening Red Hat Linux Production Systems: http://www.puschitz.com/SecuringLinux.shtml

ask if anything is unclear (after reading please), then crosscheck / follow up with:
CERT, Security improvements: http://www.cert.org/security-improvement/
CERT, Tech Tips: http://www.cert.org/tech_tips/
Linux Administrator's Security Guide (LASG): http://www.seifried.org/lasg/
Linux Security HOWTO: http://tldp.org/HOWTO/Security-HOWTO/index.html

...which you could have found yourself if you read the LQ FAQ: Security references.
 
  


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
How to retrieve( or reset) root password in Mandrake Linux, as I forgot my password? Reghunath Linux - Software 4 05-08-2008 04:11 AM
change Root Password even if the password in the grub is also set sheelnidhi Linux - General 6 08-30-2006 07:27 AM
Compare LDAP password with php crypt password coolamit78 Linux - Networking 1 01-30-2006 05:35 AM
How can I change e-mail password(or linux account password) with php in website?? yusuf Programming 1 05-28-2004 09:39 AM

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

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