LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to identify newly installed o/s (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-identify-newly-installed-o-s-826644/)

manikandan_vs 08-16-2010 08:56 PM

how to identify newly installed o/s
 
hi linux users , how to identify freshly installed linux o/s pls frds could you help me ????

foodown 08-16-2010 09:09 PM

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?

manikandan_vs 08-16-2010 09:14 PM

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 !!!!

Tinkster 08-16-2010 09:27 PM

What has your customer installing a new OS to do w/ security?
Whose security?



Cheers,
Tink

foodown 08-16-2010 09:32 PM

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?

TB0ne 08-16-2010 09:39 PM

Quote:

Originally Posted by manikandan_vs (Post 4068398)
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.

manikandan_vs 08-19-2010 01:38 PM

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.........

TB0ne 08-19-2010 04:35 PM

Quote:

Originally Posted by manikandan_vs (Post 4071527)
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.


All times are GMT -5. The time now is 07:44 AM.