Anyone know the default "su" & "sudo" password?

Any technical questions about the Epiphany chip and Parallella HW Platform.

Moderator: aolofsson

Anyone know the default "su" & "sudo" password?

Postby slowboy » Tue May 20, 2014 10:53 pm

I've been trying some examples, but they ask for "su" password.
I guess what I need is the admin password. Thanks.

slowboy
slowboy
 
Posts: 8
Joined: Mon Dec 17, 2012 12:52 pm

Re: Anyone know the default "su" & "sudo" password?

Postby ronyoung1 » Tue May 20, 2014 11:40 pm

Typically, on ubuntu/debian derived distributions, the root (admin) password is randomly generated.
They intend for you to use "sudo" to execute commands, something like (after you login to linaro):
In a terminal window:
sudo su

this will give you a root shell, you can use other commands, i.e.:

sudo reboot

If you want actually assign a new password to root, do something like:
(again from linaro command line)

sudo su
passwd
<<<enter new password for root>>>
ronyoung1
 
Posts: 2
Joined: Mon Dec 17, 2012 3:29 am

Re: Anyone know the default "su" & "sudo" password?

Postby hamster » Wed May 21, 2014 12:23 am

I think it is "linaro" - not in front of my Parallella at the moment.

== Point for discussion ==
Real admins use root, and tread carefully. Only fools run as a non-priviledge user, and habitually prefix every command with "sudo".
======================

Well at least that is my view on small single-user systems where the worst that can happen is is that you need to reimage an SD card....
hamster
 
Posts: 75
Joined: Mon Dec 17, 2012 3:23 am
Location: New Zealand

Re: Anyone know the default "su" & "sudo" password?

Postby ronyoung1 » Wed May 21, 2014 3:55 am

not to beat a dead horse, but linaro is an ubuntu /debian derivitive.

things that you can do on a single user system is not necessarily good to do on a multi user system.
The original poster asked how to do something, I told them how to do what they
wanted and also told them why.

doing an "rm -rf ." as root in the wrong place can mess up your whole day. of course you shouldn't just blindly prefix a "sudo" to each command.

your line of reasoning of always running as root would not go down very well on my real machines (multiple clusters ranging from about 300 cores to over 20000 each). You limit the root commands to just what is essential. For example, instead of configuring/building/installing a package completely as root, I suggest it is safer to configure/build as a regular user then do a "sudo make install". The nice things about these small credit card machines is that if you want to do unsafe things, you can. If I don't want to, I don't have to...
ronyoung1
 
Posts: 2
Joined: Mon Dec 17, 2012 3:29 am

Re: Anyone know the default "su" & "sudo" password?

Postby slowboy » Wed May 21, 2014 3:51 pm

Hi guys,
First, thanks Ron for the tip. It did the trick. Hamster, point well taken.
Second, I'm acquainted just enough with linux to be extra careful when using
root priveledges (sp?). But, as an experimenter and the actual owner of this
board I think it's a given that I be able to not be denied any action possible.
Linux makes it diffulcult to do the most basic things sometimes because of
denied permissions. I have no intention to live in root, but, sometimes it's just
easier.
Lastly, does anyone have a good recommendation for a straight forward
linux tutorial geared toward programmers. Preferable entirely online.

slowboy
slowboy
 
Posts: 8
Joined: Mon Dec 17, 2012 12:52 pm


Return to Epiphany and Parallella Q & A

Who is online

Users browsing this forum: No registered users and 17 guests

cron