LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-16-2010, 08:56 PM   #1
manikandan_vs
LQ Newbie
 
Registered: Jan 2010
Posts: 20

Rep: Reputation: 0
Angry how to identify newly installed o/s


hi linux users , how to identify freshly installed linux o/s pls frds could you help me ????
 
Old 08-16-2010, 09:09 PM   #2
foodown
Member
 
Registered: Jun 2009
Location: Texas
Distribution: Slackware
Posts: 611

Rep: Reputation: 221Reputation: 221Reputation: 221
Please provide a little more context. How to identify a freshly installed OS as opposed to what? How to tell which partition on a multi-boot system is the new install? How to tell how long ago an existing system was originally installed? What distribution?
 
Old 08-16-2010, 09:14 PM   #3
manikandan_vs
LQ Newbie
 
Registered: Jan 2010
Posts: 20

Original Poster
Rep: Reputation: 0
am using mandriva 2010 , i`am developed one simple application for that if my customer reinstalled os how can i identify ???? for security purpose am using this !!!!
 
Old 08-16-2010, 09:27 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
What has your customer installing a new OS to do w/ security?
Whose security?



Cheers,
Tink
 
Old 08-16-2010, 09:32 PM   #5
foodown
Member
 
Registered: Jun 2009
Location: Texas
Distribution: Slackware
Posts: 611

Rep: Reputation: 221Reputation: 221Reputation: 221
Are you wanting your application which runs on the customer's machine to be able to determine this, or an application running remote from their machine?

If it's an application running on the customer's machine, this will likely not work, as 97 times out of 100 they will wipe their drive when reinstalling, and thus your application as well. Therefore, I must assume that you intend to detect from a remote machine when your customer reinstalls their OS.

This this what you mean? Are your customers all running Mandriva?

Also, do you mean a 'fresh' install as in unpatched . . . . hence the security reference?

Last edited by foodown; 08-16-2010 at 09:34 PM.
 
1 members found this post helpful.
Old 08-16-2010, 09:39 PM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by manikandan_vs View Post
am using mandriva 2010 , i`am developed one simple application for that if my customer reinstalled os how can i identify ???? for security purpose am using this !!!!
Spell out your words, please.

And you've already identified the OS obviously, since you say it's Mandriva 2010. If you like, you can give it a name, like "Philip" or "Susie", to further identify it.

If you're talking about your application, then write a subroutine to put a hidden file somewhere, to indicate it's never been run before. Put the OS name in that file, etc. Since you say nothing about the application, or what you're looking for, it's hard to help you.
 
Old 08-19-2010, 01:38 PM   #7
manikandan_vs
LQ Newbie
 
Registered: Jan 2010
Posts: 20

Original Poster
Rep: Reputation: 0
thanks foodown ....

yes of course all customers are mandriva only if they reinstalled os how to identify and also if they unpacked my packages that too how to get those
info plz help me.........

Last edited by manikandan_vs; 08-19-2010 at 01:42 PM.
 
Old 08-19-2010, 04:35 PM   #8
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by manikandan_vs View Post
thanks foodown ....

yes of course all customers are mandriva only if they reinstalled os how to identify and also if they unpacked my packages that too how to get those
info plz help me.........
SPELL OUT YOUR WORDS. And did you read the other posts???

Again, you can put a file somewhere, that contains some kind of information. Since this is YOUR software, you can put whatever you like in it. So if they unpacked/installed your software, that file will be present. If not, they haven't...not a difficult concept.

And the /etc/*release* file will contain information about the version/distro of Linux.
 
  


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
Cannot boot already installed ubuntu on newly installed win xp abhi_337 Ubuntu 1 07-13-2006 03:33 AM
help with newly installed slackware 10.2!!!!! D_O_Y_L_E Slackware 4 03-17-2006 03:43 PM
help with newly installed slackware 10.2!!!!! D_O_Y_L_E Linux - Software 3 03-17-2006 01:25 AM
ubuntu - newly installed Steph00 Linux - Newbie 0 10-26-2004 08:27 PM
newly installed programs... tang Linux - Software 2 09-10-2003 08:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:26 AM.

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