My "user" cannot issue a "init 0" or "init 6" I have to be logged in as "root" to do that!
Can I Fix this? Can I shut down or reboot my system as "thatuser"?
If "su" doesn't do the trick, you can setup the "asroot" function. It's kind of odd getting all the pieces together, but eventually allows you to specify certain executables a user may run using "root" equivalency. It's pretty common to do this to allow users to perform NFS mounts and dismounts. I haven't used it to reboot (or shutdown), but that should be possible as well.
Thanks for your answers...
I tryed the su but it doesn't work.
From within scoadmin I gave every possible privilege and authorization to the "user" but...nothing!
I sorry to bother you with simple questions but I am very new to SCO and Unix in general.
When I login as root I get the # prompt, but when i login as any other user I get the $ prompt....What is the difference?
The different prompt is just SCO's way to let you know if you have "root" priviledges or not. Try using the "asroot" option.
# man asroot
The MAN entry provides fairly good documentation on how to set this up on your system.
Another way to would be to grant that user full "root" priviledges (in fact, full "root" equivalency) by setting the user ID to "0" after the user is created. I don't know if that would accomplish your goal, but it wouldn't be recommended in general situations for security reasons.
Thanks..."asroot" did the job I wanted.
I gave the "shutdown" with an "-y" parameter in order to avoid confirmations.
The shutdown commences after 60seconds which is the default and the minimum...I think. Can I reduce that time to less than 60 secs?
shutdown -> Only root can run the shutdown command directly. A user possessing the shutdown subsystem authorization can shut down the system using the asroot command:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.