tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: su(1) in /rescue?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 07.10.2015 12:38, John Nemeth wrote:
> On Oct 7, 11:04am, Kamil Rytarowski wrote: } } I ran into issues
> with corrupting dynamic linker in the kernel (at } run-time) and
> just statically-linked executables were working. Sadly I } was
> logged as a normal user and I was unable to switch to root and }
> gracefully reboot(8) the machine. Killing the login at
> serial-interface } resulted in dying it after reset.
>
> I usually add myself to the operator group. That allows me to run
> shutdown(8) as a regular user. Also, assuming a relatively recent
> PC (i.e. last 10 years or so), if you haven't removed ACPI from the
> kernel, you can just poke the power button briefly. This will
> normally result in an ACPI event being generated, which will result
> in a proper shutdown. Some other platforms have soft powerdown as
> well.
>
> }-- End of excerpt from Kamil Rytarowski
>
Good point on the operator group, I will go for it. Unfortunately I
was on a remote setup with just hard reset/shutdown button.
Since there are issues with PAM-NOPAM in su(1), I won't be touching it
for now as I have the good enough solution for me.
Thank you!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJWFfJSAAoJEEuzCOmwLnZs9r8P/1IQzFM/Ng9Cn2NUFmm9f70A
XlMWHYqepPPoEISmIBVY6MwOhfEHbFBEBPPP03bj6qMwGsI2rIK9NhWLhUnXZ6sB
bcCKcqMI7xwtztZvINMpS1ixWApRSNYtxXRqvOEeHl3f0PnJv5M9+KfPIHl9mNxH
kefwtSR0obGC/ckQ/vRc2kvTOVxtr5ROw6ahiZ9SBp1etRIfUoInJowbuORgWcGy
oGgJ4pi4RBmiobsKR3DHaJuti9C1ABfc2NIgFHesOBGRNf2vvC53eH2O+yyCIs6H
rE5GIoXXmRVeo3oCOU1Di+blDVMAdhMSCu96LIe7pLJ/jIziAmu0J5fWlkBJCwFE
5y0O6G2YYSVqP8A6em1W+ilpfTwAyZtT/OTf+NeBu8AygOXa4+Qw/j2bBuJipDWT
ANIECW3CmxE0pty7WWzNGaidyaV0xV+oSXAH7cqTjTccKZZ2v97HYduAwDsjYIpb
mjZ6eBNr/LxbHqrc6+6HT7Hxl7BPylUfGKRhPRHcOOC5IfLJoc2BiBBFj/qO+sTW
VNLeSxEZjmcJa1b/DOL3K4ekTR9Mx9yEKcjs8A8p/FqAkoJBE2ho/DmsmC8hHG/L
7VAiiL+dUL6jF/4g1Prqwn5HXFawtDQSbGk5pOzDCEx6xdnTLYQgHTN8v+yNIGLk
ZTabFJxBJfG+GrFXLm81
=UbOj
-----END PGP SIGNATURE-----
Home |
Main Index |
Thread Index |
Old Index