userid access only to a particular service


 
Thread Tools Search this Thread
Operating Systems Linux Red Hat userid access only to a particular service
# 1  
Old 09-19-2008
userid access only to a particular service

Hi All,

How do I make a userid access only a particular service like sftp? My linux is redhat ent 4.

Thanks in advance for any advise.
# 2  
Old 09-19-2008
Investigate sudo
# 3  
Old 09-19-2008
Does sftp root privilege only? I think everybody can use it so SUDO here is irrelevant.
# 4  
Old 09-19-2008
With sudo you can ensure that the only way that a person can run the application is by using the sudo application.

You can restrict ALL commands - even 'ls' if you choose.
# 5  
Old 09-19-2008
Give me what to do with /etc/sudoers for a sample user-a that can ONLY access sftp?

By the way, even if I'm a regular user, I have access to sftp?!?!?!?!?!?

Last edited by itik; 09-19-2008 at 07:11 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to restart a service without root access.?

hi , can anyone please tell me to how to restart a service without root or i need a root access for it. as a user i am getting this type of error : nkchand@(tendcer0h1) nkchand $ service /opt/Nimsoft/bin/niminit stop ksh: service: not found. (1 Reply)
Discussion started by: nkchand
1 Replies

2. UNIX for Advanced & Expert Users

new userid with limited access

Hi, I want to create a user using useradd -m test. But my requirement is he should not change his directory from Home directory. How can I restric the user not to change his directory from his home dir? Thanks, Suresh Double Post (0 Replies)
Discussion started by: suresh3566
0 Replies

3. UNIX for Dummies Questions & Answers

userid and pw

questions: a. where can I customized the password of userid in solaris? say I wanted 10digits long, all caps? thanks (4 Replies)
Discussion started by: lhareigh890
4 Replies

4. IP Networking

SAP (Service Access Point)

In the OSI model there is a thing called SAP. I can't find information about it... The only thing i found is this: Does anybody know where i can find more explanations about SAP???? thanks in advance! (2 Replies)
Discussion started by: Sandia_man
2 Replies

5. Linux

userid access to a single path

Hi All, Can a user-a on linux be able to access to particular path only? I think is not possible because if the /etc have r on the other then user-a can access it. Right? Thanks for any comment you have will add. (1 Reply)
Discussion started by: itik
1 Replies

6. UNIX for Advanced & Expert Users

userid

I would like to know the difference between the real user-id and the effective user-id. If user-A runs a program owned by user-B then which is the real user-id and which is the effective user-id ? (1 Reply)
Discussion started by: sundaresh
1 Replies
Login or Register to Ask a Question