Displaying 20 results from an estimated 10000 matches similar to: "Setting PS1 for ordinary 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:
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
2020 Jul 10
2
DC replications of FreeBSD samba-4.10.15
FreeBSD-12.1p6 IOCage thick jails on ZFS, samba-4.10.15:
On Fri, July 10, 2020 02:29, Andrea Venturoli wrote:
> On 2020-07-09 21:36, James B. Byrne via samba wrote:
>> set_nt_acl_no_snum: fset_nt_acl returned NT_STATUS_INVALID_PARAMETER.
>> ERROR(runtime): uncaught exception - (3221225485, 'An invalid parameter was
>> passed to a service or function.')
>
> What
2008 Oct 29
4
Can one invoke multiple INSTANCEs of Firefox on CentOS
I am doing some testing with XForms and I really need a separate instance
of Firefox, one that shares nothing with my primary instance that has
various reference works and web sites open, to test forms. Is this even
possible? I have a sense from the small bit of testing that I have done
that even with separate profiles and invoking the firefox process manually
from different terminal windows
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 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
2020 Jul 13
5
DC replications of FreeBSD samba-4.10.15
On Sat, July 11, 2020 04:32, Andrea Venturoli wrote:
> On 2020-07-10 14:47, James B. Byrne wrote:
>> FreeBSD-12.1p6 IOCage thick jails on ZFS, samba-4.10.15:
>
> Can you post the smb.conf of both DCs?
>
> Just out of curiosity, are you also using vfs_zfsacl?
Yes.
smb.confs DC1 and DC2:
/zroot/iocage/jails/smb4-1a/root/usr/local/etc/smb4.conf
[root at vhost04 ~ (master)]#
2007 Jul 30
4
Scripting a directory change on CentOS
This is probably a FAQ item but despite searching extensively with google
I am unable to find an answerer to this question. Perhaps I am using the
wrong words. In any case, at the risk of inducing some mirth at my
ignorance, how can one script a cd command so that that the user remains
in that directory when the script exits?
I have to work with a long path to a project working directory and I
2007 Nov 24
5
rspec.opts
Where can I find a list of the options and their usage and meanings for
the contents of this file?
Regards,
--
*** E-Mail is NOT a SECURE channel ***
James B. Byrne mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada
2013 Sep 16
3
easy BASH question
I am obviously missing something basic here but can someone explain to me what
is wrong with the first statement, which returns nothing?
$ history | grep ^su
$ history | grep su
2997 su -l
3024 su -l
3050 su -l
3054 su -l
Thanks,
--
*** E-Mail is NOT a SECURE channel ***
James B. Byrne mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited
2007 Nov 22
11
Initial run of RSpec 1.0.8 on MS-WinXPproSP2
Rails 1.2.5
Ruby 1.8.6
Rake 0.7.3
RSpec 1.0.8
PostgreSQL 8.2.5
I am experiencing a problem with the "rake spec spec" task on an initial
trial of rspec. After creating the rails app I installed rspec and
rspec_on_rails in the vendor\plugins subdirectory from svn. I then used
ruby script\generate rspec_model product. I next manually created the
database instances depot_development and
2011 Dec 14
2
Shutdown KVM guest not working
I am in the middle of a rather confusing situation. At
the moment I am unable to shutdown a KVM guest machine.
Nor am I presently able to open a virt-manager session on
the host.
I am not exactly sure what has happened but the problem
with the vm guest is that issuing a "virsh shutdown 1"
from the root console has no effect.
# virsh list
Id Name State
2011 Jun 13
6
CentOS-6 Status updates
I just want to say that I really, really, appreciate the information
given on this site:
http://qaweb.dev.centos.org/qa/calendar
--
*** E-Mail is NOT a SECURE channel ***
James B. Byrne mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax:
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
2010 Sep 13
7
Problem with SSHD update.
This morning I applied the 13 or so new updates to my servers. On
one of them the ssh service and clients stopped working immediately
after the update. I restarted the server in anticipation that there
might be some instability introduced by updating on a system with
active ssh connections. However, this has not cleared the problem.
The packages in question are:
openssh.i386
2006 Jan 25
8
conditional replacements in rhtml
I am working on the Agile programming tutorial and trying out some
ruby code. Can someone tell me why the following works:
<h1>Display Cart</h1>
<p>
Your cart currently holds <%= @items.size %>
<%= @items.size == 1 ? "item" : "items" %>.
</p>
while this does not?
<h1>Display Cart</h1>
<p>
Your cart currently
2014 Dec 02
7
Help with at Bash script
I am attempting to get a script borrowed from DJB to work on my CentOS-6.6
box. Simplified it looks like this:
tcpdump -l -n -e port 53 \
| awk '{if ($14 ~ /A.*?/) print $15}' \
| while read domain ; do echo $domain ; done ;
The sticking point is the 'while read' construct. Run just as 'tcpdum | awk'
I get this:
english.stackexchange.com.
www.urbandictionary.com.
2007 Dec 21
3
CentOS-5 Need Help With Serial Ports
I have been struggling with setting up two serial ports on an HP/Compaq
D512S (Intel P4) under CentOS-5. I am not at all sure why these things
were not auto-configured when I initially installed the CentOS system from
CDs but they were not.
I have found various resources on the web and from them uncovered the
setserial utility. What I need from somebody is guidance on how to use
this utility to
2015 Apr 02
2
SEmodule dependency hell.
On Wed, April 1, 2015 16:09, Andrew Holway wrote:
> I used the command: semanage port -m -t http_port_t -p tcp 8000
> to relabel a port. perhaps you could try:
> "semanage port -m -t unconfined_t -p tcp 8000"
> Failing that; would it work to run your application in the httpd_t
> domain?
>
I ended up having to create a custom policy to allow the other
application to
2014 Jul 21
4
[OT] Leveno HDD caddies
This is very off topic but, I have no idea where else to ask. We obtained
some used Leveno CTO7483 desktop units for experimentation. I had intended to
install CentOS-7 on one of them. As they arrived with a vendor upgraded
Windows 7ProSP1 install without media I decided to pull the disk drive and
install onto a spare drive that I installed.
Those of you with any experience with this model