root password

More
26 Jun 2012 01:49 #21331 by lendrum
root password was created by lendrum
Could someone tell me what root password is created by the live CD install?

Please Log in or Create an account to join the conversation.

More
26 Jun 2012 09:27 #21338 by ArcEye
Replied by ArcEye on topic Re:root password
Hi,

The answer is none.
Ubuntu are a complete PITA when it comes to root logins etc. They want to deny use of root for everything.

Fortunately there are ways around it.

Easiest way, from a terminal:-

$ sudo passwd root
When prompted for a password, give your user password
When prompted for the root password, give something suitable
Now enter
$ sudo passwd -u root
You will get a reply like 'password expiry info updated' or similar
Now enter
$ su root
Enter the root password when prompted
You should now have a root prompt '#' and you are ready to go.

If you use gdm, you will probably have to edit gdm.conf to allow a root login.

You may also want to go into user manager and make sure that root is a member of all groups etc.
Seem to recall not everything was ticked.

regards

Please Log in or Create an account to join the conversation.

More
26 Jun 2012 10:45 #21346 by BigJohnT
Replied by BigJohnT on topic Re:root password
I can't help but wonder why you need a root password... I've never needed to use it with Ubuntu. Do you know about sudo?

John

Please Log in or Create an account to join the conversation.

More
26 Jun 2012 13:32 #21363 by lendrum
Replied by lendrum on topic Re:root password
Thanks to ArcEye for the route to the root. I will try that.
I need root to change rtapi.conf to shut down the smi interupt that delays the real time system. Is there a better way to do that?

Please Log in or Create an account to join the conversation.

More
26 Jun 2012 16:14 #21367 by BigJohnT
Replied by BigJohnT on topic Re:root password
"sudo gedit" in a terminal will open up an editor with root power!

John

Please Log in or Create an account to join the conversation.

More
27 Jun 2012 15:56 #21393 by andypugh
Replied by andypugh on topic Re:root password
lendrum wrote:

Thanks to ArcEye for the route to the root. I will try that.
I need root to change rtapi.conf to shut down the smi interupt that delays the real time system. Is there a better way to do that?


gksudo gedit will open gedit with the power to edit everything.

Note that on a 2.5 LiveCD there is an /etc/emc2/rtapi.conf file, but editing that won't help.
You need to edit /etc/linuxcnc/rtapi.conf.

(Which reminds me, I ought to fix the Wiki)

Please Log in or Create an account to join the conversation.

More
29 Jun 2012 18:53 #21461 by lendrum
Replied by lendrum on topic Re:root password
I am using 2.4.3 so this problem did not happen.
I tested sudo gedit and it works so the root password is not needed.
The lathe is running great now. Thanks for all your help.

Please Log in or Create an account to join the conversation.

More
29 Jun 2012 20:06 #21463 by BigJohnT
Replied by BigJohnT on topic Re:root password
I love it when a plan comes together...

John

Please Log in or Create an account to join the conversation.

More
01 Apr 2015 20:31 #57372 by johnl2
Replied by johnl2 on topic Re:root password
Yes, this is what I need for Debian Wheezy! Is there something similar for Wheezy?

Thanks and sorry for butting in!

John

Please Log in or Create an account to join the conversation.

More
01 Apr 2015 20:46 #57374 by ArcEye
Replied by ArcEye on topic Re:root password
Hi

Wheezy asks if you want to set up a root password and then very often does nothing

These instructions will allow you to set one

www.linuxcnc.org/index.php/english/forum...rrect-password#52203

regards

Please Log in or Create an account to join the conversation.

Time to create page: 0.091 seconds
Powered by Kunena Forum