Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 330987

A chroot on Unix operating systems is an operation that changes the apparent root directory for the current running process and its children. A program that is run in such a modified environment cannot name (and therefore normally not access) files outside the designated directory tree.

0
votes
in the chroot (ie. ChrootDirectory). An example - if you want to have your own wrapper which would do anything special and "force" users to sftp, you CANNOT have Subsystem sftp internal-sftp because … - thus you cannot use internal-sftp but you should use defaults for sftp subsystem, populate chroot manually and just call /usr/libexec/sftp-server (or any other path) and rsync after end of sftp …
answered Jan 29 by Jiri B
1
vote
0answers
My use case is to have a shared account for webmasters (named as domain) but only one of the webmasters is "owner" of main data and defines who can loging to the shared account via editing authorized_ …
asked Jan 11 by Jiri B
0
votes
First of all ChrootDirectory must be owned by root and not writable by other users. Thus /var/shared in your case cannot be ChrootDirectory value. I would recommend to create a directory which would …
answered Jan 14 by Jiri B
0
votes
0answers
chroot env as I don't use internal-sftp because I need to run my ksh shell wrapper, mkdir, date and full sftp-server. If you would not need this, just use internal-sftp as ForceCommand!) #!/bin/ksh …
asked Jan 28 by Jiri B
0
votes
man 8 sftp-server, see: -d start_directory specifies an alternate starting directory for users. The pathname may contain the following tokens that are expanded at runtime: …
answered Jan 14 by Jiri B