Debugging in eclipse with root permission


 
Thread Tools Search this Thread
Top Forums Programming Debugging in eclipse with root permission
# 1  
Old 04-12-2011
Debugging in eclipse with root permission

Hi,
I've been working on a project that needs to be run as root user.
however when I want to debug it in eclipse, I can't run it as root user.
currently, I'm debugging with GDB in root.
Is there a solution for this ?, because I don't find the solution of running eclipse as root a good solution.

Regards,
Ramon.
# 2  
Old 04-12-2011
Running as root isn't a good solution either. Why does your project require it?
# 3  
Old 04-12-2011
I'm implementing out band firewall for linux.
I need access to several places.
# 4  
Old 04-12-2011
"places" meaning what?

In any case I'm inclined to agree with the designers of eclipse here. You shouldn't run large, complex GUI applications as root. That's extremely dangerous.
# 5  
Old 04-12-2011
It's an open source project.
I'm currently implementing a specific thing where root access is not necessary.
The main daemon of the firewall needs to be run as root.
my task is not relevant to the reason why it so.
I don't want to change or alter anything else.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Trying to create a script to run as root, permission denied

Hello all, I am trying to create a script or a .command file that will run for me and my other techs on many, many Mac OSX computers that will add a file to the /etc/ folder called /etc/launchd.conf Every time I try to run the script, I get "Permission Denied" when trying to put the file into... (13 Replies)
Discussion started by: DonnieNarco
13 Replies

2. Linux

/var/lock/subsys permission denied for root

Hello I have simple line of code here: FILE *lockfp = fopen("/var/lock/subsys/processName", "w"); which is denied even running as root. The result is locking failed for the following reason: Permission denied How is this possible? Why is this happening? Thanks for your... (4 Replies)
Discussion started by: flagman5
4 Replies

3. Solaris

User want to full root permission

hi guys.. how to give root permission for particular user tel me step by step (2 Replies)
Discussion started by: coolboys
2 Replies

4. AIX

Permission Denied issue on AIX 6.1 using Root

I have the following problem on my AIX 6.1 server. I logged in with Root ID to this folder etc/opt/symantec/scspagent/lib/instfunlib I try changing the folder permission but I keep getting this output : chmod: /opt/symantec/scspagent/lib/instfunlib: Permission Denied I did a listing on it... (3 Replies)
Discussion started by: mcdsweet98
3 Replies

5. UNIX for Dummies Questions & Answers

Sudo to delegate permission from non-root user to another non-root user

I've been through many threads before i decide to create a separate thread. I can't really find the solution to my (simple) problem. Here's what I'm trying to achieve: As "canar" user I want to run a command, let's say "/opt/ocaml/bin/ocaml" as "duck" user. The only to achieve this is to... (1 Reply)
Discussion started by: canar
1 Replies

6. UNIX for Dummies Questions & Answers

Permission denied when changing root password after reset

I have a Solaris 10 machine that I didn't know the root password to so I went into single user mode and removed the password from the shadow file and rebooted and I am able to login with no password now. But my problem is that when I try to change the root password from no password to something... (0 Replies)
Discussion started by: darkone_d1_2000
0 Replies

7. Solaris

install eclipse under solaris without root password?

hi, Ho can I install eclipse under solaris without root password? Thanks. peter (1 Reply)
Discussion started by: laopi
1 Replies

8. HP-UX

Telnet permission for other then root users in HP-UNIX

Hi please tell me any one how to give telnet permission for other then root users in HP-UNIX :confused: (4 Replies)
Discussion started by: sreedhargouda
4 Replies

9. Solaris

cant able to change permission in a DIR as root user

Hi my directory not accepting any commands. its simply telling permission denied. i tried ( cp, mv, rm ) as roor i want to set default permissons to this DIR please find the Logs below. dr-xr-xr-x 1 root root 1 Jun 1 09:04 AP1_ROP ( original dir) root> chmod 777... (5 Replies)
Discussion started by: vijayq8
5 Replies

10. UNIX for Dummies Questions & Answers

Root cannot change /home permission

Folks; I'm a root but i couldn't change /home directory permission or group. i'm getting operation not permitted. Any help? (6 Replies)
Discussion started by: moe2266
6 Replies
Login or Register to Ask a Question