LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 06-09-2005, 09:45 AM   #1
XaViaR
Member
 
Registered: Dec 2004
Distribution: RHEL, CentOS, SuSE
Posts: 170

Rep: Reputation: 30
Running Nmapfe as non-root user


Hello,

I am trying to run nmapfe as a non-root user. I tried different ways of trying to run nmapfe. For example, I tried 'sux -' (this did not work), 'su -' (this did not work), 'xhost +localhost' --> 'sux -' (this did not work).

The only way that I did get it to work was to do either 'xhost '+ --> 'sux -'
Then I would do 'xhost -' when I am done using nmapfe. This is not really efficient. The other way it worked is by using the 'runas' within kde. My question to you, what command is 'runas' under kde a GUI wrapper for?

I am trying to write a script to run nmap.

Thanks for your help.

-X
 
Old 06-09-2005, 10:53 AM   #2
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Rep: Reputation: 49
I do not know the answer to your question but I have one for you: when trying to run nmapfe as non-root, why not just run the command "nmapfe", are you logged on as root? Cause you shouldn't.

Regards.
 
Old 06-09-2005, 10:16 PM   #3
XaViaR
Member
 
Registered: Dec 2004
Distribution: RHEL, CentOS, SuSE
Posts: 170

Original Poster
Rep: Reputation: 30
Hello...

I belive you asked me two questions. First, I am not root when I run nmapfe. I know better than that! :-)
I hope this answers your second question...When I try to run nmapfe as a basic user. I don't think you get a good scan when using nmap. Because when you launch nmapfe, you get the message "You are not ROOT...some options are not available."
 
Old 06-10-2005, 06:04 AM   #4
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Rep: Reputation: 49
Oh, I see. I use gksu for that.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Nmapfe, open ports, and running services jrdioko Linux - Security 20 09-04-2004 04:25 PM
Running user program from root kilativv Linux - Software 2 07-31-2004 01:49 AM
Running KPPP as a user, and not root. RoaCh Of DisCor Linux - Software 5 06-28-2004 06:38 AM
Help me get KDE running as a non root user vdogvictor Slackware 8 06-27-2004 09:27 PM
Running xcdroast as non-root user kermit Linux - Newbie 2 07-07-2002 06:36 PM


All times are GMT -5. The time now is 03:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration