Setting security mode and prom password in C

Setting security mode and prom password in C

Post by Dave Bartle » Thu, 13 Nov 1997 04:00:00

Does anyone know how to set the prom password and security mode in
 Solaris 2.5.1 in C?

I had a program which will set everything but the security-mode and
 password.. it keeps coming back with an

  EINVAL         The size value was invalid,  or  (for  OPROM-
                  SETOPT)  the  property does not exist, or and
                  invalid ioctl is being issued.

Any ideas?  Examples?

 - dlb


| Dave Bartlett        | Phone: (919) 472-2442 | Pager: (800) 796-7363 |
| Customer Engineering | Fax  : (919) 472-2963 | Pin  : 104-0576       |  



1. C2 security prom password

I am attempting to install shadowed passwords on a few systems.  I've tried
to use C2conv, but this password protects booting into single user mode
and that is something we are trying to avoid.  Anyway, my question is this:

Where does this password get enabled? Is there anyway around it?

Yes, I have looked at /etc/ttytab, but it doesn't seem to be changed in
that the console is still labeled secure.



2. Dynamic Slip Problems with DIP

3. Can't set root password- Password busy error -is not due to temp password file

4. -aa VM status wrt standard kernel

5. Web Page Security...How do I set up a password?

6. Intel*740 AGP drivers for redhat 5.0 linux

7. Changing/Setting passwords in batch mode

8. EMACS: Segmentation fault (core dumped) why? how to solve?

9. Setting passwords in batch mode in a trusted system

10. Security from outside call-ins

11. PROM Password.

12. PROM Password help

13. getting round a PROM password?