Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

User Workstations and man Pages 1

Status
Not open for further replies.

Michael42

Programmer
Oct 8, 2001
1,454
US
It seems our Linux workstation users have hit a wall.[dazed]

On Solaris we have catman to build man pages. On Linux it is makewhatis.

I have been instructed that makewhatis has a security hole so they made it root only execution.

I looked for a workaround and thought that updatedb was the solution. However, it seems that this can only be done as root.

I need a user solution for a person to generate their own set of man pages which are not installed into the OS but in a directory they have permissions to.

What can you recommend?


Thanks,

Michael42
 
Use sudo with restrictive privileges.

visudo example entry:

# User privilege specification
username (your ip or hostname)=(ALL) /usr/bin/makewhatis
username (your ip or hostname)=(ALL) /usr/bin/updatedb

This will allow them to build man pages without giving them the powers of root access.

M. Brooks
X Concepts LLC
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top