1833059 Members
2700 Online
110049 Solutions
New Discussion

Re : Single User Login

 
Serge Uranie
Occasional Contributor

Re : Single User Login

Is there a way to allow single user login without interacting with ISL ?


Thanx for your replies
Feel the tropical climate
5 REPLIES 5
Denver Osborn
Honored Contributor

Re: Re : Single User Login

As referenced from shutdown(1M)

If neither -r (reboot) nor -h (halt) is specified, standalone and server systems are placed in single-user state. Either -r (reboot) or -h (halt) must be specified for a client; shutdown to single-user state is not allowed for a client.

# shutdown -y 0
Richard Darling
Trusted Contributor

Re: Re : Single User Login

# shutdown 0
will bring you into single user mode. However, if you are attempting to do any type of maintenance on /usr or /var where they need to be unmounted (ex. - extending either one) this won't work because they remain mounted. In that case you need to lgin from the ISL prompt.
Rita C Workman
Honored Contributor

Re: Re : Single User Login

I agree 'shutdown 0' will put you in single user.

Now maybe I'm mistaken (it wouldn't be the first time..). But I have also, at this point, extended /var on systems. I simply did a umount of /var and then extended it. Remounted it and to date I haven't had any problems with the systems.

Regards,
Sejal Joshi
Occasional Contributor

Re: Re : Single User Login

Run "init s" from command prompt to bring system in single user mode.
How to analyze HPMC Chassis codes???
Dan Hetzel
Honored Contributor

Re: Re : Single User Login

Hi,

If you want to boot single user every time
without interacting with ISL, simply edit
the initdefault entry in /etc/inittab

Change 3 into 1 and you're ready.

Next time you reboot, your system will boot
in init mode 1 (single user)

Dan
Everybody knows at least one thing worth sharing -- mailto:dan.hetzel@wildcroft.com