initial commit of file from CVS for smeserver-remoteuseraccess on Sat Sep 7 21:00:51 AEST 2024

This commit is contained in:
Trevor Batley 2024-09-07 21:00:51 +10:00
parent 4589b3a7a2
commit f579aa9b88
41 changed files with 2983 additions and 2 deletions

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
*.rpm
*.log
*spec-20*
*.tar.xz

21
Makefile Normal file
View File

@ -0,0 +1,21 @@
# Makefile for source rpm: smeserver-remoteuseraccess
# $Id: Makefile,v 1.1 2020/10/26 14:56:47 brianr Exp $
NAME := smeserver-remoteuseraccess
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View File

@ -1,3 +1,15 @@
# smeserver-remoteuseraccess # <img src="https://www.koozali.org/images/koozali/Logo/Png/Koozali_logo_2016.png" width="25%" vertical="auto" style="vertical-align:bottom"> smeserver-remoteuseraccess
SMEServer Koozali developed git repo for smeserver-remoteuseraccess smecontribs SMEServer Koozali developed git repo for smeserver-remoteuseraccess smecontribs
## Wiki
<br />https://wiki.koozali.org/Remoteuseraccess
## Bugzilla
Show list of outstanding bugs: [here](https://bugs.koozali.org/buglist.cgi?component=smeserver-remoteuseraccess&product=SME%20Contribs&query_format=advanced&limit=0&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=CONFIRMED)
## Description
<br />*This description has been generated by an LLM AI system and cannot be relied on to be fully correct.*
*Once it has been checked, then this comment will be deleted*
<br />

340
additional/COPYING Normal file
View File

@ -0,0 +1,340 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) 19yy <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) 19yy name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.

1
contriborbase Normal file
View File

@ -0,0 +1 @@
contribs10

10
createlinks Normal file
View File

@ -0,0 +1,10 @@
#!/usr/bin/perl -w
use esmith::Build::CreateLinks qw(:all);
panel_link("remoteuseraccess", 'manager');
foreach $event (qw( create delete modify ))
{
templates2events("/etc/proftpd.conf", "user-${event}");
templates2events("/etc/sudoers", "user-${event}");
}

View File

@ -0,0 +1,56 @@
#!/usr/bin/perl -w
package esmith;
use strict;
use Errno;
use esmith::config;
use esmith::util;
my %conf;
tie %conf, 'esmith::config';
my %accounts;
tie %accounts, 'esmith::config', '/home/e-smith/db/accounts';
my $event = $ARGV [0];
my $userName = $ARGV [1];
die "Username argument missing." unless defined ($userName);
my $value = $accounts {$userName};
my ($type, %properties) = split (/\|/, $value, -1);
if ($type ne 'user')
{
die "Account $userName is not a user account; modify user failed.\n";
}
# defaults to rssh with no rights
my $Shell=$properties{'Shell'} || 'rssh';
if (($Shell eq 'bash') || ($Shell eq 'sudo'))
{
$Shell = '/bin/bash';
}
else
{
$Shell = '/usr/bin/rssh';
}
my $cmd = "/usr/sbin/usermod";
$cmd .= " -s \"$Shell\"";
$cmd .= " '$userName'";
my $discard = `$cmd`;
if ($? != 0)
{
die "Failed to modify account $userName.\n";
}
esmith::util::processTemplate (\%conf, "/etc/sudoers");
chmod 0440, "/etc/sudoers";
esmith::util::processTemplate (\%conf, "/etc/rssh.conf");
esmith::util::processTemplate (\%conf, "/etc/proftpd.conf");

View File

@ -0,0 +1,62 @@
<lexicon lang="bg">
<entry>
<base>User Remote Access</base>
<trans>Отдалечен достъп на потребителите</trans>
</entry>
<entry>
<base>SSH keys</base>
<trans>SSH ключове</trans>
</entry>
<entry>
<base>FORM_TITLE</base>
<trans>Промяна на параметрите за отдалечен достъп на потребител</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>Shell</trans>
</entry>
<entry>
<base>SUDO</base>
<trans>Sudo</trans>
</entry>
<entry>
<base>SSH_KEYS</base>
<trans>SSH ключове</trans>
</entry>
<entry>
<base>CHROOT_PATH</base>
<trans>Chroot Path</trans>
</entry>
<entry>
<base>CHROOT_PATH_NOT_GIVEN</base>
<trans>Пътят за Chroot не е зададен</trans>
</entry>
<entry>
<base>CHROOT_PATH_NON_EXISTANT</base>
<trans>Пътят за Chroot не съществува</trans>
</entry>
<entry>
<base>SELECT_CHROOT_PATH</base>
<trans>Изберете път за Chroot</trans>
</entry>
<entry>
<base>VPN_ACCESS</base>
<trans>RSSH + VPN достъп</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>Shell достъп</trans>
</entry>
<entry>
<base>SUDOER_ACCESS</base>
<trans>Sudo достъп</trans>
</entry>
<entry>
<base>MODIFY_DESCRIPTION</base>
<trans><![CDATA[ <p> Включването на достъпа до bash shell за потребител създава риск за сигурността. Използвайте тази възможност ако знаете какво правите. По-сигурна възможност е да позволите достъп до rssh (sftp, ssh & rsync). </p> <p> Достъпът до Sudo позволява на потребителите да изпълняват команди с правата на root account без да знаят неговата парола. Това е за предпочитане, пред предоставянето на паролата ма root. Задаването на Sudo на "да" също задава shell на bash </p> <p> Достъпът до SHELL, VPN & FTP за потребители зависи от това дали достъпа е даден в настройките в панела за отдалечен достъп. </p> <p> Изберете FTP Chroot път от падащия списък или го въведете в текстовото поле, изборът от падащия списък ще промени текстовото поле. </p> <p> Въведете публичните SSH ключове за да позволите ssh достъп без пароли, ключовете трябва да се поставят като един ред, но той ще бъде пренесен на три или повече реда на екрана. За да изтриете всички ключове напишете "deletekeys". </p> ]]></trans>
</entry>
<entry>
<base>SSHKEYS_DESCRIPTION</base>
<trans>Въведете публичните SSH ключове за да позволите ssh достъп без пароли, ключовете трябва да се поставят като един ред, но той ще бъде пренесен на три или повече реда на екрана. За да изтриете всички ключове напишете "deletekeys".</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,62 @@
<lexicon lang="da">
<entry>
<base>User Remote Access</base>
<trans>Bruger Fjernadgang</trans>
</entry>
<entry>
<base>SSH keys</base>
<trans>SSH nøgler</trans>
</entry>
<entry>
<base>FORM_TITLE</base>
<trans>Skift indstillinger for fjernadgang</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>Shell</trans>
</entry>
<entry>
<base>SUDO</base>
<trans>Sudo</trans>
</entry>
<entry>
<base>SSH_KEYS</base>
<trans>SSH nøgle</trans>
</entry>
<entry>
<base>CHROOT_PATH</base>
<trans>Chroot Path</trans>
</entry>
<entry>
<base>CHROOT_PATH_NOT_GIVEN</base>
<trans>Chroot Path er ikke angivet</trans>
</entry>
<entry>
<base>CHROOT_PATH_NON_EXISTANT</base>
<trans>Chroot Path eksisterer ikke</trans>
</entry>
<entry>
<base>SELECT_CHROOT_PATH</base>
<trans>Vælg Chroot Path</trans>
</entry>
<entry>
<base>VPN_ACCESS</base>
<trans>RSSH + VPN adgang</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>Shell adgang</trans>
</entry>
<entry>
<base>SUDOER_ACCESS</base>
<trans>Sudo adgang</trans>
</entry>
<entry>
<base>MODIFY_DESCRIPTION</base>
<trans><![CDATA[ <p> Enabling bash shell access for a user account poses a security risk. Only use this option if you know what you are doing. A safer option is to allow rssh access (sftp, ssh & rsync). </p> <p> Sudo access allows users to execute commands with the permissions of the root account without knowing the root password. This is more desirable than passing around the root password. Setting Sudo to yes also sets the shell to bash </p> <p> SHELL, VPN & FTP access for users depend on the settings in the Remote Access Panel being opened. </p> <p> Select an FTP Chroot path from the drop down box or enter it in the text field, the selection will overwrite the text field. </p> <p> Enter the public SSH Keys to allow ssh access without passwords, keys should be pasted as a single line, but they will wrap onto three or more lines in the display. To delete all keys type "deletekeys". </p> ]]></trans>
</entry>
<entry>
<base>SSHKEYS_DESCRIPTION</base>
<trans>Indtast den offentlige SSH nøgle for at tillade adgang uden kodeord, nøgler skal indsættes som en enkelt linje, men vil blive ombrudt til tre eller flere linjer på skærmen. Skriv "deletekeys" For at slette alle nøgler.</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,62 @@
<lexicon lang="de">
<entry>
<base>User Remote Access</base>
<trans>Benutzer-Fernzugriff</trans>
</entry>
<entry>
<base>SSH keys</base>
<trans>SSH Schlüssel</trans>
</entry>
<entry>
<base>FORM_TITLE</base>
<trans><![CDATA[ Einstellungen zum Benutzer-Fernzugriff ändern <p> <align=right><a target="new" href="http://contribs.org/modules/phpwiki/index.php/Handbuch%20Deutsch%3A%20Erweiterungen%20%28contribs%29#x33.x2e.3x20.Benutzer-Fernzugriff">Online-Handbuch</a> ]]></trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>Shell</trans>
</entry>
<entry>
<base>SUDO</base>
<trans>Sudo</trans>
</entry>
<entry>
<base>SSH_KEYS</base>
<trans>SSH Schlüssel</trans>
</entry>
<entry>
<base>CHROOT_PATH</base>
<trans>Chroot Pfad</trans>
</entry>
<entry>
<base>CHROOT_PATH_NOT_GIVEN</base>
<trans>Nein Chroot Pfad</trans>
</entry>
<entry>
<base>CHROOT_PATH_NON_EXISTANT</base>
<trans>Chroot Pfad Falscher</trans>
</entry>
<entry>
<base>SELECT_CHROOT_PATH</base>
<trans>Chroot Pfad auswählen</trans>
</entry>
<entry>
<base>VPN_ACCESS</base>
<trans>VPN Zugang</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>Shell Zugang</trans>
</entry>
<entry>
<base>SUDOER_ACCESS</base>
<trans>Sudo Zugang</trans>
</entry>
<entry>
<base>MODIFY_DESCRIPTION</base>
<trans><![CDATA[ <p> Enabling bash shell access for a user account poses a security risk. Only use this option if you know what you are doing. A safer option is to allow rssh access (sftp, ssh & rsync). </p> <p> Sudo access allows users to execute commands with the permissions of the root account without knowing the root password. This is more desirable than passing around the root password. Setting Sudo to yes also sets the shell to bash </p> <p> SHELL, VPN & FTP access for users depend on the settings in the Remote Access Panel being opened. </p> <p> Select an FTP Chroot path from the drop down box or enter it in the text field, the selection will overwrite the text field. </p> <p> Enter the public SSH Keys to allow ssh access without passwords, keys should be pasted as a single line, but they will wrap onto three or more lines in the display. To delete all keys type "deletekeys". </p> ]]></trans>
</entry>
<entry>
<base>SSHKEYS_DESCRIPTION</base>
<trans>Für den SSH-Zugang ohne Kennwort geben Sie bitte den öffentlichen SSH-Schlüssel ein. Der Schlüssel sollte als ganze Zeile kopiert und eingefügt werden, erscheint dann allerdings auf dem Bildschirm in 3 Zeilen. Um den Schlüssel zu löschen, geben Sie "deletekeys" ein.</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,62 @@
<lexicon lang="el">
<entry>
<base>User Remote Access</base>
<trans>Χρήστες Απομεμακρυσμένης Πρόσβασης</trans>
</entry>
<entry>
<base>SSH keys</base>
<trans>Κλείδες SSH</trans>
</entry>
<entry>
<base>FORM_TITLE</base>
<trans>Αλλαγή ρυθμίσεων χρηστών με δικαίωμα απομεμακρυσμένης πρόσβασης</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>Shell</trans>
</entry>
<entry>
<base>SUDO</base>
<trans>Sudo</trans>
</entry>
<entry>
<base>SSH_KEYS</base>
<trans>Κλείδες SSH</trans>
</entry>
<entry>
<base>CHROOT_PATH</base>
<trans>Chroot Path</trans>
</entry>
<entry>
<base>CHROOT_PATH_NOT_GIVEN</base>
<trans>Δεν δόθηκε Chroot Path</trans>
</entry>
<entry>
<base>CHROOT_PATH_NON_EXISTANT</base>
<trans>Δεν υφίσταται το παραπάνω Chroot Path</trans>
</entry>
<entry>
<base>SELECT_CHROOT_PATH</base>
<trans>Επιλογή Chroot Path</trans>
</entry>
<entry>
<base>VPN_ACCESS</base>
<trans>Πρόσβαση RSSH + VPN</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>Πρόσβαση Κελύφους (Shell)</trans>
</entry>
<entry>
<base>SUDOER_ACCESS</base>
<trans>Πρόσβαση Sudo</trans>
</entry>
<entry>
<base>MODIFY_DESCRIPTION</base>
<trans><![CDATA[ <p> Enabling bash shell access for a user account poses a security risk. Only use this option if you know what you are doing. A safer option is to allow rssh access (sftp, ssh & rsync). </p> <p> Sudo access allows users to execute commands with the permissions of the root account without knowing the root password. This is more desirable than passing around the root password. Setting Sudo to yes also sets the shell to bash </p> <p> SHELL, VPN & FTP access for users depend on the settings in the Remote Access Panel being opened. </p> <p> Select an FTP Chroot path from the drop down box or enter it in the text field, the selection will overwrite the text field. </p> <p> Enter the public SSH Keys to allow ssh access without passwords, keys should be pasted as a single line, but they will wrap onto three or more lines in the display. To delete all keys type "deletekeys". </p> ]]></trans>
</entry>
<entry>
<base>SSHKEYS_DESCRIPTION</base>
<trans>Εισάγετε τις δημόσιες Κλείδες SSH για να επιτρέψετε πρόσβαση ssh χωρίς κωδικούς, η επικόλληση των κλειδών θα πρέπει να γίνει σε μία γραμμή, αλλά θα αναδιπλωθούν σε τρεις ή περισσότερες γραμμές στην οθόνη. Για να διαγράψετε όλες τις κλείδες πληκτρολογήστε "deletekeys".</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,91 @@
<lexicon lang="en-us">
<entry>
<base>User Remote Access</base>
<trans>User Remote Access</trans>
</entry>
<entry>
<base>SSH keys</base>
<trans>SSH keys</trans>
</entry>
<entry>
<base>FORM_TITLE</base>
<trans>Change user remote access settings</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>Shell</trans>
</entry>
<entry>
<base>SUDO</base>
<trans>Sudo</trans>
</entry>
<entry>
<base>SSH_KEYS</base>
<trans>SSH Keys</trans>
</entry>
<entry>
<base>CHROOT_PATH</base>
<trans>Chroot Path</trans>
</entry>
<entry>
<base>CHROOT_PATH_NOT_GIVEN</base>
<trans>Chroot Path not given</trans>
</entry>
<entry>
<base>CHROOT_PATH_NON_EXISTANT</base>
<trans>Chroot Path does not exist</trans>
</entry>
<entry>
<base>SELECT_CHROOT_PATH</base>
<trans>Select Chroot Path</trans>
</entry>
<entry>
<base>VPN_ACCESS</base>
<trans>RSSH + VPN Access</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>Shell Access</trans>
</entry>
<entry>
<base>SUDOER_ACCESS</base>
<trans>Sudo Access</trans>
</entry>
<entry>
<base>MODIFY_DESCRIPTION</base>
<trans> <![CDATA[
<p>
Enabling bash shell access for a user account poses a security risk.
Only use this option if you know what you are doing. A safer option is to allow
rssh access (sftp, ssh & rsync).
</p>
<p>
Sudo access allows users to execute commands with the permissions
of the root account without knowing the root password. This is more desirable
than passing around the root password. Setting Sudo to yes also sets the shell to bash
</p>
<p>
SHELL, VPN & FTP access for users depend on the
settings in the Remote Access Panel being opened.
</p>
<p>
Select an FTP Chroot path from the drop down box or enter it in the text field,
the selection will overwrite the text field.
</p>
<p>
Enter the public SSH Keys to allow ssh access without passwords,
keys should be pasted as a single line,
but they will wrap onto three or more lines in the display.
To delete all keys type "deletekeys".
</p>
]]>
</trans>
</entry>
<entry>
<base>SSHKEYS_DESCRIPTION</base>
<trans> Enter the public SSH Keys to allow ssh access without passwords,
keys should be pasted as a single line,
but they will wrap onto three or more lines in the display.
To delete all keys type "deletekeys". </trans>
</entry>
</lexicon>

View File

@ -0,0 +1,62 @@
<lexicon lang="es">
<entry>
<base>User Remote Access</base>
<trans>Acceso de Usuario Remoto</trans>
</entry>
<entry>
<base>SSH keys</base>
<trans>Claves SSH</trans>
</entry>
<entry>
<base>FORM_TITLE</base>
<trans>Cambiar preferencias del acceso de usuario remoto</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>Shell</trans>
</entry>
<entry>
<base>SUDO</base>
<trans>Sudo</trans>
</entry>
<entry>
<base>SSH_KEYS</base>
<trans>Claves SSH</trans>
</entry>
<entry>
<base>CHROOT_PATH</base>
<trans>Ruta Chroot</trans>
</entry>
<entry>
<base>CHROOT_PATH_NOT_GIVEN</base>
<trans>No ha proporcionado la ruta chroot</trans>
</entry>
<entry>
<base>CHROOT_PATH_NON_EXISTANT</base>
<trans>Ruta chroot no existe</trans>
</entry>
<entry>
<base>SELECT_CHROOT_PATH</base>
<trans>Seleccionar Ruta Chroot</trans>
</entry>
<entry>
<base>VPN_ACCESS</base>
<trans>Acceso RSSH y VPN</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>Acceso Shell</trans>
</entry>
<entry>
<base>SUDOER_ACCESS</base>
<trans>Acceso sudo</trans>
</entry>
<entry>
<base>MODIFY_DESCRIPTION</base>
<trans><![CDATA[ <p> Enabling bash shell access for a user account poses a security risk. Only use this option if you know what you are doing. A safer option is to allow rssh access (sftp, ssh & rsync). </p> <p> Sudo access allows users to execute commands with the permissions of the root account without knowing the root password. This is more desirable than passing around the root password. Setting Sudo to yes also sets the shell to bash </p> <p> SHELL, VPN & FTP access for users depend on the settings in the Remote Access Panel being opened. </p> <p> Select an FTP Chroot path from the drop down box or enter it in the text field, the selection will overwrite the text field. </p> <p> Enter the public SSH Keys to allow ssh access without passwords, keys should be pasted as a single line, but they will wrap onto three or more lines in the display. To delete all keys type "deletekeys". </p> ]]></trans>
</entry>
<entry>
<base>SSHKEYS_DESCRIPTION</base>
<trans>Introduzca la clave publica SSH para permitir el acceso ssh sin clave. Necesita introducir la clave SSH en una sola linea, pero va a aparecer en múltiples lineas. Para borrar todas las claves, teclee "deletekeys".</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,62 @@
<lexicon lang="et">
<entry>
<base>User Remote Access</base>
<trans>Kasutajate kaugahalduse juurdepääs</trans>
</entry>
<entry>
<base>SSH keys</base>
<trans>SSH keys</trans>
</entry>
<entry>
<base>FORM_TITLE</base>
<trans>Muuda kasutajate kaughalduse juurdepääsu seadeid</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>Shell</trans>
</entry>
<entry>
<base>SUDO</base>
<trans>Sudo</trans>
</entry>
<entry>
<base>SSH_KEYS</base>
<trans>SSH Keys</trans>
</entry>
<entry>
<base>CHROOT_PATH</base>
<trans>Chroot Path</trans>
</entry>
<entry>
<base>CHROOT_PATH_NOT_GIVEN</base>
<trans>Chroot Path pole määratud</trans>
</entry>
<entry>
<base>CHROOT_PATH_NON_EXISTANT</base>
<trans>Chroot Path pole olemas</trans>
</entry>
<entry>
<base>SELECT_CHROOT_PATH</base>
<trans>Vali Chroot Path</trans>
</entry>
<entry>
<base>VPN_ACCESS</base>
<trans>RSSH + VPN juurdepääs</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>Shell juurdepääs</trans>
</entry>
<entry>
<base>SUDOER_ACCESS</base>
<trans>Sudo juurdepääs</trans>
</entry>
<entry>
<base>MODIFY_DESCRIPTION</base>
<trans><![CDATA[ <p> Enabling bash shell access for a user account poses a security risk. Only use this option if you know what you are doing. A safer option is to allow rssh access (sftp, ssh & rsync). </p> <p> Sudo access allows users to execute commands with the permissions of the root account without knowing the root password. This is more desirable than passing around the root password. Setting Sudo to yes also sets the shell to bash </p> <p> SHELL, VPN & FTP access for users depend on the settings in the Remote Access Panel being opened. </p> <p> Select an FTP Chroot path from the drop down box or enter it in the text field, the selection will overwrite the text field. </p> <p> Enter the public SSH Keys to allow ssh access without passwords, keys should be pasted as a single line, but they will wrap onto three or more lines in the display. To delete all keys type "deletekeys". </p> ]]></trans>
</entry>
<entry>
<base>SSHKEYS_DESCRIPTION</base>
<trans>Enter the public SSH Keys to allow ssh access without passwords, keys should be pasted as a single line, but they will wrap onto three or more lines in the display. To delete all keys type "deletekeys".</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,62 @@
<lexicon lang="fr">
<entry>
<base>User Remote Access</base>
<trans>Accès à distance Utilisateur</trans>
</entry>
<entry>
<base>SSH keys</base>
<trans>Clés SSH</trans>
</entry>
<entry>
<base>FORM_TITLE</base>
<trans>Modifier les paramètres d'accès à distance des utilisateurs</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>Shell</trans>
</entry>
<entry>
<base>SUDO</base>
<trans>Sudo</trans>
</entry>
<entry>
<base>SSH_KEYS</base>
<trans>Clés SSH</trans>
</entry>
<entry>
<base>CHROOT_PATH</base>
<trans>Chemin Chroot</trans>
</entry>
<entry>
<base>CHROOT_PATH_NOT_GIVEN</base>
<trans>Chemin Chroot non défini</trans>
</entry>
<entry>
<base>CHROOT_PATH_NON_EXISTANT</base>
<trans>Le chemin Chroot n'existe pas</trans>
</entry>
<entry>
<base>SELECT_CHROOT_PATH</base>
<trans>Sélectionnez le chemin Chroot</trans>
</entry>
<entry>
<base>VPN_ACCESS</base>
<trans>VPN + Accès RSSH</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>Accès au Shell</trans>
</entry>
<entry>
<base>SUDOER_ACCESS</base>
<trans>Accès Sudo</trans>
</entry>
<entry>
<base>MODIFY_DESCRIPTION</base>
<trans><![CDATA[ <p> Enabling bash shell access for a user account poses a security risk. Only use this option if you know what you are doing. A safer option is to allow rssh access (sftp, ssh & rsync). </p> <p> Sudo access allows users to execute commands with the permissions of the root account without knowing the root password. This is more desirable than passing around the root password. Setting Sudo to yes also sets the shell to bash </p> <p> SHELL, VPN & FTP access for users depend on the settings in the Remote Access Panel being opened. </p> <p> Select an FTP Chroot path from the drop down box or enter it in the text field, the selection will overwrite the text field. </p> <p> Enter the public SSH Keys to allow ssh access without passwords, keys should be pasted as a single line, but they will wrap onto three or more lines in the display. To delete all keys type "deletekeys". </p> ]]></trans>
</entry>
<entry>
<base>SSHKEYS_DESCRIPTION</base>
<trans>Entrez les clés publiques SSH Keys pour autoriser l'accès ssh sans mot de passe, chaque clé devant être collée sur une seule ligne (l'affichage sera tronqué sur 3 lignes ou plus). Pour supprimer toutes les clés, tapez "deletekeys".</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,62 @@
<lexicon lang="he">
<entry>
<base>User Remote Access</base>
<trans>User Remote Access</trans>
</entry>
<entry>
<base>SSH keys</base>
<trans>SSH keys</trans>
</entry>
<entry>
<base>FORM_TITLE</base>
<trans>Change user remote access settings</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>Shell</trans>
</entry>
<entry>
<base>SUDO</base>
<trans>Sudo</trans>
</entry>
<entry>
<base>SSH_KEYS</base>
<trans>SSH Keys</trans>
</entry>
<entry>
<base>CHROOT_PATH</base>
<trans>Chroot Path</trans>
</entry>
<entry>
<base>CHROOT_PATH_NOT_GIVEN</base>
<trans>Chroot Path not given</trans>
</entry>
<entry>
<base>CHROOT_PATH_NON_EXISTANT</base>
<trans>Chroot Path does not exist</trans>
</entry>
<entry>
<base>SELECT_CHROOT_PATH</base>
<trans>Select Chroot Path</trans>
</entry>
<entry>
<base>VPN_ACCESS</base>
<trans>RSSH + VPN Access</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>Shell Access</trans>
</entry>
<entry>
<base>SUDOER_ACCESS</base>
<trans>Sudo Access</trans>
</entry>
<entry>
<base>MODIFY_DESCRIPTION</base>
<trans><![CDATA[ <p> Enabling bash shell access for a user account poses a security risk. Only use this option if you know what you are doing. A safer option is to allow rssh access (sftp, ssh & rsync). </p> <p> Sudo access allows users to execute commands with the permissions of the root account without knowing the root password. This is more desirable than passing around the root password. Setting Sudo to yes also sets the shell to bash </p> <p> SHELL, VPN & FTP access for users depend on the settings in the Remote Access Panel being opened. </p> <p> Select an FTP Chroot path from the drop down box or enter it in the text field, the selection will overwrite the text field. </p> <p> Enter the public SSH Keys to allow ssh access without passwords, keys should be pasted as a single line, but they will wrap onto three or more lines in the display. To delete all keys type "deletekeys". </p> ]]></trans>
</entry>
<entry>
<base>SSHKEYS_DESCRIPTION</base>
<trans>Enter the public SSH Keys to allow ssh access without passwords, keys should be pasted as a single line, but they will wrap onto three or more lines in the display. To delete all keys type "deletekeys".</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,62 @@
<lexicon lang="hu">
<entry>
<base>User Remote Access</base>
<trans>User Remote Access</trans>
</entry>
<entry>
<base>SSH keys</base>
<trans>SSH keys</trans>
</entry>
<entry>
<base>FORM_TITLE</base>
<trans>Change user remote access settings</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>(1) Parancsértelmező (2) Héj</trans>
</entry>
<entry>
<base>SUDO</base>
<trans>Sudo</trans>
</entry>
<entry>
<base>SSH_KEYS</base>
<trans>SSH Keys</trans>
</entry>
<entry>
<base>CHROOT_PATH</base>
<trans>Chroot Path</trans>
</entry>
<entry>
<base>CHROOT_PATH_NOT_GIVEN</base>
<trans>Chroot Path not given</trans>
</entry>
<entry>
<base>CHROOT_PATH_NON_EXISTANT</base>
<trans>Chroot Path does not exist</trans>
</entry>
<entry>
<base>SELECT_CHROOT_PATH</base>
<trans>Select Chroot Path</trans>
</entry>
<entry>
<base>VPN_ACCESS</base>
<trans>RSSH + VPN Access</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>Shell Access</trans>
</entry>
<entry>
<base>SUDOER_ACCESS</base>
<trans>Sudo Access</trans>
</entry>
<entry>
<base>MODIFY_DESCRIPTION</base>
<trans><![CDATA[ <p> Enabling bash shell access for a user account poses a security risk. Only use this option if you know what you are doing. A safer option is to allow rssh access (sftp, ssh & rsync). </p> <p> Sudo access allows users to execute commands with the permissions of the root account without knowing the root password. This is more desirable than passing around the root password. Setting Sudo to yes also sets the shell to bash </p> <p> SHELL, VPN & FTP access for users depend on the settings in the Remote Access Panel being opened. </p> <p> Select an FTP Chroot path from the drop down box or enter it in the text field, the selection will overwrite the text field. </p> <p> Enter the public SSH Keys to allow ssh access without passwords, keys should be pasted as a single line, but they will wrap onto three or more lines in the display. To delete all keys type "deletekeys". </p> ]]></trans>
</entry>
<entry>
<base>SSHKEYS_DESCRIPTION</base>
<trans>Enter the public SSH Keys to allow ssh access without passwords, keys should be pasted as a single line, but they will wrap onto three or more lines in the display. To delete all keys type "deletekeys".</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,62 @@
<lexicon lang="id">
<entry>
<base>User Remote Access</base>
<trans>User Remote Access</trans>
</entry>
<entry>
<base>SSH keys</base>
<trans>SSH keys</trans>
</entry>
<entry>
<base>FORM_TITLE</base>
<trans>Change user remote access settings</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>Shell</trans>
</entry>
<entry>
<base>SUDO</base>
<trans>Sudo</trans>
</entry>
<entry>
<base>SSH_KEYS</base>
<trans>SSH Keys</trans>
</entry>
<entry>
<base>CHROOT_PATH</base>
<trans>Chroot Path</trans>
</entry>
<entry>
<base>CHROOT_PATH_NOT_GIVEN</base>
<trans>Chroot Path not given</trans>
</entry>
<entry>
<base>CHROOT_PATH_NON_EXISTANT</base>
<trans>Chroot Path does not exist</trans>
</entry>
<entry>
<base>SELECT_CHROOT_PATH</base>
<trans>Select Chroot Path</trans>
</entry>
<entry>
<base>VPN_ACCESS</base>
<trans>RSSH + VPN Access</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>Shell Access</trans>
</entry>
<entry>
<base>SUDOER_ACCESS</base>
<trans>Sudo Access</trans>
</entry>
<entry>
<base>MODIFY_DESCRIPTION</base>
<trans><![CDATA[ <p> Enabling bash shell access for a user account poses a security risk. Only use this option if you know what you are doing. A safer option is to allow rssh access (sftp, ssh & rsync). </p> <p> Sudo access allows users to execute commands with the permissions of the root account without knowing the root password. This is more desirable than passing around the root password. Setting Sudo to yes also sets the shell to bash </p> <p> SHELL, VPN & FTP access for users depend on the settings in the Remote Access Panel being opened. </p> <p> Select an FTP Chroot path from the drop down box or enter it in the text field, the selection will overwrite the text field. </p> <p> Enter the public SSH Keys to allow ssh access without passwords, keys should be pasted as a single line, but they will wrap onto three or more lines in the display. To delete all keys type "deletekeys". </p> ]]></trans>
</entry>
<entry>
<base>SSHKEYS_DESCRIPTION</base>
<trans>Enter the public SSH Keys to allow ssh access without passwords, keys should be pasted as a single line, but they will wrap onto three or more lines in the display. To delete all keys type "deletekeys".</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,62 @@
<lexicon lang="it">
<entry>
<base>User Remote Access</base>
<trans>Accesso Remoto Utente</trans>
</entry>
<entry>
<base>SSH keys</base>
<trans>Chiavi SSH</trans>
</entry>
<entry>
<base>FORM_TITLE</base>
<trans>Modifica impostazioni di accesso remoto dell'utente</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>Shell</trans>
</entry>
<entry>
<base>SUDO</base>
<trans>Sudo</trans>
</entry>
<entry>
<base>SSH_KEYS</base>
<trans>Chiavi SSH</trans>
</entry>
<entry>
<base>CHROOT_PATH</base>
<trans>Percorso Chroot</trans>
</entry>
<entry>
<base>CHROOT_PATH_NOT_GIVEN</base>
<trans>Percorso Chroot non definito</trans>
</entry>
<entry>
<base>CHROOT_PATH_NON_EXISTANT</base>
<trans>Percorso Chroot inesistente</trans>
</entry>
<entry>
<base>SELECT_CHROOT_PATH</base>
<trans>Selezionare il percorso Chroot</trans>
</entry>
<entry>
<base>VPN_ACCESS</base>
<trans>Accesso RSSH + VPN</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>Accesso Shell</trans>
</entry>
<entry>
<base>SUDOER_ACCESS</base>
<trans>Accesso Sudo</trans>
</entry>
<entry>
<base>MODIFY_DESCRIPTION</base>
<trans><![CDATA[ <p> Enabling bash shell access for a user account poses a security risk. Only use this option if you know what you are doing. A safer option is to allow rssh access (sftp, ssh & rsync). </p> <p> Sudo access allows users to execute commands with the permissions of the root account without knowing the root password. This is more desirable than passing around the root password. Setting Sudo to yes also sets the shell to bash </p> <p> SHELL, VPN & FTP access for users depend on the settings in the Remote Access Panel being opened. </p> <p> Select an FTP Chroot path from the drop down box or enter it in the text field, the selection will overwrite the text field. </p> <p> Enter the public SSH Keys to allow ssh access without passwords, keys should be pasted as a single line, but they will wrap onto three or more lines in the display. To delete all keys type "deletekeys". </p> ]]></trans>
</entry>
<entry>
<base>SSHKEYS_DESCRIPTION</base>
<trans>Inserire la chiave SSH pubblica per consentire l'accesso pubblico senza password; la chiave deve essere incollata come una riga unica ma verrà divisa in tre o più righe a video. Per cancellare tutte le chiavi digitare "deletekeys".</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,62 @@
<lexicon lang="ja">
<entry>
<base>User Remote Access</base>
<trans>User Remote Access</trans>
</entry>
<entry>
<base>SSH keys</base>
<trans>SSH keys</trans>
</entry>
<entry>
<base>FORM_TITLE</base>
<trans>Change user remote access settings</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>シェル</trans>
</entry>
<entry>
<base>SUDO</base>
<trans>Sudo</trans>
</entry>
<entry>
<base>SSH_KEYS</base>
<trans>SSH Keys</trans>
</entry>
<entry>
<base>CHROOT_PATH</base>
<trans>Chroot Path</trans>
</entry>
<entry>
<base>CHROOT_PATH_NOT_GIVEN</base>
<trans>Chroot Path not given</trans>
</entry>
<entry>
<base>CHROOT_PATH_NON_EXISTANT</base>
<trans>Chroot Path does not exist</trans>
</entry>
<entry>
<base>SELECT_CHROOT_PATH</base>
<trans>Select Chroot Path</trans>
</entry>
<entry>
<base>VPN_ACCESS</base>
<trans>RSSH + VPN Access</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>Shell Access</trans>
</entry>
<entry>
<base>SUDOER_ACCESS</base>
<trans>Sudo Access</trans>
</entry>
<entry>
<base>MODIFY_DESCRIPTION</base>
<trans><![CDATA[ <p> Enabling bash shell access for a user account poses a security risk. Only use this option if you know what you are doing. A safer option is to allow rssh access (sftp, ssh & rsync). </p> <p> Sudo access allows users to execute commands with the permissions of the root account without knowing the root password. This is more desirable than passing around the root password. Setting Sudo to yes also sets the shell to bash </p> <p> SHELL, VPN & FTP access for users depend on the settings in the Remote Access Panel being opened. </p> <p> Select an FTP Chroot path from the drop down box or enter it in the text field, the selection will overwrite the text field. </p> <p> Enter the public SSH Keys to allow ssh access without passwords, keys should be pasted as a single line, but they will wrap onto three or more lines in the display. To delete all keys type "deletekeys". </p> ]]></trans>
</entry>
<entry>
<base>SSHKEYS_DESCRIPTION</base>
<trans>Enter the public SSH Keys to allow ssh access without passwords, keys should be pasted as a single line, but they will wrap onto three or more lines in the display. To delete all keys type "deletekeys".</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,62 @@
<lexicon lang="nb">
<entry>
<base>User Remote Access</base>
<trans>User Remote Access</trans>
</entry>
<entry>
<base>SSH keys</base>
<trans>SSH keys</trans>
</entry>
<entry>
<base>FORM_TITLE</base>
<trans>Change user remote access settings</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>Stav</trans>
</entry>
<entry>
<base>SUDO</base>
<trans>Sudo</trans>
</entry>
<entry>
<base>SSH_KEYS</base>
<trans>SSH Keys</trans>
</entry>
<entry>
<base>CHROOT_PATH</base>
<trans>Chroot Path</trans>
</entry>
<entry>
<base>CHROOT_PATH_NOT_GIVEN</base>
<trans>Chroot Path not given</trans>
</entry>
<entry>
<base>CHROOT_PATH_NON_EXISTANT</base>
<trans>Chroot Path does not exist</trans>
</entry>
<entry>
<base>SELECT_CHROOT_PATH</base>
<trans>Select Chroot Path</trans>
</entry>
<entry>
<base>VPN_ACCESS</base>
<trans>RSSH + VPN Access</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>Shell Access</trans>
</entry>
<entry>
<base>SUDOER_ACCESS</base>
<trans>Sudo Access</trans>
</entry>
<entry>
<base>MODIFY_DESCRIPTION</base>
<trans><![CDATA[ <p> Enabling bash shell access for a user account poses a security risk. Only use this option if you know what you are doing. A safer option is to allow rssh access (sftp, ssh & rsync). </p> <p> Sudo access allows users to execute commands with the permissions of the root account without knowing the root password. This is more desirable than passing around the root password. Setting Sudo to yes also sets the shell to bash </p> <p> SHELL, VPN & FTP access for users depend on the settings in the Remote Access Panel being opened. </p> <p> Select an FTP Chroot path from the drop down box or enter it in the text field, the selection will overwrite the text field. </p> <p> Enter the public SSH Keys to allow ssh access without passwords, keys should be pasted as a single line, but they will wrap onto three or more lines in the display. To delete all keys type "deletekeys". </p> ]]></trans>
</entry>
<entry>
<base>SSHKEYS_DESCRIPTION</base>
<trans>Enter the public SSH Keys to allow ssh access without passwords, keys should be pasted as a single line, but they will wrap onto three or more lines in the display. To delete all keys type "deletekeys".</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,62 @@
<lexicon lang="nl">
<entry>
<base>User Remote Access</base>
<trans>Toegang voor gebruiker op afstand</trans>
</entry>
<entry>
<base>SSH keys</base>
<trans>SSH sleutels</trans>
</entry>
<entry>
<base>FORM_TITLE</base>
<trans>Verander instellingen voor gebruiker op afstand</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>Shell</trans>
</entry>
<entry>
<base>SUDO</base>
<trans>Sudo</trans>
</entry>
<entry>
<base>SSH_KEYS</base>
<trans>SSH sleutels</trans>
</entry>
<entry>
<base>CHROOT_PATH</base>
<trans>Chroot Pad</trans>
</entry>
<entry>
<base>CHROOT_PATH_NOT_GIVEN</base>
<trans>Chroot Pad niet opgegeven</trans>
</entry>
<entry>
<base>CHROOT_PATH_NON_EXISTANT</base>
<trans>Chroot Pad bestaat niet</trans>
</entry>
<entry>
<base>SELECT_CHROOT_PATH</base>
<trans>Kies Chroot Pad</trans>
</entry>
<entry>
<base>VPN_ACCESS</base>
<trans>RSSH + VPN toegang</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>Shell Toegang</trans>
</entry>
<entry>
<base>SUDOER_ACCESS</base>
<trans>Sudo Toegang</trans>
</entry>
<entry>
<base>MODIFY_DESCRIPTION</base>
<trans><![CDATA[ <p> Enabling bash shell access for a user account poses a security risk. Only use this option if you know what you are doing. A safer option is to allow rssh access (sftp, ssh & rsync). </p> <p> Sudo access allows users to execute commands with the permissions of the root account without knowing the root password. This is more desirable than passing around the root password. Setting Sudo to yes also sets the shell to bash </p> <p> SHELL, VPN & FTP access for users depend on the settings in the Remote Access Panel being opened. </p> <p> Select an FTP Chroot path from the drop down box or enter it in the text field, the selection will overwrite the text field. </p> <p> Enter the public SSH Keys to allow ssh access without passwords, keys should be pasted as a single line, but they will wrap onto three or more lines in the display. To delete all keys type "deletekeys". </p> ]]></trans>
</entry>
<entry>
<base>SSHKEYS_DESCRIPTION</base>
<trans>Geef de publieke SSH sleutels op om toegang voor ssh toe te staan zonder wachtwoord, sleutels moeten worden geplakt als één enkele regel maar zullen worden verspreid over die of meer regels in het scherm. Om alle sleutels te verwijderen, type dan \"deletekeys\".</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,62 @@
<lexicon lang="pl">
<entry>
<base>User Remote Access</base>
<trans>User Remote Access</trans>
</entry>
<entry>
<base>SSH keys</base>
<trans>SSH keys</trans>
</entry>
<entry>
<base>FORM_TITLE</base>
<trans>Change user remote access settings</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>Powłoka</trans>
</entry>
<entry>
<base>SUDO</base>
<trans>Sudo</trans>
</entry>
<entry>
<base>SSH_KEYS</base>
<trans>SSH Keys</trans>
</entry>
<entry>
<base>CHROOT_PATH</base>
<trans>Chroot Path</trans>
</entry>
<entry>
<base>CHROOT_PATH_NOT_GIVEN</base>
<trans>Chroot Path not given</trans>
</entry>
<entry>
<base>CHROOT_PATH_NON_EXISTANT</base>
<trans>Chroot Path does not exist</trans>
</entry>
<entry>
<base>SELECT_CHROOT_PATH</base>
<trans>Select Chroot Path</trans>
</entry>
<entry>
<base>VPN_ACCESS</base>
<trans>RSSH + VPN Access</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>Shell Access</trans>
</entry>
<entry>
<base>SUDOER_ACCESS</base>
<trans>Sudo Access</trans>
</entry>
<entry>
<base>MODIFY_DESCRIPTION</base>
<trans><![CDATA[ <p> Enabling bash shell access for a user account poses a security risk. Only use this option if you know what you are doing. A safer option is to allow rssh access (sftp, ssh & rsync). </p> <p> Sudo access allows users to execute commands with the permissions of the root account without knowing the root password. This is more desirable than passing around the root password. Setting Sudo to yes also sets the shell to bash </p> <p> SHELL, VPN & FTP access for users depend on the settings in the Remote Access Panel being opened. </p> <p> Select an FTP Chroot path from the drop down box or enter it in the text field, the selection will overwrite the text field. </p> <p> Enter the public SSH Keys to allow ssh access without passwords, keys should be pasted as a single line, but they will wrap onto three or more lines in the display. To delete all keys type "deletekeys". </p> ]]></trans>
</entry>
<entry>
<base>SSHKEYS_DESCRIPTION</base>
<trans>Enter the public SSH Keys to allow ssh access without passwords, keys should be pasted as a single line, but they will wrap onto three or more lines in the display. To delete all keys type "deletekeys".</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,62 @@
<lexicon lang="pt-br">
<entry>
<base>User Remote Access</base>
<trans>Acesso Remoto do Usuário</trans>
</entry>
<entry>
<base>SSH keys</base>
<trans>Chaves SSH</trans>
</entry>
<entry>
<base>FORM_TITLE</base>
<trans>Mudar configurações de acesso remoto do usuário</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>Shell</trans>
</entry>
<entry>
<base>SUDO</base>
<trans>Sudo</trans>
</entry>
<entry>
<base>SSH_KEYS</base>
<trans>Chaves SSH</trans>
</entry>
<entry>
<base>CHROOT_PATH</base>
<trans>Caminho do CHROOT</trans>
</entry>
<entry>
<base>CHROOT_PATH_NOT_GIVEN</base>
<trans>Caminho do CHROOT não fornecido</trans>
</entry>
<entry>
<base>CHROOT_PATH_NON_EXISTANT</base>
<trans>Caminho do CHROOT não existe</trans>
</entry>
<entry>
<base>SELECT_CHROOT_PATH</base>
<trans>Selecione o caminho do CHROOT</trans>
</entry>
<entry>
<base>VPN_ACCESS</base>
<trans>Acesso RSSH e VPN</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>Acesso Shell</trans>
</entry>
<entry>
<base>SUDOER_ACCESS</base>
<trans>Acesso Sudo</trans>
</entry>
<entry>
<base>MODIFY_DESCRIPTION</base>
<trans><![CDATA[ <p> Enabling bash shell access for a user account poses a security risk. Only use this option if you know what you are doing. A safer option is to allow rssh access (sftp, ssh & rsync). </p> <p> Sudo access allows users to execute commands with the permissions of the root account without knowing the root password. This is more desirable than passing around the root password. Setting Sudo to yes also sets the shell to bash </p> <p> SHELL, VPN & FTP access for users depend on the settings in the Remote Access Panel being opened. </p> <p> Select an FTP Chroot path from the drop down box or enter it in the text field, the selection will overwrite the text field. </p> <p> Enter the public SSH Keys to allow ssh access without passwords, keys should be pasted as a single line, but they will wrap onto three or more lines in the display. To delete all keys type "deletekeys". </p> ]]></trans>
</entry>
<entry>
<base>SSHKEYS_DESCRIPTION</base>
<trans>Entre as chave de SSH públicas para permitir acesso SSH sem senhas, as chaves devem ser coladas como uma linha simples mas serão quebradas em três ou mais linhas para exibição na tela. Para apagar todas as chaves escreva "deletekeys".</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,62 @@
<lexicon lang="pt">
<entry>
<base>User Remote Access</base>
<trans>Acesso Remoto do Usuário</trans>
</entry>
<entry>
<base>SSH keys</base>
<trans>Chaves SSH</trans>
</entry>
<entry>
<base>FORM_TITLE</base>
<trans>Mudar configurações de acesso remoto do usuário</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>Shell</trans>
</entry>
<entry>
<base>SUDO</base>
<trans>Sudo</trans>
</entry>
<entry>
<base>SSH_KEYS</base>
<trans>Chaves SSH</trans>
</entry>
<entry>
<base>CHROOT_PATH</base>
<trans>Caminho do CHROOT</trans>
</entry>
<entry>
<base>CHROOT_PATH_NOT_GIVEN</base>
<trans>Caminho do CHROOT não fornecido</trans>
</entry>
<entry>
<base>CHROOT_PATH_NON_EXISTANT</base>
<trans>Caminho do CHROOT não existe</trans>
</entry>
<entry>
<base>SELECT_CHROOT_PATH</base>
<trans>Selecione o caminho do CHROOT</trans>
</entry>
<entry>
<base>VPN_ACCESS</base>
<trans>Acesso RSSH e VPN</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>Acesso Shell</trans>
</entry>
<entry>
<base>SUDOER_ACCESS</base>
<trans>Acesso Sudo</trans>
</entry>
<entry>
<base>MODIFY_DESCRIPTION</base>
<trans><![CDATA[ <p> Enabling bash shell access for a user account poses a security risk. Only use this option if you know what you are doing. A safer option is to allow rssh access (sftp, ssh & rsync). </p> <p> Sudo access allows users to execute commands with the permissions of the root account without knowing the root password. This is more desirable than passing around the root password. Setting Sudo to yes also sets the shell to bash </p> <p> SHELL, VPN & FTP access for users depend on the settings in the Remote Access Panel being opened. </p> <p> Select an FTP Chroot path from the drop down box or enter it in the text field, the selection will overwrite the text field. </p> <p> Enter the public SSH Keys to allow ssh access without passwords, keys should be pasted as a single line, but they will wrap onto three or more lines in the display. To delete all keys type "deletekeys". </p> ]]></trans>
</entry>
<entry>
<base>SSHKEYS_DESCRIPTION</base>
<trans>Entre as chave de SSH públicas para permitir acesso SSH sem senhas, as chaves devem ser coladas como uma linha simples mas serão quebradas em três ou mais linhas para exibição na tela. Para apagar todas as chaves escreva "deletekeys".</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,62 @@
<lexicon lang="ro">
<entry>
<base>User Remote Access</base>
<trans>User Remote Access</trans>
</entry>
<entry>
<base>SSH keys</base>
<trans>SSH keys</trans>
</entry>
<entry>
<base>FORM_TITLE</base>
<trans>Change user remote access settings</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>Shell</trans>
</entry>
<entry>
<base>SUDO</base>
<trans>Sudo</trans>
</entry>
<entry>
<base>SSH_KEYS</base>
<trans>SSH Keys</trans>
</entry>
<entry>
<base>CHROOT_PATH</base>
<trans>Chroot Path</trans>
</entry>
<entry>
<base>CHROOT_PATH_NOT_GIVEN</base>
<trans>Chroot Path not given</trans>
</entry>
<entry>
<base>CHROOT_PATH_NON_EXISTANT</base>
<trans>Chroot Path does not exist</trans>
</entry>
<entry>
<base>SELECT_CHROOT_PATH</base>
<trans>Select Chroot Path</trans>
</entry>
<entry>
<base>VPN_ACCESS</base>
<trans>RSSH + VPN Access</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>Shell Access</trans>
</entry>
<entry>
<base>SUDOER_ACCESS</base>
<trans>Sudo Access</trans>
</entry>
<entry>
<base>MODIFY_DESCRIPTION</base>
<trans><![CDATA[ <p> Enabling bash shell access for a user account poses a security risk. Only use this option if you know what you are doing. A safer option is to allow rssh access (sftp, ssh & rsync). </p> <p> Sudo access allows users to execute commands with the permissions of the root account without knowing the root password. This is more desirable than passing around the root password. Setting Sudo to yes also sets the shell to bash </p> <p> SHELL, VPN & FTP access for users depend on the settings in the Remote Access Panel being opened. </p> <p> Select an FTP Chroot path from the drop down box or enter it in the text field, the selection will overwrite the text field. </p> <p> Enter the public SSH Keys to allow ssh access without passwords, keys should be pasted as a single line, but they will wrap onto three or more lines in the display. To delete all keys type "deletekeys". </p> ]]></trans>
</entry>
<entry>
<base>SSHKEYS_DESCRIPTION</base>
<trans>Enter the public SSH Keys to allow ssh access without passwords, keys should be pasted as a single line, but they will wrap onto three or more lines in the display. To delete all keys type "deletekeys".</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,62 @@
<lexicon lang="ru">
<entry>
<base>User Remote Access</base>
<trans>Пользователь удаленного доступа</trans>
</entry>
<entry>
<base>SSH keys</base>
<trans>SSH ключи</trans>
</entry>
<entry>
<base>FORM_TITLE</base>
<trans>Изменение параметров удаленного доступа пользователя</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>Оболочка</trans>
</entry>
<entry>
<base>SUDO</base>
<trans>Sudo</trans>
</entry>
<entry>
<base>SSH_KEYS</base>
<trans>SSH ключи</trans>
</entry>
<entry>
<base>CHROOT_PATH</base>
<trans>Chroot путь</trans>
</entry>
<entry>
<base>CHROOT_PATH_NOT_GIVEN</base>
<trans>Chroot путь не задан</trans>
</entry>
<entry>
<base>CHROOT_PATH_NON_EXISTANT</base>
<trans>Chroot путь не существует</trans>
</entry>
<entry>
<base>SELECT_CHROOT_PATH</base>
<trans>Выберите Chroot путь</trans>
</entry>
<entry>
<base>VPN_ACCESS</base>
<trans>RSSH + VPN допступ</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>Shell доступ</trans>
</entry>
<entry>
<base>SUDOER_ACCESS</base>
<trans>Sudo доступ</trans>
</entry>
<entry>
<base>MODIFY_DESCRIPTION</base>
<trans><![CDATA[ <p> Enabling bash shell access for a user account poses a security risk. Only use this option if you know what you are doing. A safer option is to allow rssh access (sftp, ssh & rsync). </p> <p> Sudo access allows users to execute commands with the permissions of the root account without knowing the root password. This is more desirable than passing around the root password. Setting Sudo to yes also sets the shell to bash </p> <p> SHELL, VPN & FTP access for users depend on the settings in the Remote Access Panel being opened. </p> <p> Select an FTP Chroot path from the drop down box or enter it in the text field, the selection will overwrite the text field. </p> <p> Enter the public SSH Keys to allow ssh access without passwords, keys should be pasted as a single line, but they will wrap onto three or more lines in the display. To delete all keys type "deletekeys". </p> ]]></trans>
</entry>
<entry>
<base>SSHKEYS_DESCRIPTION</base>
<trans>Enter the public SSH Keys to allow ssh access without passwords, keys should be pasted as a single line, but they will wrap onto three or more lines in the display. To delete all keys type "deletekeys".</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,62 @@
<lexicon lang="sl">
<entry>
<base>User Remote Access</base>
<trans>User Remote Access</trans>
</entry>
<entry>
<base>SSH keys</base>
<trans>SSH keys</trans>
</entry>
<entry>
<base>FORM_TITLE</base>
<trans>Change user remote access settings</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>Shell</trans>
</entry>
<entry>
<base>SUDO</base>
<trans>Sudo</trans>
</entry>
<entry>
<base>SSH_KEYS</base>
<trans>SSH Keys</trans>
</entry>
<entry>
<base>CHROOT_PATH</base>
<trans>Chroot Path</trans>
</entry>
<entry>
<base>CHROOT_PATH_NOT_GIVEN</base>
<trans>Chroot Path not given</trans>
</entry>
<entry>
<base>CHROOT_PATH_NON_EXISTANT</base>
<trans>Chroot Path does not exist</trans>
</entry>
<entry>
<base>SELECT_CHROOT_PATH</base>
<trans>Select Chroot Path</trans>
</entry>
<entry>
<base>VPN_ACCESS</base>
<trans>RSSH + VPN Access</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>Shell Access</trans>
</entry>
<entry>
<base>SUDOER_ACCESS</base>
<trans>Sudo Access</trans>
</entry>
<entry>
<base>MODIFY_DESCRIPTION</base>
<trans><![CDATA[ <p> Enabling bash shell access for a user account poses a security risk. Only use this option if you know what you are doing. A safer option is to allow rssh access (sftp, ssh & rsync). </p> <p> Sudo access allows users to execute commands with the permissions of the root account without knowing the root password. This is more desirable than passing around the root password. Setting Sudo to yes also sets the shell to bash </p> <p> SHELL, VPN & FTP access for users depend on the settings in the Remote Access Panel being opened. </p> <p> Select an FTP Chroot path from the drop down box or enter it in the text field, the selection will overwrite the text field. </p> <p> Enter the public SSH Keys to allow ssh access without passwords, keys should be pasted as a single line, but they will wrap onto three or more lines in the display. To delete all keys type "deletekeys". </p> ]]></trans>
</entry>
<entry>
<base>SSHKEYS_DESCRIPTION</base>
<trans>Enter the public SSH Keys to allow ssh access without passwords, keys should be pasted as a single line, but they will wrap onto three or more lines in the display. To delete all keys type "deletekeys".</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,62 @@
<lexicon lang="sv">
<entry>
<base>User Remote Access</base>
<trans>Användares fjärråtkomst</trans>
</entry>
<entry>
<base>SSH keys</base>
<trans>SSH-nycklar</trans>
</entry>
<entry>
<base>FORM_TITLE</base>
<trans>Ändra inställningar för användares fjärråtkomst</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>Skal</trans>
</entry>
<entry>
<base>SUDO</base>
<trans>Sudo</trans>
</entry>
<entry>
<base>SSH_KEYS</base>
<trans>SSH-nycklar</trans>
</entry>
<entry>
<base>CHROOT_PATH</base>
<trans>Chroot-sökväg</trans>
</entry>
<entry>
<base>CHROOT_PATH_NOT_GIVEN</base>
<trans>Chroot-sökväg inte angiven</trans>
</entry>
<entry>
<base>CHROOT_PATH_NON_EXISTANT</base>
<trans>Chroot-sökväg existerar inte</trans>
</entry>
<entry>
<base>SELECT_CHROOT_PATH</base>
<trans>Välj Chroot-sökväg</trans>
</entry>
<entry>
<base>VPN_ACCESS</base>
<trans>RSSH + VPN-åtkomst</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>Skalåtkomst</trans>
</entry>
<entry>
<base>SUDOER_ACCESS</base>
<trans>Sudo-åtkomst</trans>
</entry>
<entry>
<base>MODIFY_DESCRIPTION</base>
<trans><![CDATA[ <p> Enabling bash shell access for a user account poses a security risk. Only use this option if you know what you are doing. A safer option is to allow rssh access (sftp, ssh & rsync). </p> <p> Sudo access allows users to execute commands with the permissions of the root account without knowing the root password. This is more desirable than passing around the root password. Setting Sudo to yes also sets the shell to bash </p> <p> SHELL, VPN & FTP access for users depend on the settings in the Remote Access Panel being opened. </p> <p> Select an FTP Chroot path from the drop down box or enter it in the text field, the selection will overwrite the text field. </p> <p> Enter the public SSH Keys to allow ssh access without passwords, keys should be pasted as a single line, but they will wrap onto three or more lines in the display. To delete all keys type "deletekeys". </p> ]]></trans>
</entry>
<entry>
<base>SSHKEYS_DESCRIPTION</base>
<trans>Ange de publika SSH-nycklarna som tillåter ssh-åtkomst utan lösenord. Nycklarna skall klistras in som en rad, men de presenteras på 3 eller fler rader i rutan. För att radera samtliga nycklar skriv "deletekeys".</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,62 @@
<lexicon lang="th">
<entry>
<base>User Remote Access</base>
<trans>User Remote Access</trans>
</entry>
<entry>
<base>SSH keys</base>
<trans>SSH keys</trans>
</entry>
<entry>
<base>FORM_TITLE</base>
<trans>Change user remote access settings</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>Shell, เชลล์</trans>
</entry>
<entry>
<base>SUDO</base>
<trans>Sudo</trans>
</entry>
<entry>
<base>SSH_KEYS</base>
<trans>SSH Keys</trans>
</entry>
<entry>
<base>CHROOT_PATH</base>
<trans>Chroot Path</trans>
</entry>
<entry>
<base>CHROOT_PATH_NOT_GIVEN</base>
<trans>Chroot Path not given</trans>
</entry>
<entry>
<base>CHROOT_PATH_NON_EXISTANT</base>
<trans>Chroot Path does not exist</trans>
</entry>
<entry>
<base>SELECT_CHROOT_PATH</base>
<trans>Select Chroot Path</trans>
</entry>
<entry>
<base>VPN_ACCESS</base>
<trans>RSSH + VPN Access</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>Shell Access</trans>
</entry>
<entry>
<base>SUDOER_ACCESS</base>
<trans>Sudo Access</trans>
</entry>
<entry>
<base>MODIFY_DESCRIPTION</base>
<trans><![CDATA[ <p> Enabling bash shell access for a user account poses a security risk. Only use this option if you know what you are doing. A safer option is to allow rssh access (sftp, ssh & rsync). </p> <p> Sudo access allows users to execute commands with the permissions of the root account without knowing the root password. This is more desirable than passing around the root password. Setting Sudo to yes also sets the shell to bash </p> <p> SHELL, VPN & FTP access for users depend on the settings in the Remote Access Panel being opened. </p> <p> Select an FTP Chroot path from the drop down box or enter it in the text field, the selection will overwrite the text field. </p> <p> Enter the public SSH Keys to allow ssh access without passwords, keys should be pasted as a single line, but they will wrap onto three or more lines in the display. To delete all keys type "deletekeys". </p> ]]></trans>
</entry>
<entry>
<base>SSHKEYS_DESCRIPTION</base>
<trans>Enter the public SSH Keys to allow ssh access without passwords, keys should be pasted as a single line, but they will wrap onto three or more lines in the display. To delete all keys type "deletekeys".</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,62 @@
<lexicon lang="tr">
<entry>
<base>User Remote Access</base>
<trans>User Remote Access</trans>
</entry>
<entry>
<base>SSH keys</base>
<trans>SSH keys</trans>
</entry>
<entry>
<base>FORM_TITLE</base>
<trans>Change user remote access settings</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>Shell</trans>
</entry>
<entry>
<base>SUDO</base>
<trans>Sudo</trans>
</entry>
<entry>
<base>SSH_KEYS</base>
<trans>SSH Keys</trans>
</entry>
<entry>
<base>CHROOT_PATH</base>
<trans>Chroot Path</trans>
</entry>
<entry>
<base>CHROOT_PATH_NOT_GIVEN</base>
<trans>Chroot Path not given</trans>
</entry>
<entry>
<base>CHROOT_PATH_NON_EXISTANT</base>
<trans>Chroot Path does not exist</trans>
</entry>
<entry>
<base>SELECT_CHROOT_PATH</base>
<trans>Select Chroot Path</trans>
</entry>
<entry>
<base>VPN_ACCESS</base>
<trans>RSSH + VPN Access</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>Shell Access</trans>
</entry>
<entry>
<base>SUDOER_ACCESS</base>
<trans>Sudo Access</trans>
</entry>
<entry>
<base>MODIFY_DESCRIPTION</base>
<trans><![CDATA[ <p> Enabling bash shell access for a user account poses a security risk. Only use this option if you know what you are doing. A safer option is to allow rssh access (sftp, ssh & rsync). </p> <p> Sudo access allows users to execute commands with the permissions of the root account without knowing the root password. This is more desirable than passing around the root password. Setting Sudo to yes also sets the shell to bash </p> <p> SHELL, VPN & FTP access for users depend on the settings in the Remote Access Panel being opened. </p> <p> Select an FTP Chroot path from the drop down box or enter it in the text field, the selection will overwrite the text field. </p> <p> Enter the public SSH Keys to allow ssh access without passwords, keys should be pasted as a single line, but they will wrap onto three or more lines in the display. To delete all keys type "deletekeys". </p> ]]></trans>
</entry>
<entry>
<base>SSHKEYS_DESCRIPTION</base>
<trans>Enter the public SSH Keys to allow ssh access without passwords, keys should be pasted as a single line, but they will wrap onto three or more lines in the display. To delete all keys type "deletekeys".</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,62 @@
<lexicon lang="zh-cn">
<entry>
<base>User Remote Access</base>
<trans>用户远程访问</trans>
</entry>
<entry>
<base>SSH keys</base>
<trans>SSH 密钥</trans>
</entry>
<entry>
<base>FORM_TITLE</base>
<trans>修改用户远程访问设置</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>Shell</trans>
</entry>
<entry>
<base>SUDO</base>
<trans>Sudo</trans>
</entry>
<entry>
<base>SSH_KEYS</base>
<trans>SSH 密钥</trans>
</entry>
<entry>
<base>CHROOT_PATH</base>
<trans>Chroot 路径</trans>
</entry>
<entry>
<base>CHROOT_PATH_NOT_GIVEN</base>
<trans>Chroot 路径未设置</trans>
</entry>
<entry>
<base>CHROOT_PATH_NON_EXISTANT</base>
<trans>Chroot 路径不存在</trans>
</entry>
<entry>
<base>SELECT_CHROOT_PATH</base>
<trans>选择 Chroot 路径</trans>
</entry>
<entry>
<base>VPN_ACCESS</base>
<trans>RSSH + VPN 访问</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>Shell 访问</trans>
</entry>
<entry>
<base>SUDOER_ACCESS</base>
<trans>Sudo 访问</trans>
</entry>
<entry>
<base>MODIFY_DESCRIPTION</base>
<trans><![CDATA[ <p> 启用 bash shell 访问用户账户存在安全风险。仅仅在您知道后果的情况下使用。 一个更安全的选项是允许RSSH访问(sftp, ssh & rsync)。</p> <p> Sudo 访问允许用户在不知道root密码的情况下以root权限执行命令。 这比在网络中传输root密码更为可取。启用Sudo也意味着启用 bash shell。</p> <p> SHELL, VPN & FTP 访问的前提是远程访问面板设置被开启。</p> <p> 在下面的框框或文本区填上一个 FTP Chroot 路径,位置栏会覆盖文本区域。</p> <p> 输入SSH公钥可以允许SSH无需密码访问密钥每行粘贴一个但显示时可能会占据三行或更多。要删除所有密钥请输入"deletekeys"。</p> ]]></trans>
</entry>
<entry>
<base>SSHKEYS_DESCRIPTION</base>
<trans>输入SSH公钥可以允许SSH无需密码访问密钥每行粘贴一个但显示时可能会占据三行或更多。要删除所有密钥请输入"deletekeys"。</trans>
</entry>
</lexicon>

View File

@ -0,0 +1,62 @@
<lexicon lang="zh-tw">
<entry>
<base>User Remote Access</base>
<trans>使用者遠端存取</trans>
</entry>
<entry>
<base>SSH keys</base>
<trans>SSH金鑰</trans>
</entry>
<entry>
<base>FORM_TITLE</base>
<trans>改變使用者遠端存取設定</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>命令列</trans>
</entry>
<entry>
<base>SUDO</base>
<trans>超級使用者</trans>
</entry>
<entry>
<base>SSH_KEYS</base>
<trans>SSH金鑰</trans>
</entry>
<entry>
<base>CHROOT_PATH</base>
<trans>置換根目錄的路徑</trans>
</entry>
<entry>
<base>CHROOT_PATH_NOT_GIVEN</base>
<trans>未給定置換根目錄的路徑</trans>
</entry>
<entry>
<base>CHROOT_PATH_NON_EXISTANT</base>
<trans>置換根目錄的路徑不存在</trans>
</entry>
<entry>
<base>SELECT_CHROOT_PATH</base>
<trans>選擇置換根目錄的路徑</trans>
</entry>
<entry>
<base>VPN_ACCESS</base>
<trans>RSSH + VPN存取</trans>
</entry>
<entry>
<base>SHELL_ACCESS</base>
<trans>命令列存取</trans>
</entry>
<entry>
<base>SUDOER_ACCESS</base>
<trans>超級使用者存取</trans>
</entry>
<entry>
<base>MODIFY_DESCRIPTION</base>
<trans><![CDATA[ <p>啟用使用者帳號的bash shell存取存在安全風險。僅能在您知道自己在做什麼的情況下使用這個選項。更安全的選擇是允許rssh存取(sftp, ssh & rsync)。</p> <p>Sudo存取允許使用者執行root帳號權限的命令而無需root密碼。此較傳遞root密碼更為可取。啟用Sudo亦啟用shell為bash。</p> <p> SHELL, VPN & FTP使用者存取基於遠端存取控制台設定的開啟。</p> <p>從下拉框或文字輸入區中選擇FTP置換根目錄的路徑蓋選項將覆寫文字區。</p> <p>輸入SSH公開金鑰以允許ssh無需密碼存取金鑰需以無間斷方式一整行貼上但可能會以三行以上方式顯示。要刪除所有金鑰請輸入"deletekeys"。</p> ]]></trans>
</entry>
<entry>
<base>SSHKEYS_DESCRIPTION</base>
<trans>輸入SSH金鑰以允許ssh無密碼存取金鑰需以無間斷方式一整行貼上但可能會以三行以上方式顯示。要刪除所有金鑰請輸入"deletekeys"。</trans>
</entry>
</lexicon>

View File

@ -0,0 +1 @@
PERMS=0440

View File

@ -0,0 +1,3 @@
root ALL=(ALL) ALL

View File

@ -0,0 +1,22 @@
{
my %accounts;
tie %accounts, 'esmith::config', '/home/e-smith/db/accounts';
my $key;
my $value;
my $result = "";
while (($key,$value) = each %accounts)
{
my ($type, %properties) = split (/\|/, $value, -1);
if ($type eq 'user')
{
if (defined($properties{'Sudoer'}) && $properties{'Sudoer'} eq 'yes')
{
$result .= "$key ALL=(ALL) ALL\n";
}
}
}
$result;
}

View File

@ -0,0 +1,103 @@
#!/usr/bin/perl -wT
#----------------------------------------------------------------------
# heading : Security
# description : User Remote Access
# navigation : 1000 1250
#
# Modified (c) 2002,2006 Stephen Noble <stephen@dungog.net>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
#----------------------------------------------------------------------
use strict;
use warnings;
use esmith::FormMagick::Panel::remoteuseraccess;
my $fm = esmith::FormMagick::Panel::remoteuseraccess->new();
$fm->display();
__DATA__
<form title="FORM_TITLE"
header="/etc/e-smith/web/common/head.tmpl"
footer="/etc/e-smith/web/common/foot.tmpl">
<page
name="First"
pre-event="print_status_message()">
<subroutine src="print_table" />
</page>
<page
name="PAGE_MODIFY"
pre-event="turn_off_buttons()"
post-event="change_settings()" >
<description>MODIFY_DESCRIPTION</description>
<field type="literal" id="User" >
<label>ACCOUNT</label>
</field>
<field type="literal" id="FullName">
<label>USER_NAME</label>
</field>
<field
type="select"
id="Shell"
options="'', '/bin/bash'"
value="Shell" >
<label>SHELL_ACCESS</label>
</field>
<field
type="select"
id="Sudoer"
options="'no' => 'NO', 'yes' => 'YES'"
value="Sudoer" >
<label>SUDOER_ACCESS</label>
</field>
<field
type="select"
id="VPNClientAccess"
options="'no' => 'NO', 'yes' => 'YES'"
value="VPNClientAccess" >
<label>VPN_ACCESS</label>
</field>
<field
type="select"
id="ChrootDir2"
options="get_chroot_dir()"
value="">
<label>SELECT_CHROOT_PATH</label>
</field>
<field
type="text" size="50"
id="ChrootDir"
value=""
validation="CheckChrootDirExists()">
<label>CHROOT_PATH</label>
</field>
<field type="textarea"
rows="10" cols="30"
id="sshKeys"
value="get_keys_text()">
<label>SSH_KEYS</label>
</field>
<subroutine src="print_button('SAVE')" />
</page>
</form>

View File

@ -0,0 +1,62 @@
#!/usr/bin/perl -wT
#----------------------------------------------------------------------
# heading : Your Settings
# description : SSH keys
# longdesc : add public keys to allow ssh access without passwords
# navigation : 100 600
#
# Modified (c) 2002,2006 Stephen Noble <stephen@dungog.net>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# uses the FormMagick Panel for remoteuseraccess
# but pulls username from $ENV{'REMOTE_USER'};
# rather then being selected from a table
#
#----------------------------------------------------------------------
use strict;
use warnings;
use esmith::FormMagick::Panel::remoteuseraccess;
my $fm = esmith::FormMagick::Panel::remoteuseraccess->new();
$fm->display();
__DATA__
<form title="FORM_TITLE"
header="/etc/e-smith/web/common/head.tmpl"
footer="/etc/e-smith/web/common/foot.tmpl">
<page
name="First"
pre-event="print_status_message()"
post-event="userpanel_change_settings()" >
<description>SSHKEYS_DESCRIPTION</description>
<field type="literal" id="User" value="get_panel_user()">
<label>ACCOUNT</label>
</field>
<field type="literal" id="FullName" value="get_full_name()">
<label>USER_NAME</label>
</field>
<field type="textarea"
rows="10" cols="30"
id="sshKeys"
value="userpanel_keys_text()">
<label>SSH_KEYS</label>
</field>
<subroutine src="print_button('SAVE')" />
</page>
</form>

View File

@ -0,0 +1,421 @@
#----------------------------------------------------------------------
# remoteuseraccess.pm
# support@dungog.net
#----------------------------------------------------------------------
package esmith::FormMagick::Panel::remoteuseraccess;
use strict;
use warnings;
use esmith::util;
use esmith::FormMagick;
use esmith::AccountsDB;
use esmith::ConfigDB;
use Exporter;
use Carp qw(verbose);
use HTML::Tabulate;
our @ISA = qw(esmith::FormMagick Exporter);
our @EXPORT = qw();
our $db = esmith::ConfigDB->open();
our $adb = esmith::AccountsDB->open();
our $PanelUser = $ENV{'REMOTE_USER'} ||'';
$PanelUser = $1 if ($PanelUser =~ /^([a-z][\-a-z0-9]*)$/);
sub new {
shift;
my $self = esmith::FormMagick->new();
$self->{calling_package} = (caller)[0];
bless $self;
return $self;
}
#server-manager functions
sub user_accounts_exist
{
return scalar $adb->users;
}
sub print_table
{
my $self = shift;
my $q = $self->{cgi};
my $user_table =
{
title => $self->localise('USER_LIST_CURRENT'),
stripe => '#D4D0C8',
fields => [ qw(User FullName shell sudo keys chroot vpn Modify) ],
labels => 1,
field_attr => {
User => {
label_escape => 0,
label => $self->localise('ACCOUNT')
},
FullName => {
label_escape => 0,
label => $self->localise('USER_NAME')
},
shell => {
label_escape => 0,
label => $self->localise('SHELL_ACCESS')
},
sudo => {
label_escape => 0,
label => $self->localise('SUDO')
},
keys => {
label_escape => 0,
label => $self->localise('SSH_KEYS')
},
chroot => {
label_escape => 0,
label => $self->localise('CHROOT_PATH')
},
vpn => {
label_escape => 0,
label => $self->localise('VPN_ACCESS')
},
Modify => {
label_escape => 0,
label => $self->localise('MODIFY'),
link => \&modify_link
},
}
};
my @data = ();
my @users = $adb->users;
return $self->localise("ACCOUNT_USER_NONE") if (@users == 0);
for my $user (@users)
{
my $username = $user->key;
# make clearer by only showing yes and localise
my $vpn = $user->prop('VPNClientAccess') || '';
if ($vpn eq 'yes') { $vpn = 'YES'; } else { $vpn = ''; }
my $sudo = $user->prop('Sudoer') || '';
if ($sudo eq 'yes') { $sudo = 'YES'; } else { $sudo = ''; }
my $keys = '';
my $file = "/home/e-smith/files/users/$username/.ssh/authorized_keys2";
if (( -e $file ) && (! -z $file ))
{ $keys = 'YES'; }
my $shell = $user->prop('Shell') || '';
if ($shell eq '/usr/bin/rssh') { $shell = ''; }
my $ChrootDir = $user->prop('ChrootDir') || "";
$ChrootDir =~ s:/home/e-smith/files/ibays/::;
$ChrootDir =~ s:/home/e-smith/files/users/$username/home:home:;
push @data,
{ User => $user->key,
FullName => $user->prop('FirstName') . " " .
$user->prop('LastName'),
Sudoer => $user->prop('Sudoer') || 'no',
VPNClientAccess => $user->prop('VPNClientAccess') || 'no',
shell => $shell,
chroot => $ChrootDir,
ChrootDir => $user->prop('ChrootDir') || "/home/e-smith/files/users/$username/home",
sudo => $self->localise($sudo),
keys => $self->localise($keys),
vpn => $self->localise($vpn),
Modify => $self->localise('MODIFY'),
}
}
my $t = HTML::Tabulate->new($user_table);
$t->render(\@data, $user_table);
}
sub modify_link
{
my ($data_item, $row, $field) = @_;
return "remoteuseraccess?" .
join("&",
"page=0",
"page_stack=",
"Next=Next",
"User=" . $row->{User},
"FullName=" . $row->{FullName},
"Sudoer=" . $row->{Sudoer},
"Shell=" . $row->{shell},
"ChrootDir=" . $row->{ChrootDir},
"VPNClientAccess=" . $row->{VPNClientAccess},
"wherenext=PAGE_MODIFY");
}
sub get_chroot_dir
{
my $self = shift;
my %existingAccounts = ('' => '',
'home' => ". ~/home" ,
'/home/e-smith/files'=> '.. /home/e-smith/files' );
foreach my $account ($adb->get_all)
{
if ($account->prop('type') =~ /(ibay)/)
{
$existingAccounts{"/home/e-smith/files/ibays/" . $account->key} = $account->key;
$existingAccounts{"/home/e-smith/files/ibays/" . $account->key . "/html"} = $account->key . "/html";
$existingAccounts{"/home/e-smith/files/ibays/" . $account->key . "/files"} = $account->key. "/files";
}
}
return(\%existingAccounts);
}
sub get_keys_text
{
my $self = shift;
my $q = $self->{cgi};
my $user = $q->param('User');
my $file = "/home/e-smith/files/users/$user/.ssh/authorized_keys2";
my $sshKeys = '';
# if exists and is not empty
if (( -e $file ) && (! -z $file ))
{
open (SSHKEY, "<$file")
or die "Error: Could not open file: $file\n";
my @sshTemp = <SSHKEY>;
$sshKeys = join ("", @sshTemp);
close SSHKEY;
}
return $sshKeys;
}
sub change_settings
{
my $self = shift;
my $q = $self->{cgi};
my $Shell = $q->param ('Shell');
my $Sudoer = $q->param ('Sudoer');
my $VPNClientAccess = $q->param ('VPNClientAccess');
my $ChrootDir = $q->param ('ChrootDir');
my $ChrootDir2 = $q->param ('ChrootDir2');
my $user = $q->param('User');
if ($user =~ /^([a-z][\-a-z0-9]*)$/)
{
$user = $1;
}
my $sshKeys = $q->param ('sshKeys');
if ($sshKeys ne '')
{
my $file = "/home/e-smith/files/users/$user/.ssh/authorized_keys2";
my $dir = "/home/e-smith/files/users/$user/.ssh";
# delete .ssh/authorized_keys2
if ($sshKeys =~ /deletekeys/)
{
system ("/bin/rm -rf $file") == 0
or die ("Error deleting $file.\n");
}
else
{
# Strip out DOS Carriage Returns (CR)
$sshKeys =~ s/\r//g;
unless ( -e $file )
{ system ("/bin/mkdir -p $dir") == 0
or die ("Error creating ssh directory.\n"); }
unlink $file;
open (SSHKEY, ">$file")
or die ("Error saving SSH Keys.\n");
print SSHKEY "$sshKeys\n";
close SSHKEY;
system ("/bin/chown -R $user.$user $dir") == 0
or die ("Error chown .ssh directory.\n");
}
}
# if the drop down is blank and field is valid
# set the field to the drop down, save the drop down
if (($ChrootDir2 eq '' ) && ($ChrootDir ne ''))
{
$ChrootDir2 = $ChrootDir || '';
}
if (($Sudoer eq 'yes') or ($Shell eq '/bin/bash'))
{
$adb->set_prop($user, 'Shell', '/bin/bash');
} else {
$adb->set_prop($user, 'Shell', '/usr/bin/rssh');
}
$adb->set_prop($user, 'Sudoer', $Sudoer);
$adb->set_prop($user, 'ChrootDir', $ChrootDir2);
$adb->set_prop($user, 'VPNClientAccess', $VPNClientAccess);
system ("/sbin/e-smith/signal-event", "user-modify", $user) == 0
or die ("Error occurred updating user access\n");
return $self->success("SUCCESS");
}
#userpanel functions
sub get_panel_user
{
return $PanelUser;
}
sub get_full_name
{
return $adb->get_prop($PanelUser, "FirstName") . " " .
$adb->get_prop($PanelUser, "LastName");
}
sub userpanel_keys_text
{
my $self = shift;
my $q = $self->{cgi};
my $file = "/home/e-smith/files/users/$PanelUser/.ssh/authorized_keys2";
if ($PanelUser eq 'admin')
{ $file = "/root/.ssh/authorized_keys2"; }
my $sshKeys = '';
# if exists and is not empty
if (( -e $file ) && (! -z $file ))
{
open (SSHKEY, "<$file")
or die "Error: Could not open file: $file\n";
my @sshTemp = <SSHKEY>;
$sshKeys = join ("", @sshTemp);
close SSHKEY;
}
return $sshKeys;
}
sub userpanel_change_settings
{
my $self = shift;
my $q = $self->{cgi};
my $Shell = $q->param ('Shell');
my $Sudoer = $q->param ('Sudoer');
my $VPNClientAccess = $q->param ('VPNClientAccess');
my $ChrootDir = $q->param ('ChrootDir');
my $ChrootDir2 = $q->param ('ChrootDir2');
my $user = $PanelUser;
if ($user =~ /^([a-z][\-a-z0-9]*)$/)
{
$user = $1;
}
my $sshKeys = $q->param ('sshKeys');
if ($sshKeys ne '')
{
my $file = "/home/e-smith/files/users/$user/.ssh/authorized_keys2";
my $dir = "/home/e-smith/files/users/$user/.ssh";
if ($user eq 'admin')
{ $file = "/root/.ssh/authorized_keys2";
$dir = "/root/.ssh"; }
# delete .ssh/authorized_keys2
if ($sshKeys =~ /deletekeys/)
{
system ("/bin/rm -rf $file") == 0
or die ("Error deleting $file.\n");
}
else
{
# Strip out DOS Carriage Returns (CR)
$sshKeys =~ s/\r//g;
unless ( -e $file )
{ system ("/bin/mkdir -p $dir") == 0
or die ("Error creating ssh directory.\n"); }
unlink $file;
open (SSHKEY, ">$file")
or die ("Error saving SSH Keys.\n");
print SSHKEY "$sshKeys\n";
close SSHKEY;
system ("/bin/chown -R $user.$user $dir") == 0
or die ("Error chown .ssh directory.\n");
}
}
# if the drop down is blank and field is valid
# set the field to the drop down, save the drop down
if (($ChrootDir2 eq '' ) && ($ChrootDir ne ''))
{
$ChrootDir2 = $ChrootDir || '';
}
if (($Sudoer eq 'yes') or ($Shell eq '/bin/bash'))
{
$adb->set_prop($user, 'Shell', '/bin/bash');
} else {
$adb->set_prop($user, 'Shell', '/usr/bin/rssh');
}
$adb->set_prop($user, 'Sudoer', $Sudoer);
$adb->set_prop($user, 'ChrootDir', $ChrootDir2);
$adb->set_prop($user, 'VPNClientAccess', $VPNClientAccess);
system ("/sbin/e-smith/signal-event", "user-modify", $user) == 0
or die ("Error occurred updating user access\n");
return $self->success("SUCCESS");
}
sub CheckChrootDirExists
{
my $self = shift;
my $q = $self->{cgi};
my $ChrootDir = $q->param ('ChrootDir') || '';
my $ChrootDir2 = $q->param ('ChrootDir2') || '';
if ($ChrootDir2 eq '')
{
if ($ChrootDir eq '')
{
return "CHROOT_PATH_NOT_GIVEN";
}
else
{
if ((-e $ChrootDir ) || ($ChrootDir eq 'home'))
{ return "OK"; }
else
{ return "CHROOT_PATH_NON_EXISTANT"; }
}
}
else
{ return "OK"; }
}
1;

View File

@ -0,0 +1,284 @@
# $Id: smeserver-remoteuseraccess.spec,v 1.5 2021/08/23 07:42:21 terryfage Exp $
# Authority: dungog
# Name: Stephen Noble
Summary: Smeserver module to configure Shell and FTP access for individual users
%define name smeserver-remoteuseraccess
Name: %{name}
%define version 1.3
%define release 7
Version: %{version}
Release: %{release}%{?dist}
License: GNU GPL version 2
URL: http://www.dungog.net/sme
Group: Networking/Daemons
Source: %{name}-%{version}.tar.xz
BuildRoot: /var/tmp/e-smith-buildroot
BuildRequires: e-smith-devtools
BuildArchitectures: noarch
Requires: e-smith-release >= 7
Requires: e-smith-proftpd >= 1.12.0-6
Requires: e-smith-openssh >= 1.11.0-24
Requires: e-smith-formmagick >= 1.4.0-12
Obsoletes: dungog-proftpd-chroot
Obsoletes: e-smith-usershellaccess
Obsoletes: smeserver-sshkeys
AutoReqProv: no
%description
SME server enhancement to provide a server-manager panel under security
where you can enable shell access on a user by user basis.
Shells available bash, optionally with sudo
or rssh which allows scp sftp rsync cvs rdist
TODO Chroot RSSH shell access.
Also sets Chroots FTP access, VPN Client Access,
and allows you to enter ssh keys
%changelog
* Sat Sep 07 2024 cvs2git.sh aka Brian Read <brianr@koozali.org> 1.3-7.sme
- Roll up patches and move to git repo [SME: 12338]
* Sat Sep 07 2024 BogusDateBot
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
by assuming the date is correct and changing the weekday.
Sat Mar 07 2008 --> Sat Mar 01 2008 or Fri Mar 07 2008 or Sat Mar 08 2008 or ....
Thu May 21 2008 --> Thu May 15 2008 or Wed May 21 2008 or Thu May 22 2008 or ....
* Mon Aug 23 2021 Terry Fage <terry.fage@gmail.com> 1.3-6.sme
- apply locale 2021-08-23 patch
* Wed Feb 24 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.3-5.sme
- fix encoding issue in table display [SME: 11396]
* Wed Feb 24 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.3-4.sme
- add empty -update event [SME: 11056]
* Mon Oct 26 2020 Brian Read <brianr@bjsystems.co.uk> 1.3-3.sme
- Initial import to SME10 tree [SME: 11056]
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 1.3-2.sme
- apply locale 2016-03-09 patch
* Tue Nov 12 2013 Daniel Berteaud <daniel@firewall-services.com> 1.3-1.sme
- Rebuild for SME9
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 1.2-38.sme
- apply locale 2013-07-14 patch
* Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 1.2-37.sme
- apply locale 2011-03-06 patch
* Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 1.2-36.sme
- apply locale 2010-03-02 patch
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 1.2-35.sme
- apply locale 2009-10-27 patch
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 1.2-34.sme
- apply locale 2009-08-24 patch
* Sat Jun 13 2009 Stephen Noble <support@dungog.net> 1.2-33
- chroot path not displayed in panel [SME: 5360]
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 1.2-32
- apply locale 2009-04-27 patch
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-30
- Apply 1 Mar 2009 locale patch [SME: 5018]
* Thu Jan 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-29
- Apply 1 Jan 2009 locale patch [SME: 4900]
* Sun Nov 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-28
- Apply 30 Nov 2008 locale patch
* Tue Oct 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-27
- Apply 14 Oct 2008 locale patch
* Sat Sep 27 2008 Stephen Noble <support@dungog.net> - 1.2-26
- Apply locale patch
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-25
- Apply 1 July 2008 locale patch
* Wed May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-24
Thu May 21 2008 --> Thu May 15 2008 or Wed May 21 2008 or Thu May 22 2008 or ....
- Apply 21 May 2008 locale patch
* Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-23
- Apply 5 May 2008 locale patch
* Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-22
- Add common <base> tags to e-smith-formmagick's general
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-21
- Forgot to apply patch
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-20
- Apply 22 April 2008 locale patch
* Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.2-19
- Update to UTF-8 translations
* Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 1.2-18
- update locale 2008-03-11
* Sat Mar 07 2008 Stephen Noble <support@dungog.net> - 1.2-17
- prepare en lexicons for pootle translations
* Fri Jan 11 2008 Stephen Noble <support@dungog.net> 1.2-16
- remove duplicate event rssh.conf [SME 3470]
* Thu Dec 20 2007 Stephen Noble <support@dungog.net>
- french menu fix 1.2-14
* Thu Dec 20 2007 Stephen Noble <support@dungog.net>
- french translation, thanks Sylvain 1.2-13
* Wed Jun 13 2007 Stephen Noble <support@dungog.net>
- apply changes from 1.2-2 to 1.2-12
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
- Clean up spec so package can be built by koji/plague
* Sun Feb 18 2007 Stephen Noble <support@dungog.net>
- swedish translation, thanks Chrille
- [1.2-12]
* Tue Jan 23 2007 Stephen Noble <support@dungog.net>
- spanish translation, thanks Gene
- requires e-smith-proftpd >= 1.12.0-6, custom template removed
- default set, ftp{ChrootDir} = home
- [1.2-11]
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
- Update to new release naming. No functional changes.
- Make Packager generic
* Thu Nov 23 2006 Stephen Noble <support@dungog.net>
- chroot path fix when home set [sme 2084]
- [1.2-10]
* Fri Nov 10 2006 Stephen Noble <support@dungog.net>
- fix textarea bug [sme 1088]
- requires perl-CGI-FormMagick-0.92-08
- [1.2-9]
* Fri Nov 10 2006 Stephen Noble <support@dungog.net>
- chroot path fix [sme 2046]
- [1.2-8]
* Fri Nov 3 2006 Stephen Noble <support@dungog.net>
- german translation fix
- [1.2-7]
* Fri Aug 25 2006 Stephen Noble <support@dungog.net>
- empty chroot path defaults to home [sme 1249]
- [1.2-6]
* Thu Aug 24 2006 Stephen Noble <support@dungog.net>
- now finds correct sshkeys when used under userpanel
- [1.2-5]
* Wed May 10 2006 Stephen Noble <support@dungog.net>
- German translation fixed [sme 1258]
- [1.2-4]
* Wed May 10 2006 Stephen Noble <support@dungog.net>
- RSSH access uses VPNAccess property
- German translation added, thanks Dietmar
- [1.2-3]
* Mon Apr 24 2006 Stephen Noble <support@dungog.net>
- Description Display fixed
- [1.2-2]
* Fri Apr 14 2006 Stephen Noble <support@dungog.net>
- FormMagick Version
- [1.2-1]
* Thu Apr 13 2006 Stephen Noble <support@dungog.net>
- merged sshkeys panel and functions
- [1.0-13]
* Wed Apr 12 2006 Stephen Noble <support@dungog.net>
- possible fix for Insecure dependency on rc1
- [1.0-12]
* Wed Apr 12 2006 Stephen Noble <support@dungog.net>
- option to set VPN Client Access
- uses user-modify event
- [1.0-11]
* Thu Feb 23 2006 Stephen Noble <support@dungog.net>
- proftp.conf/05chroot added as custom template for now
- defaults all users to ~/home
- Shell db settings changed was LoginShell
- [1.0-10]
* Thu Feb 23 2006 Stephen Noble <support@dungog.net>
- global/individual rssh clarified
- global reset removed
- chroot db settings changed
- [1.0-9]
* Tue Feb 21 2006 Stephen Noble <support@dungog.net>
- SME 7 pre3 version
- [1.0-8]
* Thu Aug 11 2005 Stephen Noble <support@dungog.net>
- SME 7 release
- [1.0-7]
* Sun Jul 17 2005 Stephen Noble <support@dungog.net>
- Merge of e-smith-usershellaccess & dungog-chroot-proftp
- original elements by Daniel van Raay & Damien Curtain
- [1.0-1]
%prep
%setup
mkdir -p root/etc/e-smith/events/smeserver-remoteuseraccess-update
%build
perl createlinks
LEXICONS=$(find root/etc/e-smith/{locale/,web/functions/} -type f )
for lexicon in $LEXICONS
do
/sbin/e-smith/validate-lexicon $lexicon
done
LINKS=$(find root/etc/e-smith/locale/ -type d -maxdepth 1 | sed 's/root\/etc\/e-smith\/locale\///')
for link in $LINKS
do
/bin/ln -s remoteuseraccess root/etc/e-smith/locale/$link/etc/e-smith/web/functions/userpanel-sshkeys
done
%install
rm -rf $RPM_BUILD_ROOT
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
rm -f %{name}-%{version}-filelist
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
echo "%doc COPYING" >> %{name}-%{version}-filelist
%clean
cd ..
rm -rf %{name}-%{version}
%pre
%preun
%post
%postun
#uninstalls not upgrades
if [ $1 = 0 ] ; then
echo "uninstall"
fi
%files -f %{name}-%{version}-filelist
%defattr(-,root,root)