LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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-15-2005, 02:12 AM   #1
kartheekpn
Member
 
Registered: Mar 2005
Location: bangalore
Posts: 100

Rep: Reputation: 15
HOWTO access Processor ID / other unique values??


Hi,
can anyone please tell me how to obtain a processor's unique ID (if such a thing exist, which I believe does)? Or maybe some other unique number such as the Harddrive's serialnumber or mother boards unique id something. I need it to copy-protect a program which is nearly ready for distribution. Any references to tutorials of related subjects would also be much appreciated.
regards
Kartheek
 
Old 03-15-2005, 03:54 AM   #2
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
cat /proc/cpuinfo

Does that give the info you want?
 
Old 03-15-2005, 04:17 AM   #3
kartheekpn
Member
 
Registered: Mar 2005
Location: bangalore
Posts: 100

Original Poster
Rep: Reputation: 15
no, i tried ther no luck
 
Old 03-15-2005, 08:46 AM   #4
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
I don't have a CPU with an ID, so I wasn't sure if I was not seeing it in /proc/cpuinfo because it doesn't show it or because I don't have one, guess it's not there. If you are just looking for something unique, maybe try one of these:

hdparm -i /dev/hda: hard drive info
ifconfig eth0: NIC's MAC address is unique, but easily spoofed
look through the info files in /proc for something else unique
 
Old 03-15-2005, 10:57 AM   #5
kartheekpn
Member
 
Registered: Mar 2005
Location: bangalore
Posts: 100

Original Poster
Rep: Reputation: 15
thanx, i will try thoes.
but i found files called 'cpuid' [its orange colored and not openable by vi or cat ] in /dev/cpu/0
and another in/dev/cpu/1 and so on...
any idea regarding thoes files.
 
Old 03-20-2005, 05:10 AM   #6
nayaksoft
LQ Newbie
 
Registered: Apr 2001
Posts: 2

Rep: Reputation: 0
Google is the best Friend , u find lots of utility to know the processor id , try cpuid a utility for linxu

Hope this will solve ur problem

Regards...
Nayak Sibananda (Reliance Infocomm)
 
  


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
HOWTO - Write Access to NTFS Partitions mac57 Mandriva 19 09-26-2005 01:11 AM
Linux changes processor values. macisaint Linux - Hardware 1 06-29-2005 12:43 AM
howto log/monitor port-access? overlord73 Linux - Security 2 04-21-2005 12:22 AM
MySQL - UNIQUE values across two columns - non-standard constraint issue benr77 Linux - General 2 11-06-2004 11:48 AM
Howto Access Internet Keith Miller Linux - Newbie 1 02-07-2003 12:23 PM


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