No UTMPX entry, You must EXEC "login" for the lowest "shell"
Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
No UTMPX entry, You must EXEC "login" for the lowest "shell"
Hi,
I had the above problem on my server and would like your advice to resolve it.
The problem happened when I restored the /etc/passwd and shadow file as the /etc/passwd file was accidenttally deleted. Lucky thing was, I have both the files' backup which created about 2 weeks ago.
Not new to Solaris but not expert either!
I'm having the same problem but I cannot log in at all. This may or may not be the same as what you'd just explained. The only reason I specify not being able to log in is that I cannot issue the commands you suggested. So I guess the question is; How do I access the FS to make the necessary changes?
May be had you a file system full on /var (or on / is no /var slice exists), and your utmpx was corrupted.
Check you have sufficient space in / and /var,
try emptying /etc/utmpx:
mv /etc/utmpx /etc/utmpx.old
touch /etc/utmpx
and reboot
This worked. I was able to login eventually as root by using LOMA, as a console login. I found that the FS was pretty much full so I cleaned up a bit and everything was fine again.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.