Operating System - HP-UX
1833162 Members
3283 Online
110051 Solutions
New Discussion

System Time - other users

 
SOLVED
Go to solution
YLTan
Frequent Advisor

System Time - other users

I am managing a server for development team on a billing system. Every now and then, the developer need to change the system time to either forward or backward because the software take the system time for billing. It need to test the bill-run. Usually after the time change, only the database and billing software need to restart and not every process in the system need to restart. So no reboot is needed after sys.time have change.

Is there a way I can assign the rights to change the system time to a users login instead of root?

tyl
3 REPLIES 3
Patrick Wallek
Honored Contributor
Solution

Re: System Time - other users

There is a package available called SUDO. This allows you to give other users permission to run certain commands as the root user without them actually knowing the root password.

SUDO can be downloaded from here:
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.6.6/

You can also find sudo information at: http://www.courtesan.com
Michael Tully
Honored Contributor

Re: System Time - other users

Yes there is. You could utilise the 'sudo' tool and allocate a group to these people.
The software comes in a downloadble SD depot so that it can be installed easily through 'swinstall'. There should be enough documentation there as well to get you started.

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.6.6/
Anyone for a Mutiny ?
T G Manikandan
Honored Contributor

Re: System Time - other users

Also,
you can use the restricted sam.

From the root use

#sam -r

The system admin Manager will open will the restricted sam options for that user.
There you can disable everything except the date change permissions.


Then from that user you can invoke this restricted SAM using
$sam -r

check it up.

THanks