NEWS
LinuxCNC 2.5.2 Release
LinuxCNC 2.5.2 Update Released (changelog).
 
LinuxCNC 2.5.1 Release

LinuxCNC 2.5.1 Update Released (changelog). If the Package Manager does not prompt you to upgrade see this page.

 
LinuxCNC 2.5.0 Release
New major release (changelog). See the instructions to update your system from EMC 2.4 to LinuxCNC 2.5.
 

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: root password

root password 25 Jun 2012 18:49 #21331

  • lendrum
  • lendrum's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
  • Karma: 0
Could someone tell me what root password is created by the live CD install?
The administrator has disabled public write access.

Re:root password 26 Jun 2012 02:27 #21338

  • ArcEye
  • ArcEye's Avatar
  • OFFLINE
  • Moderator
  • Posts: 1333
  • Thank you received: 102
  • Karma: 129
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
The administrator has disabled public write access.

Re:root password 26 Jun 2012 03:45 #21346

  • BigJohnT
  • BigJohnT's Avatar
  • OFFLINE
  • Administrator
  • Posts: 4955
  • Thank you received: 87
  • Karma: 134
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
The administrator has disabled public write access.

Re:root password 26 Jun 2012 06:32 #21363

  • lendrum
  • lendrum's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
  • Karma: 0
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?
The administrator has disabled public write access.

Re:root password 26 Jun 2012 09:14 #21367

  • BigJohnT
  • BigJohnT's Avatar
  • OFFLINE
  • Administrator
  • Posts: 4955
  • Thank you received: 87
  • Karma: 134
"sudo gedit" in a terminal will open up an editor with root power!

John
The administrator has disabled public write access.

Re:root password 27 Jun 2012 08:56 #21393

  • andypugh
  • andypugh's Avatar
  • OFFLINE
  • Moderator
  • Posts: 4126
  • Thank you received: 141
  • Karma: 129
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)
The administrator has disabled public write access.

Re:root password 29 Jun 2012 11:53 #21461

  • lendrum
  • lendrum's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
  • Karma: 0
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.
The administrator has disabled public write access.

Re:root password 29 Jun 2012 13:06 #21463

  • BigJohnT
  • BigJohnT's Avatar
  • OFFLINE
  • Administrator
  • Posts: 4955
  • Thank you received: 87
  • Karma: 134
I love it when a plan comes together...

John
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 0.978 seconds
Powered by Kunena Forum
© 2013 LinuxCNC.org
Joomla! is Free Software released under the GNU General Public License.