Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Ubuntu command line privilege

Thread Tools
 
Search this Thread
 
Old 06 June 2013, 01:16 PM
  #1  
john banks
Scooby Regular
Thread Starter
 
john banks's Avatar
 
Join Date: Nov 2000
Location: 32 cylinders and many cats
Posts: 18,658
Likes: 0
Received 1 Like on 1 Post
Default Ubuntu command line privilege

I have Ubuntu 10.04 with LinuxCNC and all is installed. I'm using a PCI parallel port which I need to install drivers for which are on a CD and there are instructions, but I cannot copy the install to where I want it (I temporarily put it in Home/banks/documents/temp I think) or run the install script because of privileges.

Is there a simple way to get a terminal window and/or file manager window elevated so that everything that goes through there is administrator privileges? I can use sudo before individual commands, but the commands inside a script or batch file or whatever it is called are not elevated.

The hardware works as the parallel port works in XP with Mach 3, but there was an .exe on the CD to run for the drivers and all worked (ie I could make all three axes move on my new CNC mill) once I found the port address to tell Mach 3.

Last edited by john banks; 06 June 2013 at 01:17 PM.
Old 06 June 2013, 01:44 PM
  #2  
mike1210
Scooby Regular
 
mike1210's Avatar
 
Join Date: Apr 2004
Location: Cardiff
Posts: 1,928
Likes: 0
Received 0 Likes on 0 Posts
Default

On OSX I use:

sudo bash

which elevates the command line to root, every command then goes as root

Born Again SHell I believe it means.
Old 06 June 2013, 01:47 PM
  #3  
mike1210
Scooby Regular
 
mike1210's Avatar
 
Join Date: Apr 2004
Location: Cardiff
Posts: 1,928
Likes: 0
Received 0 Likes on 0 Posts
Default

However

http://ubuntu-tutorials.com/2008/05/...the-right-way/

this link shoots me down for suggesting that
Old 06 June 2013, 03:49 PM
  #4  
jonc
Scooby Regular
 
jonc's Avatar
 
Join Date: Apr 2002
Posts: 7,635
Likes: 0
Received 18 Likes on 13 Posts
Default

Try 'gksudo nautilus' from a terminial window.
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Pro-Line Motorsport
Car Parts For Sale
48
21 July 2017 09:50 PM
Ganz1983
Subaru
5
02 October 2015 09:22 AM
Pro-Line Motorsport
Car Parts For Sale
2
29 September 2015 07:36 PM
Pro-Line Motorsport
ScoobyNet General
9
28 September 2015 09:48 PM
Pro-Line Motorsport
Car Parts For Sale
0
27 September 2015 11:23 AM



Quick Reply: Ubuntu command line privilege



All times are GMT +1. The time now is 09:40 AM.