LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-27-2004, 08:34 PM   #1
maxerg
LQ Newbie
 
Registered: Oct 2003
Location: Shanghai
Distribution: RH7.2
Posts: 8

Rep: Reputation: 0
Post which RPM pakage contains utility of "CRYPT"


I know it's a silly question. But I am learning now and hope anyone could help.
Is there any much more advanced tools?
 
Old 01-27-2004, 09:09 PM   #2
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
Errrr... crypt is a function in unistd.h. It's the standard UNIX DES encryption routine...
 
Old 01-28-2004, 08:03 PM   #3
maxerg
LQ Newbie
 
Registered: Oct 2003
Location: Shanghai
Distribution: RH7.2
Posts: 8

Original Poster
Rep: Reputation: 0
So, do you mean that if I want to test with that routine, I need to write some simple C code and compile it?
 
Old 01-28-2004, 09:30 PM   #4
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
Yes.
 
Old 01-29-2004, 12:54 AM   #5
maxerg
LQ Newbie
 
Registered: Oct 2003
Location: Shanghai
Distribution: RH7.2
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks chort

I tried but met this problem again:

the complier told me that

/tmp/ce7KE7wI.o(text+0x2c): undefined reference to crypt

I have already #include <unistd.h> in front of the source
 
Old 01-29-2004, 03:05 AM   #6
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
Linux might keep things in different places than BSD. It might be sys/unistd.h, for example, or something like that.

Try man crypt, or apropos crypt to locate a man page that includes it.
 
  


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
Where to download rpm packages of "gocr" and "kooka" satimis Linux - Software 6 02-23-2006 11:35 PM
Please explain a little about "up2date" utility in FC3 A6Quattro Fedora 2 07-20-2005 10:40 PM
"multiboot utility" and "dell utility partition" on dell i5150 xround Linux - Laptop and Netbook 5 04-21-2005 09:19 AM
Difference Between "Source RPM" "Static RPM" Mic Q Suse/Novell 2 03-30-2005 06:51 PM
decrypting a file using "crypt" & "rot13" JAMZM101 Solaris / OpenSolaris 1 03-07-2004 09:32 AM


All times are GMT -5. The time now is 09:16 PM.

Main Menu
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