Monday, November 5, 2007

How to enable console login service?

I'm not sure the svcadm command makes any sense outside the context of the currently running OS.

You could try copying an older copy of the repository back in (look in /etc/svc of your root disk) from failsafe mode. The working
repository name is /etc/svc/respository.db

You could also try to delete the service out of the repository and re-import it. You can do that by doing the following:

- Boot failsafe mode
- mount your root filesystem under /a
- Set the following envs and export them:


- svccfg delete svc:/system/console-login:default
- svccfg import /a/var/svc/manifest/system/console-login.xml
- umount /a

Then try booting your root disk again. Since the default instance for console-login has enabled=true, it should activate it when you

No comments: