The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > Linux > Red Hat
.
google unix.com



Red Hat Red Hat is the world's leading open source technology solutions provider with offerings including Red Hat Enterprise Linux (RHEL), Fedora, open source applications, security and systems management, virtualization, and Services Oriented Architecture (SOA) solutions.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Pls change my userid jdmowrer Post Here to Contact Site Administrators and Moderators 0 07-29-2008 06:04 PM
userid sundaresh UNIX for Advanced & Expert Users 1 08-17-2007 07:03 PM
locking userid to 1 dir? amheck SUN Solaris 2 05-05-2006 03:46 PM
date and userid gundu Shell Programming and Scripting 2 03-25-2005 11:53 AM
validating userid giannicello UNIX for Dummies Questions & Answers 2 05-07-2003 04:13 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-19-2008
itik itik is offline
Registered User
  
 

Join Date: Oct 2007
Location: Toronto, Ontario
Posts: 354
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 (permalink)  
Old 09-19-2008
avronius avronius is offline VIP Member  
VIP Member
  
 

Join Date: Apr 2008
Location: Calgary
Posts: 305
Investigate sudo
  #3 (permalink)  
Old 09-19-2008
itik itik is offline
Registered User
  
 

Join Date: Oct 2007
Location: Toronto, Ontario
Posts: 354
Does sftp root privilege only? I think everybody can use it so SUDO here is irrelevant.
  #4 (permalink)  
Old 09-19-2008
avronius avronius is offline VIP Member  
VIP Member
  
 

Join Date: Apr 2008
Location: Calgary
Posts: 305
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 (permalink)  
Old 09-19-2008
itik itik is offline
Registered User
  
 

Join Date: Oct 2007
Location: Toronto, Ontario
Posts: 354
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 06:11 PM..
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:30 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0