Operating Systems > Linux and UNIX

Here are few questions about Shell commands:)

<< < (2/2)

Master of Reality:

quote:Originally posted by bazoukas:
d) in NMAP, when i launch it, it says I am not in as root. I went into shell loged as root and launched the program through there. It only gave me info about the program. How do you log in as root when a program tells you, you are not in as root? Is there an administrator account like in Win2k?
--- End quote ---

are you trying to run the nmap frontend?
there is two different nmaps, the graphic nmap(nmapfe) and the console nmap(nmap). When you go to a console and into root, then you type "nmap" it is showing the information about it because with the console nmap you must put options and the ip address in the command
eg: nmap -O -sS -v 205.92.81.80

if you want to run the graphical nmap then you must run the command "nmapfe". So when you login as root on the console then just type nmapfe to run the graphic nmap.

You only need to be root for certain options such as stealth syn scan (-sS)

[ November 25, 2002: Message edited by: The Master of Reality / B0B ]

beltorak0:
If you must set the SUID root bit in nmap/nmapfe, consider creating a separate group for it (nmap), removing the world read/execute bits from nmap/fe, changing it's group to nmap, and adding whatever users you want to that group.  suid root apps are a security hazard by default, and you should maintain control over them.

just to clarify, the linux equiv of the win admin account is root.  you can do anything]/i] as root.  I've blown up my slack install twice in midair by frivolously invoking the power of root.  That was early on, so i didn't need a backup to get going again... hehe. [as an aside, i've also destroyed two DOS3.3's by using debug on COMMAND.COM....][I like to tinker...]

in KDE you can use "kdesu" to launch root programs without binding it to a console; hit ALT-F2, or select run from the K-menu-thingy in the lower left. (what is that thing called anyway? is it the start menu, or is that a windows-ism?)

append to dbl221's comment:
in the early days of computing, teletypes  were the only way to get useful info out of a computer; it was line-printer (more or less).  That's why the most-often used command to display to the screen in programming is "print" (or some variation).  Standards live forever!.

(the info on the above link is apocraphyl)

</ramble>

-t.

Bazoukas:
wow, that was a flash back Calum.
 This post is one of the few posts i made that has some signs of IQ in it.

Master of Reality:
i really gotta read the dates

Navigation

[0] Message Index

[*] Previous page

Go to full version