1753808 Members
7753 Online
108805 Solutions
New Discussion юеВ

Newid version !!

 
Whitehorse_1
Frequent Advisor

Newid version !!

Hi Admins,

How can I find the version of "newid" installed in my server.?? OSis B.11.11

-- WH
Reading is a good course medicine for deep sleep !!
11 REPLIES 11
Steven E. Protter
Exalted Contributor

Re: Newid version !!

Shalom,

whence newid
what

If its provided by depot

swlist -l product | grep newid

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Whitehorse_1
Frequent Advisor

Re: Newid version !!

Hi Steve,

$ whereis whence
whence:
$ /usr/bin/what /usr/local/bin/newid
/usr/local/bin/newid:
$
$ sudo ll /usr/local/bin/newid
-rwS--x--x 1 root sys 61440 Dec 22 2004 /usr/local/bin/newid
$
$ sudo file /usr/local/bin/newid
/usr/local/bin/newid: PA-RISC2.0 shared executable dynamically linked -not stripped
$

Any other inputs..

-- WH
Reading is a good course medicine for deep sleep !!
Whitehorse_1
Frequent Advisor

Re: Newid version !!

Can someone share any documents on newid for HPUX.. ??
Reading is a good course medicine for deep sleep !!
Pete Randall
Outstanding Contributor

Re: Newid version !!

The fact that it is located in /usr/local/bin coupled with the fact that it does not appear on any of my systems suggests to me that it is a contributed utility not part of the normal OS distribution. Try a google search.


Pete

Pete
Patrick Wallek
Honored Contributor

Re: Newid version !!

Do you know how it was installed? Was it installed via swinstall or was it compiled?

Have you tried the program itself? Perhaps there is something like a '-version' switch or something like that. Trying a '-?' or '-help' might work to get you a list of options.

This does appear to be an add-on program. I've never heard of it before and a brief google search didn't yield anything useful.
Whitehorse_1
Frequent Advisor

Re: Newid version !!

Hi patrick,

It doesnt seems to be installed using "swinstall" as swlist displayed no output, should have been compiled. But I was way around searching the source code, but couldnt find anything in my server.
Theres something relevant here,

# cat /usr/bin/newid.sh
#!/bin/sh
eval `/usr/bin/X11/resize`
/bin/su - $NEWID

I donno whats this.. !!

# newid (just typed the command)

Usage: newid

It just shows nothing other than the above output,..

-- WH
Reading is a good course medicine for deep sleep !!
Torsten.
Acclaimed Contributor

Re: Newid version !!

According to your post it does a simple "switch user" (su):

# cat /usr/bin/newid.sh
#!/bin/sh
eval `/usr/bin/X11/resize`
/bin/su - $NEWID

$NEWID is the given username when calling the script.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Torsten.
Acclaimed Contributor

Re: Newid version !!

This is very likely written by one of your co-workers.

I assume this is newid version 0.01alpha - ask them!

;-)

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
OldSchool
Honored Contributor

Re: Newid version !!

1) from what you've posted "newid" is in no way related to "newid.sh". Note the message output from "newid" isn't contained in the shell script.

2) google shows references to "newid" in transact-sql. are you perhaps running sybase db on this machine?

what issue are you trying to resolve that requires you find the version of this?