Operating System - HP-UX
1820479 Members
2478 Online
109624 Solutions
New Discussion юеВ

How to install gzip in HP UX B.11.11

 
Omprakash_2
Frequent Advisor

How to install gzip in HP UX B.11.11

Hi,

I have downloaded from internet, but i was not able to install through swinstall -s. Can any one suggest me how to do it, i have read readme file in that package. Really i m not understand any thing.
15 REPLIES 15
Steven Schweda
Honored Contributor

Re: How to install gzip in HP UX B.11.11

> I have downloaded from internet, [...]

The Internet is large, and it contains many
things.

You downloaded _what_, exactly, from _where_,
exactly, and did _what_, exactly, with it?

Personally, I'd just fetch a source kit, and
build it myself.

http://www.gzip.org/
http://ftp.gnu.org/gnu/gzip/


Doesn't HP-UX B.11.11 include gzip?
Patrick Wallek
Honored Contributor

Re: How to install gzip in HP UX B.11.11

I would get gzip from:

http://hpux.connect.org.uk/hppd/hpux/Gnu/gzip-1.3.12/

If you download the 11.11 "compressed binary depot" (which is the 2nd link from the bottom) then you can use "uncompress" to uncompress what you download and then use swinstall to install.

>>Doesn't HP-UX B.11.11 include gzip?

HP-UX has come with a version of gzip since at least version 10.20. However, if I recall correctly it was relatively old (Version 1.2.4 I think) and did not support creating files larger than 2GB.
Dennis Handly
Acclaimed Contributor

Re: How to install gzip in HP UX B.11.11

>Steven: Doesn't HP-UX B.11.11 include gzip?

Yes: /usr/contrib/bin/gunzip /usr/contrib/bin/gzip
gzip 1.3.5 (2002-09-30)
Suraj K Sankari
Honored Contributor

Re: How to install gzip in HP UX B.11.11

Hi,

Om just give the command "whereis gunzip" if gunzip is there in your system you will show the path like :

#whereis gunzip
/usr/contrib/bin/gunzip

Suraj
Omprakash_2
Frequent Advisor

Re: How to install gzip in HP UX B.11.11

Hi suraj,

# whereis gunzip
gunzip: /usr/local/bin/gunzip /usr/contrib/bin/gunzip /usr/local/man/man1/gunzip
.1 /usr/contrib/man/man1/gunzip.1 /usr/contrib/man/man1.Z/gunzip.1

Its showing like above mentioned
Sharma Sanjeev
Respected Contributor

Re: How to install gzip in HP UX B.11.11

Hi Om

you have gunzip installed and can use

/usr/contrib/bin/gunzip

Regards
Sanjeev
Everything is Possible as " IMPOSSIBLE" word itself says I M POSSIBLE
Omprakash_2
Frequent Advisor

Re: How to install gzip in HP UX B.11.11

Hi Sharma,

I have done the gunzip function its working fine.

Now i have installed sudo package, but i dont know how to provide a access to one user with kill command enabled. Can you provide the sample /etc/sudoers file.
Sharma Sanjeev
Respected Contributor

Re: How to install gzip in HP UX B.11.11

Hi Om

Go through this link u will find your answers

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=102058

Regards
Sanjeev
Everything is Possible as " IMPOSSIBLE" word itself says I M POSSIBLE
Sharma Sanjeev
Respected Contributor

Re: How to install gzip in HP UX B.11.11

Hi Om

One more

http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1237877222238+28353475&threadId=1256914

Hope u will get help from both threads

Regards
Sanjeev
Everything is Possible as " IMPOSSIBLE" word itself says I M POSSIBLE
Suraj K Sankari
Honored Contributor

Re: How to install gzip in HP UX B.11.11

Hi again,

#whereis visudo
/usr/sbin/visudo

run the command /usr/sbin/visudo
It will open /etc/sudoers you can edit as below mention

User servername = /usr/bin/kill

for example
# jack may run this commands in CSNETS
jack CSNETS = /usr/sbin/reboot, /usr/sbin/shutdown, /usr/bin/passwd

save the file

login as jack
to run kill command
sudo /usr/bin/kill -9 pid

Suraj

Omprakash_2
Frequent Advisor

Re: How to install gzip in HP UX B.11.11

Hi,

Thanks a ton for your help. Now sudo access is working fine. But i need some clarification on this.

1. kill -9 its working fine, but i required kill -15 to work.(kill -15 is not working now)

2. You may want to run the configure with this option: --disable-root-sudo That way you don't get in a situtation where someone can do a sudo sudo /bin/sh and become root... ( I AM NOT ABLE TO DISABLE THE ABOVE MENTIONED ITS SHOWING AS:
# /usr/local/bin/sudo --disable-root-sudo
/usr/local/bin/sudo: illegal option -- - )

3. I dont want to use # who -q command for sudo users, its possible or not.

4. How to uninstall sudo.

THANKS IN ADVANCE...
Omprakash_2
Frequent Advisor

Re: How to install gzip in HP UX B.11.11

Can any one help me
Steven Schweda
Honored Contributor

Re: How to install gzip in HP UX B.11.11

> Can any one help me

The title of this thread is "How to install
gzip in HP UX B.11.11". Now, you seem to
want advice on a completely different topic.
A casual reader will never guess this.

> (kill -15 is not working now)

What, exactly, does "not working" mean?

> 4. How to uninstall sudo.

Who knows how you installed it? (Or what,
exactly, you installed?) "Now i have
installed sudo package" is not a complete
description of what you installed or how you
installed it.
Taifur
Respected Contributor

Re: How to install gzip in HP UX B.11.11

Hi Omprakash

You can uninstall sudo from sam or
#swremove -i packagename.


Rgds//
Taifur
Omprakash_2
Frequent Advisor

Re: How to install gzip in HP UX B.11.11

Thanks problem resolved