LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-25-2009, 11:50 AM   #1
kopper27
Member
 
Registered: Nov 2009
Posts: 147

Rep: Reputation: 16
No shell access - permissions


Hi

I need to configure an account without shell access but user needs to have FTPS - SCP - FTP access so I've done this

Code:
useradd -s /sbin/nologin useraccount
passwd useraccount
cool no shell access but user cannot access FTPS - SCP - FTP...what else I need to configure to allow user to use those others?


thanks a lot

Last edited by kopper27; 11-25-2009 at 11:53 AM.
 
Old 11-25-2009, 12:26 PM   #2
kopper27
Member
 
Registered: Nov 2009
Posts: 147

Original Poster
Rep: Reputation: 16
I was wrong about FTP
http://www.cyberciti.biz/tips/linux-...to-system.html


but what about SCP?
 
Old 11-25-2009, 02:46 PM   #3
Chirel
Member
 
Registered: Nov 2009
Posts: 55

Rep: Reputation: 19
Hi, you need a valid login shell to use SCP / SFTP.

To restrict user to scp and sftp take a look to scponly this may help you i think.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
file permissions in bourne shell script bujecas Linux - General 2 07-12-2006 11:46 AM
Shell scripting question(permissions) Jerkstore Programming 5 12-21-2005 12:38 AM
How can I write a shell script to transfer files and keep permissions? LancerNZ Linux - Networking 1 02-24-2005 03:49 AM
I lose ftp access when I disable shell access for user captainObvious Linux - General 3 11-13-2004 05:49 PM
Listing permissions with shell script Ollir Programming 1 10-18-2004 06:50 AM


All times are GMT -5. The time now is 05:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration