For this process, do we need to block Root access???


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users For this process, do we need to block Root access???
# 1  
Old 03-17-2011
For this process, do we need to block Root access???

Hi all,

actually my scenario is we are running a webserver using apache-tomcat in that our client uploading resumes, so that particular space we are allowed to upload
Quote:
for example if the client bought only 250 MB space means we restrict the size limit to upload only 250 limit once the limit exceed means the client not able to upload files, like that...my scenario is
for that we are running java in root permission, so even we changed the particular folder permission also inside the Webapps but that also not works because the entire java process is running in root permission. so that only we planned to block root access for the particular folder once the limit exceed limit through scripts.

This is the right way?? or any other way is available to restrict the user upload inside the WEBAPPS ??? please guide me.


With Regards
Anish Kumar.V

Last edited by anishkumarv; 03-17-2011 at 11:44 AM.. Reason: changes
# 2  
Old 03-17-2011
All depends on how much WORK you want to do. I don't like work... so I'd go with something simpler. For example you could have partitioned storage such that you KNOW that a user cannot exceed their space because "logically" the physical storage presented to them is of a fixed size.

I would avoid running services as root. And IMHO, there's no need for it if properly designed.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Ubuntu

Root access that can't change root password?

We are having a little problem on a server. We want that some users should be able to do e.g. sudo and become root, but with the restriction that the user can't change root password. That is, a guarantee that we still can login to that server and become root no matter of what the other users will... (2 Replies)
Discussion started by: 244an
2 Replies

2. SuSE

Auditors want more security with root to root access via ssh keys

I access over 100 SUSE SLES servers as root from my admin server, via ssh sessions using ssh keys, so I don't have to enter a password. My SUSE Admin server is setup in the following manner: 1) Remote root access is turned off in the sshd_config file. 2) I am the only user of this admin... (6 Replies)
Discussion started by: dvbell
6 Replies

3. Shell Programming and Scripting

How to give root access to non root user?

Currently in my system Red Hat is installed. And Many user connect to my machine via SSH Techia Terminal. I want to give some users a root level access. Can anyone please help me how to make it possible. I too searched on the Google but didn't find the correct way Regards ADI (4 Replies)
Discussion started by: adisky123
4 Replies

4. UNIX for Dummies Questions & Answers

sudo/root access

I'm actually working with a Ubuntu-System here and have a question about executing a command with 'sudo'. I tried and got a error message like "not allowed". After this I logged in with 'sudo -s' and typed the command without 'sudo'. This worked well. Can please somebody explain me this... (0 Replies)
Discussion started by: daWonderer
0 Replies

5. UNIX for Advanced & Expert Users

restart root process as non root

Hi I have a process running as root, that I need to be able to restart as a non root user, but keep it running as root. unfortunately I can't user sudo. Any advice much appreciated (1 Reply)
Discussion started by: eeisken
1 Replies

6. Solaris

root access denied

Hi, I have installed solaris 10 on my local system. i want to connect with remotely using putty. it works when i connect remotely with telnet. but when i connect using ssh. it gives access denied error. i have comment the CONSOLE=/dev/console in /etc/default/login but it still don't work Plz... (4 Replies)
Discussion started by: malikshahid85
4 Replies

7. UNIX for Dummies Questions & Answers

How to allow access to some commands having root privleges to be run bu non root user

hi i am new to unix and i have abig task. i have to \run particular commands having root privileges from a non root user. i know sudo is one of the way but i need sum other approach kindly help Thanks (5 Replies)
Discussion started by: suryashikha
5 Replies

8. AIX

root access

Hello I have a question. I have a box with Aix 5.3 but I want to disable root access direct from any terminal or console. I mean If I want to login to 10.10.10.10 login:root password ********* Root access is not permited Which file I have to edit. to the users first login with... (4 Replies)
Discussion started by: lo-lp-kl
4 Replies

9. SCO

root access

We have SCO 5.0.5 and can't log into system as "root". The system indicates the password is incorrect. No one knows what happened. How can we resolve this issue.. Are there files we can restore from backup...? Any suggestions would be appreciated. Thank you.. (2 Replies)
Discussion started by: RBurer
2 Replies

10. Linux

how to access root priveliges if root password is lost

wish to know how to access root password it root password is forgotten in linux (1 Reply)
Discussion started by: wojtyla
1 Replies
Login or Register to Ask a Question