Re: how recover a root pass in SCO Unix, I need some help.



Loki Harfagr wrote:
Le Thu, 27 Jul 2006 16:06:51 -0400, Chris Mattern a écrit :
Almost all systems require the root password to boot into single user
mode these days.

Is this something you could give any precision, documentation,
track to search about ?
Not that I'd be acting as a 'negationnist' but the idea just
looks quite counter-productive (that'd be in corp world, if
in the only mostly human real-mode I'd have said "this would
be like sawing the branch you're sitting on including the
chamber of the gun laying on it aiming at your balls (OK, *and foot*)
but your mileage may worry ?-)

Er, maybe was it some FUD seen on /. or AOL ?

It's generally quite true. For most UNIX(/LINUX/BSD) it's quite
commonly and typically the case that the root password is required to
boot into single user mode - at least when booting from the "normal"
default boot media (e.g. the installed operating system on the hard
drive). For security and other reasons this generally considered a
"good thing" ... well, at least more often than not. Some OS flavors
have ways of bypassing the password requirement to boot to single user
mode. For others, it's a configurable option. E.g., off the top of
my head, at least from memory:
SCO required
HP-UX default not required, commonly changed from default to require
Solaris required
LINUX highly configurable to require and be difficult to infeasible to
bypass when booting from the normal boot media, to being easy to
bypass and not requiring it; defaults vary by distribution

Most - and probably all - UNIX(/LINUX/BSD) implementations can have
the requirement bypassed - this typically requires booting from
alternate/alternative media (or partition, etc.) and/or access to
console and/or physical access to the hardware. From security basics
101, if the hardware is accessible, most all security (short of
strong encryption) can be bypassed. UNIX(/LINUX/BSD) is not
different in this regard. One generally can't determine what the
root password was (at least not easily and quickly and with
negligible resource use/consumption), but one can generally bypass it
(change or remove the root password). This generally requires access
to console and/or hardware to be able to boot off alternate media.
Some systems even include additional hardware/firmware/BIOS/EEPROM
protections to make it more difficult to easily boot from alternative
media. E.g. some have security options that won't allow booting from
alternative media/devices, without either entering some specific
password and/or removing the configured boot device (I know at least
some earlier Hewlett-Packard PA-RISC hardware included such
capabilities - not sure if those "features" are still present in the
most current hardware. Much modern-day x86 hardware has some similar
capabilities - such as ability to lock down under password control
any ability to boot from alternate devices/media).

Want some hard data on which ones do/don't require root password to
boot to single user mode? Do some searches on boot single user mode
for each operating system in question - in many cases you'll readily
find examples and/or documentation as to whether or not root password
is required - and digging a bit further, whether or not that is a
configurable option.

These questions might also be better asked/addressed/answered in:
news:comp.unix.admin
and/or
news:comp.security.unix

.



Relevant Pages

  • Re: Irix password problem
    ... I don't know the root password ... You can boot in single user mode: at "stop for maintenance" prompt, ... if you have a SCSI enabled linux box lying ...
    (comp.sys.sgi.admin)
  • Re: password
    ... If you've lost your root password, you might be able to recover it this way. ... some systems are protected with boot loader passwords that won't let ... configured to still ask for a root password to get to single user mode. ... "mount" may say it is). ...
    (Fedora)
  • RE: Recover SCO UNIX root password
    ... With red hat you can change the kernel boot level in grub/lilo by adding ... If you boot into single user mode on SCO you should then be able to ... > I am trying to recover or reset the root password from a SCO Unix ...
    (Security-Basics)
  • Re: password reset grub
    ... > i have a firewall running redhat linux 7.2 and grub as boot loader. ... > the root password. ... > tried loading it to single user mode but it asks me for root password for ...
    (comp.os.linux.security)
  • Re: firewire hangs system at boot
    ... boot to single user mode and edit the file modprobe.conf ... > hardware and again the firewire hangs it... ... If only once I could boot I could change the ... > AV> I believe, what you want to do, is enter edit mode on grub, by hitting ...
    (Fedora)