Operating System - HP-UX
1834952 Members
2549 Online
110071 Solutions
New Discussion

lug admin command showing not found

 
sajan joseph
Occasional Contributor

lug admin command showing not found

lugadmin -e
/sbin/sh: lugadmin: not found.


our system is B 11.23
5 REPLIES 5

Re: lug admin command showing not found

isn't lugadmin a 11.31 command only?

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Torsten.
Acclaimed Contributor

Re: lug admin command showing not found

Have a look at this:

http://docs.hp.com/en/5991-7436/ch01s02.html

HP-UX 11i Version 3 Highlights
->
Longer User and Group Names

and this


http://docs.hp.com/en/5991-6469/ch05s46.html


You need to run 11.31 (aka 11iv3).

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!   
Bill Hassell
Honored Contributor

Re: lug admin command showing not found

ligadmin is in /usr/sbin.

The /usr/sbin path should ALWAYS be in root's PATH and set by editing .profile for root. You may wish to add /usr/lbin to root's PATH too.


Bill Hassell, sysadmin
Pete Randall
Outstanding Contributor

Re: lug admin command showing not found

I think Duncan has nailed it. There's no man page for lugadmin in the 11iV2 man pages, but there is in 11iV3.

http://www.docs.hp.com/en/hpuxman_pages.html


Pete

Pete
AwadheshPandey
Honored Contributor

Re: lug admin command showing not found

To enable long user and group names,

1. Stop the pwgrd daemon.

# /sbin/init.d/pwgr stop
2. Run the lugadmin command with the -e option.

# lugadmin -e [-d num]

3. The command requests confirmation before enabling the system.

Long user/group name once enabled cannot be disabled in future.
Do you want to continue [yY]: If you respond with y or Y, the command proceeds; otherwise, it aborts.

4. The command creates the /etc/default/lugname file.

5. If the -d option is not specified, num defaults to 0. The specified or default value of num is written in lugname.



Setting the User and Group Name Display Width
The long user and group name default display width is set when lugadmin is executed with the -e option. It can be changed at any time by executing lugadmin with the -d option.

If -d is not specified with the -e option, the value of num defaults to 0.

http://docs.hp.com/en/B2355-60130/lugadmin.1M.html
It's kind of fun to do the impossible