Is there a foolproof way of getting hostid on solaris sparc?
I am asking this because i have seen Dtrace scripts on various sites which allow to change hostid. I want this because i want to tie down my application to specific host and do not want my client to re-use it on other machine just by changing hostid.
Yes. To my understanding, host id is changeable. You can even change your MAC address on Sun’s SPARC systems if you want. So, I would not use these information alone for your licensing implementation. Maybe you can check out FLEXlm.
If you use bash, try to put the export command in .bashrc or.profile file in your home directory. For bourne or ksh, use .profile. For csh, use .cshrc.
Or you could run the ‘/bin/hostid’ command…
Thanks for sharing your tip on this.
You can also use /usr/bin/showrev
Thanks for sharing another way to get hostid.
Dear Experts,
Is there a foolproof way of getting hostid on solaris sparc?
I am asking this because i have seen Dtrace scripts on various sites which allow to change hostid. I want this because i want to tie down my application to specific host and do not want my client to re-use it on other machine just by changing hostid.
Thanks,
Yes. To my understanding, host id is changeable. You can even change your MAC address on Sun’s SPARC systems if you want. So, I would not use these information alone for your licensing implementation. Maybe you can check out FLEXlm.
is there a way to save the variable values in a shell permanently.
I used the *export * command but after re login. it was not save.
please help
If you use bash, try to put the export command in .bashrc or.profile file in your home directory. For bourne or ksh, use .profile. For csh, use .cshrc.
Hope this helps
How to chnage the hostid in solaris 9 and its usefull, If anyone provide the solution, i will be highly appreciated.