Results 1 to 4 of 4

Thread: Running programs as root, what is the command?

  1. #1
    Junior Member
    Join Date
    Jan 2006
    Location
    Norway
    Posts
    4

    Running programs as root, what is the command?

    I am a bit unsure where to put this topic, I got a HD Install (Debian from the Knoppix DVD by the way) to a brand new Maxtor 80Gb HD (Tried regular DVD booted Knoppix, it felt a lot greater than Windows ever did. So I will be using it more often now)

    However, the problem I got is the aircrack program (A little white hat challenge that my dad has issued me, he thinks WEP is secure, and I want to proove him wrong.)
    As I am relatively new to Linux I am still not familiar with all the commands used in the shell or the different shells.
    But my main issue is that the Airodump program (Aircrack is a package) need to be runned as root via a shell.
    THAT is where the problems starts, running it from the root shell just spits out "Unknown Command" errors and when running it from a regular shell it spits out an error about lacking root access.

    My guess is that I am missing a command here, what I need is a command that allows me to run this program from the root shell I think, keep in mind that the program has quite a few additional parameters that needs to be entered after the program name (Like "gksu -u root" for an example, the -u is one parameter.)
    This root stuff is quite frustrating too, I guess I should look around for a guide on how to install drivers as well (Found some updated WLAN drivers for my Ralink 2500 chipset)

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY USA
    Posts
    1,510
    root user & command explanation here http://www.knoppix.net/forum/viewtopic.php?t=11500

  3. #3
    Junior Member
    Join Date
    Jan 2006
    Location
    Norway
    Posts
    4
    Thanks UnderScore, but that topic wasn't much of help as the info that was in the topic is allready of knowledge to me.

    However, that was the bad news... The good news is that I have figured it out.
    For future reference the solution to running programs was so simple that I feel stupid for not figuring it out.
    But I will post it here for future reference for others that may run into the same type of problem:

    When you are logged in as root in the console it works very different than DOS.
    It does NOT check files in the selected directory, it checks directly at the harddrive where Linux is installed (In Knoppix from LiveCD/DVD that is the Ramdrive I think)

    So when you want to run a program you will have to point out its directory as well.
    In my case it was: /home/(username)/aircrack/airodump (Insert the parameters here) and then it should run.
    Remember that you will have to include the executable name into the path as well, then it should work.

    Thanks again UnderScore.

  4. #4
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    OR you could do a ./ infront of the comand, that makes the shell interpret the command as "something to run is in this directory",
    eh, how does that work? in this case, say you stand in the /home/(username)/aircrack/airodump
    directory and wat to run iairodump, you then type ./airodump.
    hope it helps.

Similar Threads

  1. Replies: 29
    Last Post: 01-10-2005, 06:01 PM
  2. running programs in knoppix
    By computerman0216 in forum General Support
    Replies: 1
    Last Post: 01-15-2004, 03:35 AM
  3. Problem with Running Programs in 3.3
    By Tuschedz in forum General Support
    Replies: 3
    Last Post: 10-03-2003, 06:42 AM
  4. Running programs on fluxbox initialization
    By brainlessdumb in forum Customising & Remastering
    Replies: 0
    Last Post: 04-28-2003, 02:23 PM
  5. Running Programs
    By Mycroft1855 in forum Customising & Remastering
    Replies: 4
    Last Post: 02-16-2003, 11:19 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
  •  


Fanxiang SSD 4TB 2TB 1TB PS5 SSD M.2 NVME SSD 7300MBS PCIe 4.0 Solid State Drive picture

Fanxiang SSD 4TB 2TB 1TB PS5 SSD M.2 NVME SSD 7300MBS PCIe 4.0 Solid State Drive

$246.99



Fanxiang 4TB 2TB 1TB SSD 550MB/s 2.5'' SATA III Internal Solid State Drive lot picture

Fanxiang 4TB 2TB 1TB SSD 550MB/s 2.5'' SATA III Internal Solid State Drive lot

$188.99



4tb Ssd 870evo Internal Solid State Drive Hard Disk 2.5 Inch Sata SSD For Laptop picture

4tb Ssd 870evo Internal Solid State Drive Hard Disk 2.5 Inch Sata SSD For Laptop

$47.79



Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot picture

Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot

$119.99



Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5

Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot

$15.50



WD BLUE 3D NAND 250GB 2.5

WD BLUE 3D NAND 250GB 2.5" SATA Laptop SSD Solid State Tested,Wiped -WDS250G2B0A

$16.00



Patriot P300 128G 256GB 512GB 1TB 2TB M.2 2280 PCIe Gen3x4 NVMe Internal SSD Lot picture

Patriot P300 128G 256GB 512GB 1TB 2TB M.2 2280 PCIe Gen3x4 NVMe Internal SSD Lot

$16.99



SSD 512GB 1/2/4TB 870 EVO SATA III SSD 2.5'' Solid State Drive Upgrade PC Laptop picture

SSD 512GB 1/2/4TB 870 EVO SATA III SSD 2.5'' Solid State Drive Upgrade PC Laptop

$39.99



Fanxiang SSD 4TB 2TB 1TB 512GB SATA SSD 2.5'' III Internal Solid State Drive lot picture

Fanxiang SSD 4TB 2TB 1TB 512GB SATA SSD 2.5'' III Internal Solid State Drive lot

$108.29



Fanxiang M.2 SATA SSD 2TB 1TB 512GB 256GB SSD Internal M2 Solid State Drive Lot picture

Fanxiang M.2 SATA SSD 2TB 1TB 512GB 256GB SSD Internal M2 Solid State Drive Lot

$109.99