Results 1 to 4 of 4

Thread: How do you run things as root?

Hybrid View

  1. #1
    Member registered user
    Join Date
    Sep 2004
    Posts
    72

    How do you run things as root?

    I know this sounds really stupid but how do you run scripts as root. i have an install if that makes a difference.

  2. #2
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    949
    sudo command

    or

    su

    if you want to stay root.

  3. #3
    Member registered user
    Join Date
    Sep 2004
    Posts
    72
    But say that I had a script in my home, called SCRIPT, then how would I run that as root.

  4. #4
    Member registered user
    Join Date
    Oct 2004
    Posts
    36
    Quote Originally Posted by adamherb
    But say that I had a script in my home, called SCRIPT, then how would I run that as root.
    sudo ./script
    or if you are not in the sudoers list

    su
    enter root password if needed
    then
    ./script

    the file has to be executable
    chmod +x script

    linux is case sensitive, so if it is SCRIPT you must type it as such.

Similar Threads

  1. Where does wine keep things?
    By pluto in forum General Support
    Replies: 2
    Last Post: 09-14-2005, 01:59 AM
  2. how to get apt and dpkg seeing the same things?
    By arkaine23 in forum Customising & Remastering
    Replies: 3
    Last Post: 05-08-2004, 11:37 PM
  3. DVD and other things about 3.4
    By firebyrd10 in forum General Support
    Replies: 0
    Last Post: 05-06-2004, 02:59 AM
  4. 2 things that still bug me
    By fingers99 in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 05-26-2003, 01:32 AM
  5. Some things I have added
    By linuxfan in forum Ideas
    Replies: 2
    Last Post: 04-03-2003, 04:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Supermicro 2U X10DRU-i 2x E5-2680 v3 2.5ghz 32gb Ram  240gb SSD 2x GPU *READ* picture

Supermicro 2U X10DRU-i 2x E5-2680 v3 2.5ghz 32gb Ram 240gb SSD 2x GPU *READ*

$369.99



HP ProLiant MicroServer Gen8 G1610T @2.3 GHz, 16GB, 712317-001 NO HDD/OS picture

HP ProLiant MicroServer Gen8 G1610T @2.3 GHz, 16GB, 712317-001 NO HDD/OS

$199.00



Supermicro E200-8D Barebones Server Chassis Xeon D-1528 X10SDV-6C-TLN4F 2x10GbE picture

Supermicro E200-8D Barebones Server Chassis Xeon D-1528 X10SDV-6C-TLN4F 2x10GbE

$445.00



Nasuni NF-50 Supermicro Server, Atom CPU C2558, @ 2.40GHz, 8GB RAM-No HDD/OS/AC picture

Nasuni NF-50 Supermicro Server, Atom CPU C2558, @ 2.40GHz, 8GB RAM-No HDD/OS/AC

$250.00



New Barebones Supermicro 5019D Server, 4C/8T Xeon D-2123T, 1U Rackmountable, 10G picture

New Barebones Supermicro 5019D Server, 4C/8T Xeon D-2123T, 1U Rackmountable, 10G

$449.99



HPE ProLiant MicroServer Gen10 Opteron X3421 32GB DDR4 Intel X550 10GbE No HDD picture

HPE ProLiant MicroServer Gen10 Opteron X3421 32GB DDR4 Intel X550 10GbE No HDD

$599.00



Supermicro 5019D-4C-FN8TP Xeon D-2123IT (4C/8T) 64GB DDR4 10GbE 480GB 1U Server picture

Supermicro 5019D-4C-FN8TP Xeon D-2123IT (4C/8T) 64GB DDR4 10GbE 480GB 1U Server

$689.00



Supermicro CSE-732 Mid-Tower Server Chassis w/ Supermicro X10DRi 2x Xeon E5-2620 picture

Supermicro CSE-732 Mid-Tower Server Chassis w/ Supermicro X10DRi 2x Xeon E5-2620

$325.00



Supermicro 505-2   Server picture

Supermicro 505-2 Server

$280.00



Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset picture

Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset

$129.99