Please note the new address for this forum : forum.excito.org. The old address redirects here but I don't know for how long. Thanks !
New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

Accessing root not working with su

Got problems with your B2 or B3? Share and get helped!
Post Reply
razor1394
Posts: 17
Joined: 23 Jun 2009, 06:37

Accessing root not working with su

Post by razor1394 »

Hello.

I have a really simple problem that baffles me. I changed the admin password to something I like better instead of admin but it doesn't work when I ssh in with my other account then type su (or su -).

I must have missed something? The old "admin" password doesn't work either. It seems It is the root account I need the password for and not admin?

I can still access both the admin and my new account through the web interface.

And did someone install sabnzbdplus? I see hellanzb is available in the debian repo but that is non interesting in my case apart from a emergency solution. Would it be sufficient to just add the sabnzbdplus repo lines from the sabnzbd repo into /etc/apt/sources.list?
ubbe
Posts: 40
Joined: 09 May 2009, 01:17

Re: Accessing root not working with su

Post by ubbe »

Hi try to use
login: admin
password: excito
or
su excito :shock:
razor1394
Posts: 17
Joined: 23 Jun 2009, 06:37

Re: Accessing root not working with su

Post by razor1394 »

Thanks a lot.

I see that sabnzbdplus is available in debian sid and there are too many conflicts with the ubuntu repo and etch. I usually run experimental software but I'm wondering if it would be a wise idea to move to sid on the Bubba?
ryz
Posts: 183
Joined: 12 Feb 2009, 06:03

Re: Accessing root not working with su

Post by ryz »

Hi razor1394,

Have I understand you correctly that you have changed the password for the user admin and the trying to use that password when running su without any user name given?

Then I think you have confused the admin user with the root user. The admin user on bubba is just an normal user as all other users. It is just that the user which is named admin (could have been anything) has gotten more privileged than you normal give an normal user. So if you want to change to the admin user you need to type

Code: Select all

su - admin
Noted should be that they are probably a lot of things that you need root privileged to do so that you can not do them as the admin user like running apt-get install.
razor1394
Posts: 17
Joined: 23 Jun 2009, 06:37

Re: Accessing root not working with su

Post by razor1394 »

The post ubbe made helped me with the login. I just needed the password for root.

Now I have installed sabnzbdplus manually and it wasn't that hard. It runs but I can't use the page on 8080 so I'm going to try another port.

I basically did this:

Go to root and
apt-get install python-cheetah python-cherrypy unzip par2 python-feedparser wget python-dev python-elementtree python-pyopenssl python-celementtree
Download and install unrar from here:

http://packages.debian.org/fi/etch/powe ... r/download

Get yenc-0.3 from SABnzbd site and install manually.

Get SABnzbdplus from http://www.sabnzbd.org/, unpack and run the python script with 'python SABnzbd.py'.

edit:

Something is blocking access to the page (firewall?) and I can't seem to fix it! Please help.

edit2:

to use as a service (recommended), add this to /etc/init.d/sabnzbdplus
#!/bin/sh

case "$1" in
start)
echo "Starting SABnzbd."
/usr/bin/sudo -u *USER* -H /home/*USER*/SABnzbd-0.4.11/SABnzbd.py -d -f /home/*USER*/.sabnzbd/sabnzbd.ini
;;
stop)
echo "Shutting down SABnzbd."
/usr/bin/wget -q --delete-after "http://localhost:*YOUR PORT*/sabnzbd/api?mode=shutdown&apikey=5eedee1566e5d764661a4c96498b98a0"
;;
*)
echo "Usage: $0 {start|stop}"
exit 1
esac

exit 0
Change *USER* and *YOUR PORT* to whatever you are using.

then make the script executable by using
chmod u+x /etc/init.d/sabnzbdplus
edit3:

I fixed the web interface!

It was just a matter of changing ip in sanbzbd.ini to 0.0.0.0.

Don't forget to use update-rc.d to make sabnzbdplus init script start on every boot.
Binkem
Posts: 388
Joined: 10 Jul 2008, 02:26

Re: Accessing root not working with su

Post by Binkem »

Found it: http://sabnzbd.sourceforge.net/yenc-0.3.tar.gz

Anyone know where to get Yenc for the bubba? Or is there someone who has it on the server?

Martijn
Post Reply