?
Solved

How to create user to control on specific service and its associate file or directory ???

Posted on 2007-08-09
3
Medium Priority
?
249 Views
Last Modified: 2013-11-05
Dear Xpert,

I want to create one user or group in SuSE to allow to access only :

=> /etc/xxx/file1   --> could read and write on file1 only
=> and this user could start | stop some service like ----> rcSuSEfirewall2 ...

Your help please !!!
0
Comment
Question by:ikhmer
  • 2
3 Comments
 
LVL 48

Accepted Solution

by:
Tintin earned 2000 total points
ID: 19660758

1.  If you have more than 1 user that needs read/write access to a specific file, then create a specific group and put all the users who need access to the file in that group, then make sure the perms on the file are 660 and with the correct group.

2.  Create a sudo entry for giving stop/start privs to a service.
0
 

Author Comment

by:ikhmer
ID: 19668288
Could you please kindly give me the sample of sudo configuration file ? on how to grant a user to
start|stop only specific service like  rcSuSEfirewall2 and rcnetwork ???

thanks
0
 

Author Comment

by:ikhmer
ID: 19675142
Thanks, it work now
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension . This reminded me of questions that come up here at EE along the lines of, "How can I tell the type of file from its cont…
I have written articles previously comparing SARDU and YUMI.  I also included a couple of lines about Easy2boot (easy2boot.com).  I have now been using, and enjoying easy2boot as my sole multiboot utility for some years and realize that it deserves …
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month8 days, 5 hours left to enroll

616 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question