On 12/14/2016 06:33 PM, Gordan Bobic wrote:
You could just edit /etc/shadow and remove the password field.

That is on the sata drive. I will have to unplug the sata, hook it up to a sata/usb adapter to gain access to the shadow file from another system. Part of the reason I went with the Cubieboards was the sata interface.

It looks like there is a file in /boot/grub/loader that has the options entry and at that point it is booting off the sd card. So I think I can get it into single user mode. Will be trying this tomorrow.


On 14 Dec 2016 22:30, "Robert Moskowitz" <[email protected] <mailto:[email protected]>> wrote:

I connected a monitor and keyboard and rebooted the one system. Was just given the option list that I cannot edit.

    So what file on the sd card do I edit to add 'single'?

    thank you



    On 12/13/2016 11:19 PM, Robert Moskowitz wrote:

        I have been off doing other stuff and no time to work with arm
        systems and builds and my systems were just working fine until...

        First discovered no sudo.  I always had used su and never
        noticed no sudo.  Is there someway someone could send me the
        bin and I could run it from a usb drive from my user account?

        But since no sudo, I wanted to boot into single user mode to
        change root's password.  I hook up to the console serial port
        and power cycle the server.  I get a selection list of

        Centos Options
        1:        centos

        No way to up arrow and press A to append single mode to that.

        How do I get the system to boot into single mode?

        thanks

        Bob

        _______________________________________________
        users mailing list
        [email protected] <mailto:[email protected]>
        https://lists.redsleeve.org/mailman/listinfo/users
        <https://lists.redsleeve.org/mailman/listinfo/users>


    _______________________________________________
    users mailing list
    [email protected] <mailto:[email protected]>
    https://lists.redsleeve.org/mailman/listinfo/users
    <https://lists.redsleeve.org/mailman/listinfo/users>




_______________________________________________
users mailing list
[email protected]
https://lists.redsleeve.org/mailman/listinfo/users

_______________________________________________
users mailing list
[email protected]
https://lists.redsleeve.org/mailman/listinfo/users

Reply via email to