Displaying 20 results from an estimated 10000 matches similar to: "Prompt for chrooted users"
2015 Jul 06
3
Prompt for chrooted users
We have a requirement to allow ssh access to a server in order to
provide a secure link to one of our legacy systems. I would like to
chroot these accounts.
I have this working except for one small detail, the user's prompt in
the ssh session. Each user has their shell set to /bin/bash in
/etc/passwd. However, instead of getting the prompt defined in their
.bash_profiles we see this:
2015 Jul 06
0
Prompt for chrooted users
James B. Byrne wrote:
> We have a requirement to allow ssh access to a server in order to
> provide a secure link to one of our legacy systems. I would like to
> chroot these accounts.
>
> I have this working except for one small detail, the user's prompt in
> the ssh session. Each user has their shell set to /bin/bash in
> /etc/passwd. However, instead of getting the
2015 Jul 07
0
Prompt for chrooted users
Well, I seem to have resolved most of this. In the end I had to
create a separate logical link for the chrooted users' home
directories that pointed back to their actual directory. It sounds
confusing because it is.
I first tried this in sshd_conf
ChrootDirectory %h
and in ~/%h I had created the following mount points:
bin dev etc lib lib64 tmp usr
Upon which I had hung mounts to
2014 Oct 22
5
Q. LUKS or ecryptfs-utils ?
I am now investigating encrypting our IMAP user spool files. Does anyone have
experience with handling encrypted data stores using either or both of the
subject methods and would care tio share their observations? Which is the
preferred method (I know: it depends, but on what?)? What administrative
pain does each cause?
Our IMAP host is a KVM guest so spinning up a duplicate and simply
2012 Oct 10
6
Setting PS1 for ordinary users
CentOS-6
When I login as root I see this prompt:
[root at vhost04 ~]#
When I login as a non-priviledged user I see this instead:
sh-4.1$
.bashrc and .bash_profile have identical contents in /root and
/home/user. What causes the difference? Why? How does one change
the default so that all normal users get a [userid at hostname pwd]$
prompt?
I have loked in/etc/profile.d and /etc/bashrc
2016 Jan 11
2
CentOS-6 : DNS resolver for ssh chrooted accounts.
Our firm uses a dedicated virtual host to provide ssh tunnels for
remote employee access to various internal services and for http/s
access to the outside world. For security reasons I would like to
have the remote users forward their dns lookups over the tunnel as
well. However, we recently chrooted a number of ssh users and these
accounts cannot resolve dns queries passed over the tunnel.
I
2007 Aug 16
0
Customizing locale settings in CentOS-4.5
I am trying to determine how to customize the date and time display of
system utilities and user programs using the locale settings. What I
really want is some sort of utility program that does the same thing for
CentOS as the Regions Settings Control Panel app. for MicroSoft Windows
accomplishes, but I have no hope of seeing that.
I have traced the login locale processing through /etc/profile
2014 May 28
2
/etc/bash_completion.d/git generates permissions errors
I did a yum update to my desktop machine as root this morning and now my
regular logon account sees this whenever I press the enter key:
etc/audisp/audispd.conf: Permission denied
etc/audisp/plugins.d/af_unix.conf: Permission denied
etc/audisp/plugins.d/syslog.conf: Permission denied
etc/audit/audit.rules: Permission denied
etc/audit/auditd.conf: Permission deniedetc/dhcp/dhclient.d/ntp.sh:
2009 May 22
3
Gnome terminal oddity
I have the following gnome terminal profile settings:
Backspace = ASCII DEL
Delete Key = Escape Sequence
If the logged in session in the terminal window is my own user id
then the delete key does nothing. If however, I su -l in the same
terminal window then the delete key removes the character under the
cursor and left shifts the rest of the line.
I am fairly confident that the delete
2015 Oct 09
2
CentOS-6 SSHD chroot SELinux problem
I run a sshd host solely to allow employees to tunnel secure
connections to our internal hosts. Some of which do not support
encrypted protocols. These connections are chroot'ed via the
following in /etc/ssh/sshd_config
Match Group !wheel,!xxxxxx,yyyyy
AllowTcpForwarding yes
ChrootDirectory /home/yyyyy
X11Forwarding yes
Where external users belong to group yyyyy (primary).
We
2009 Aug 05
4
Autorun ability on cd?
I have a little niggling situation that I would like to resolve
programmatically. I use Git as my SCM and I have release branches
which are sometimes patched. I find myself sometimes entering the
working directory tree forgetting that I was last on a release
branch and not on the master.
What I would like to do is to have a script run every time that I
enter a directory, check for .git, and if
2014 Jun 05
1
[SOLVED] [OT] OSX-10.9.3 cd ~'/ problem with spaces'
I get the digest version fo this list so I apologise for any discontinuity to
my reply posts introduced thereby.
On Wed, June 4, 2014 15:36, Herta Van den Eynde wrote:
> No OSX here either, but just to be sure, could you publish the results of:
>
> which cd; echo $?
> locate cd | grep '/cd'$; echo $?
> ls -ldb ~/Library/Application*
>
$(which cd) returns
2020 Jul 07
3
Can someone explain why host reports no SOA record for domain on DC?
[root at smb4-1 ~ (master)]# samba-tool dns query localhost brockley.harte-lyne.ca
brockley.harte-lyne.ca ALL -U administrator
Password for [BROCKLEY\administrator]:
Name=, Records=4, Children=0
SOA: serial=3, refresh=900, retry=600, expire=86400, minttl=3600,
ns=SMB4-1.brockley.harte-lyne.ca., email=hostmaster.brockley.harte-lyne.ca.
(flags=600000f0, serial=110, ttl=3600)
NS:
2020 Jun 03
1
samba-tool dns query
On Tue, June 2, 2020 11:13, Rowland penny wrote:
> On 02/06/2020 16:03, James B. Byrne via samba wrote:
>> Samba-4.11.8 on FreeBSd-12.1p5
>>
>> How does one list all of the actual DNS records for Samba administered zones,
>> forward and reverse?
>>
> Try:
>
> samba-tool dns query localhost brockley.harte-lyne.ca
> brockley.harte-lyne.ca ALL -U
2008 Oct 06
3
[Fwd: Re: Install CentOS-5.0 on HP-ComPaq DC7700 Dual Core]
---------------------------- Original Message ----------------------------
Subject: Re: [CentOS] Install CentOS-5.0 on HP-ComPaq DC7700 Dual Core
From: "James B. Byrne" <byrnejb at harte-lyne.ca>
Date: Mon, October 6, 2008 12:26
To: cenos at centos.org
Cc: "John Newbigin" <jnewbigin at ict.swin.edu.au>
2015 Mar 03
6
TLS, SRTP, Asterisk11 and Snom870s
CentOS-6.5 (FreePBX-2.6)
Asterisk-11.14.2 (FreePBX)
snom870-SIP 8.7.3.25.5
I am having a very difficult time attempting to get TLS and SRTP
working with Asterisk and anything else. At the moment I am trying to
get TLS functioning with our Snom870 desk-sets. And I am not having
much luck.
Since this is an extraordinarily (to me) Byzantine environemnt I am
going to ask if any of you have gotten
2020 Jun 02
2
samba-tool dns query
Samba-4.11.8 on FreeBSd-12.1p5
How does one list all of the actual DNS records for Samba administered zones,
forward and reverse?
When I use the dns query option of samba-tool I get a summary but no detail:
samba-tool dns query localhost brockley.harte-lyne.ca @ ALL -U administrator
Password for [BROCKLEY\administrator]:
Name=, Records=3, Children=0
SOA: serial=1, refresh=900, retry=600,
2014 Feb 03
1
Samba-4.17 joining an existing domain.
i86_64
CentOS-6.5
sernet-samba-4.1.7
MS Windows Advanced Server 2000
We have a very old MS-Windows Domain Controller running on equally old
hardware that we wish to replace with a Samba4 installation running on a
virtualised CentOS-6.5 . Other than most user desktops this is the last
remaining MS based system here and we would really, really like to shut it
down. Our plan is to join two Samba4
2020 Jun 30
3
samab-4.10 nsupdate
I have a dc configured to use the samba internal dns service. The version of
samba I am using is 4.10.15 packaged for FreeBSD. Its build options state
this:
BIND911 : off
BIND916 : off
, , ,
GSSAPI_BUILTIN : on
GSSAPI_MIT : off
LDAP : on
. . .
NSUPDATE : off
My smb4.conf file contains this:
[global]
bind interfaces only = Yes
dns forwarder =
2020 Jun 04
1
samba-tool dns query
On Wed, June 3, 2020 10:52, Rowland penny wrote:
> On 03/06/2020 15:31, James B. Byrne wrote:
>>
>> samba-tool dns query localhost brockley.harte-lyne.ca brockley.harte-lyne.ca
>> ALL -U administrator
>> Password for [BROCKLEY\administrator]:
>> Name=, Records=3, Children=0
>> SOA: serial=1, refresh=900, retry=600, expire=86400, minttl=3600,
>>