Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Booting OSF/1 on DEC 3000/400 into single user mode
@ 1993-06-25 21:52 Jacob Levanon
  1993-06-28  8:25 ` James Bonfield
  1993-06-28 15:35 ` Dr Marco Luchini
  0 siblings, 2 replies; 5+ messages in thread
From: Jacob Levanon @ 1993-06-25 21:52 UTC (permalink / raw)



Greetings:
  What is the flag to boot OSF/1 1.2 into single user mode?  We have a
situation where there are no user accounts, and the root password was
apparently mistyped in a similar fashion, when entered and verified.  In
short, there is no way to get to the on-line docs and there is no way I
know of, to change the  root password (except for booting into single
user).

Thanks.
 /====================================================================\
|| Jacob Levanon                   /\            Network Applications ||
|| University Computing Services   ||             levanon@indiana.edu ||
|| Indiana University              ||                  (812) 855-2598 ||
|| 750 N. State Road 46-Bypass     ||  ...reserved for                ||
|| Bloomington, IN  47405          \/                   future use... ||
 \====================================================================/



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Booting OSF/1 on DEC 3000/400 into single user mode
  1993-06-25 21:52 Booting OSF/1 on DEC 3000/400 into single user mode Jacob Levanon
@ 1993-06-28  8:25 ` James Bonfield
  1993-06-29  8:37   ` Dierick Dominique
  1993-06-28 15:35 ` Dr Marco Luchini
  1 sibling, 1 reply; 5+ messages in thread
From: James Bonfield @ 1993-06-28  8:25 UTC (permalink / raw)


In <C9763L.J0D@usenet.ucs.indiana.edu> levanon@browneyes.ucs.indiana.edu (Jacob Levanon) writes:

> Greetings:
>   What is the flag to boot OSF/1 1.2 into single user mode?  We have a

As far as I remember you have to set a variable within the PROM (the 'console
mode'). It's something like 'set BOOT_OSFFLAGS s', but probably not that
precisely. You should be able to see the name of the variable ('show' I think
will do this) and it's default value 'a'. It basically corresponds to the
argument to the /sbin/init process as far as I can tell.

This is on the Alpha. I would imagine that other vendors would  use different
console modes. Now whilst we're on the subject - does anyone know how to
successfully enter the PROM mode, do a few things (such as find out the
information Jacob needs) and then correctly resume without need of a reboot?
There is, as I recall, a command to do this, but the times I tried it failed
to work.

	James


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Booting OSF/1 on DEC 3000/400 into single user mode
  1993-06-28 15:35 ` Dr Marco Luchini
@ 1993-06-28 14:55   ` Harley Privitera
  0 siblings, 0 replies; 5+ messages in thread
From: Harley Privitera @ 1993-06-28 14:55 UTC (permalink / raw)


In article <LUCHINI.93Jun28113539@femto.ic.ac.uk> luchini@ic.ac.uk (Dr Marco Luchini) writes:

> As far as I know the only way to get single user from a running system
> once you are actually logged in is "init s".

# shutdown now

will also bring you from multi to single user mode.

/harley
--
Harley Privitera			Internet: harley@shr.dec.com
Digital Equipment Corp.			UUCP:     ...!decwrl!shr.dec.com!harley
333 South St				Voice:	  (508) 841-2087
Shrewsbury, MA 01545-4112		#include  std.disclaimer

	2020DELTA2030ALPHA2040JSYS2050MOLSEN2060HIKE


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Booting OSF/1 on DEC 3000/400 into single user mode
  1993-06-25 21:52 Booting OSF/1 on DEC 3000/400 into single user mode Jacob Levanon
  1993-06-28  8:25 ` James Bonfield
@ 1993-06-28 15:35 ` Dr Marco Luchini
  1993-06-28 14:55   ` Harley Privitera
  1 sibling, 1 reply; 5+ messages in thread
From: Dr Marco Luchini @ 1993-06-28 15:35 UTC (permalink / raw)


In article <C9763L.J0D@usenet.ucs.indiana.edu> levanon@browneyes.ucs.indiana.edu (Jacob Levanon) writes:

> Greetings:
>   What is the flag to boot OSF/1 1.2 into single user mode?  We have a
> situation where there are no user accounts, and the root password was
> apparently mistyped in a similar fashion, when entered and verified.  In
> short, there is no way to get to the on-line docs and there is no way I
> know of, to change the  root password (except for booting into single
> user).
> 
> Thanks.
>  /====================================================================\
> || Jacob Levanon                   /\            Network Applications ||
> || University Computing Services   ||             levanon@indiana.edu ||
> || Indiana University              ||                  (812) 855-2598 ||
> || 750 N. State Road 46-Bypass     ||  ...reserved for                ||
> || Bloomington, IN  47405          \/                   future use... ||
>  \====================================================================/
> 

The system boots in multi-user if the environment variable BOOT_OSFLAGS
is set to "A".  If it is set to "" then you get single user which is the
default.  So either setenv BOOT_OSFLAGS "" at the >>> prompt or use
"b -fl" to temporarily ignore the setting of BOOT_OSFLAGS.  

Once you get your Docs online check section 2.3 of the "Guide to System
Administration".

As far as I know the only way to get single user from a running system
once you are actually logged in is "init s".

Until I read your post and was spurred to go and read the Docs I used to
CTRL-C during fsck to get it to abort and give me single user...


Ciao,							Marco

--

-------------------------------------------------------------------------
Marco Luchini                            Internet : luchini@ic.ac.uk
Department of Mathematics                Telephone: +44 71 589 5111 x5765     
Imperial College                               Fax: +44 71 225 8361
London SW7 2BZ, UK                             
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Booting OSF/1 on DEC 3000/400 into single user mode
  1993-06-28  8:25 ` James Bonfield
@ 1993-06-29  8:37   ` Dierick Dominique
  0 siblings, 0 replies; 5+ messages in thread
From: Dierick Dominique @ 1993-06-29  8:37 UTC (permalink / raw)



In article <1993Jun28.082541.17874@dcs.warwick.ac.uk>, rince@dcs.warwick.ac.uk (James Bonfield) writes:
>Newsgroups: comp.unix.osf.osf1
>From: rince@dcs.warwick.ac.uk (James Bonfield)
>Subject: Re: Booting OSF/1 on DEC 3000/400 into single user mode 
>
>In <C9763L.J0D@usenet.ucs.indiana.edu> levanon@browneyes.ucs.indiana.edu (Jacob Levanon) writes:
>
>> Greetings:
>>   What is the flag to boot OSF/1 1.2 into single user mode?  We have a
>
>As far as I remember you have to set a variable within the PROM (the 'console
>mode'). It's something like 'set BOOT_OSFFLAGS s', but probably not that
>precisely. You should be able to see the name of the variable ('show' I think
>will do this) and it's default value 'a'. It basically corresponds to the


On the console prompt :


setenv boot_os_flags s
boot



	or - less permanent

boot -fl s


Dominique Dierick


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1993-06-29  8:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-06-25 21:52 Booting OSF/1 on DEC 3000/400 into single user mode Jacob Levanon
1993-06-28  8:25 ` James Bonfield
1993-06-29  8:37   ` Dierick Dominique
1993-06-28 15:35 ` Dr Marco Luchini
1993-06-28 14:55   ` Harley Privitera

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox