GoFlex Net cannot enter as root

This forum is for topics dealing with problems with software specifically in the ARMv5 repo.

GoFlex Net cannot enter as root

Postby argent88 » Fri Oct 16, 2015 11:04 am

Hello guys, I am Argent.

I installed ArchlinuxARM on my GoFlex Net as explained by the guide but I cannot enter as root.

I tried a little the device with his original firmware to check it worked, re-activated ssh with a password of mine.
Then I went for installing ArchlinuxARM, rebooted and boom!
I can login to alarm but cannot login to root with puppy from windows10.
Tried to edit some files with Puppy Linux and Knoppix but still a no go.

Right now I have a Ubuntu 64 bit with qemu and I am trying to chroot and I am at this point:

"chroot /media/ubuntu/6478678 /usr/bin"

and it will say

"chroot: failed to run command '/bin/bash': Permission Denied"

I need root to install webmin and packages.
If you say a fresh install would be better just tell where it is, I can try that!

Have a nice day, Argent
argent88
 
Posts: 5
Joined: Fri Oct 16, 2015 10:17 am

Re: GoFlex Net cannot enter as root

Postby WarheadsSE » Fri Oct 16, 2015 1:50 pm

Stop logging in as root. It's a bad practice anyways.

However, if you read the official instructions, what is needed to become root is clear.

As for chroot'ing, you can't chroot from an x86 to an ARM userland.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: GoFlex Net cannot enter as root

Postby argent88 » Sat Oct 17, 2015 7:10 am

Trouble is I am unable to log in as root at the moment.
Official instructions for my device say that logging as root/root works, it does not.
I just want to install things as root (webmin, transmission, samba..).
argent88
 
Posts: 5
Joined: Fri Oct 16, 2015 10:17 am

Re: GoFlex Net cannot enter as root

Postby WarheadsSE » Sat Oct 17, 2015 11:47 am

root/root will NOT work over SSH.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: GoFlex Net cannot enter as root

Postby moonman » Sat Oct 17, 2015 7:44 pm

Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: GoFlex Net cannot enter as root

Postby argent88 » Sun Oct 18, 2015 6:02 pm

I feel dumb now. Really.
I thought I needed to root to install packages with pacman.

Is there an easy way to install from pacman with the alarm user over ssh?

Sorry for the stupid questions, I am new to ArchLinux.
argent88
 
Posts: 5
Joined: Fri Oct 16, 2015 10:17 am

Re: GoFlex Net cannot enter as root

Postby hecatae » Sun Oct 18, 2015 6:43 pm

@argent88

as the alarm user you have two options:

1. type su, enter root password
2. give alarm sudo rights
hecatae
 
Posts: 32
Joined: Tue Nov 18, 2014 9:17 pm

Re: GoFlex Net cannot enter as root

Postby argent88 » Sun Oct 18, 2015 9:19 pm

Thank you.
First option does not seem to work right now.
Second option, can you tell me how do I do that please?
argent88
 
Posts: 5
Joined: Fri Oct 16, 2015 10:17 am

Re: GoFlex Net cannot enter as root

Postby moonman » Mon Oct 19, 2015 4:09 am

You can't do second option because sudo is not installed by default.

Just Login as alarm/alarm
Then
$this->bbcode_second_pass_code('', 'su root')
and you are root. Install sudo, put alarm user in sudoers list. Done. Google is your friend here.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: GoFlex Net cannot enter as root

Postby argent88 » Mon Oct 19, 2015 10:10 am

Maybe I have successfully deleted root password.
Your istructions do not work at the moment.
I may reset my system to follow your steps if I find a guide.
argent88
 
Posts: 5
Joined: Fri Oct 16, 2015 10:17 am


Return to ARMv5

Who is online

Users browsing this forum: No registered users and 9 guests