Displaying 20 results from an estimated 2000 matches similar to: "Why does restarting sshd require an absolute path?"
2014 Feb 10
3
What magic did openssh do to handle programs like VIM?
Hi,
I'm trying to write my own remote shell program,
It simply connects to a remote server then copy the sock fd to stdin,
stdout and stderr. And it works.
But I found several problems:
1. It doesn't handle characters like ^A ^E or tab (any bash/readline stuff)
-> openssh itself doesn't seem to incorporate readline, so the
magic is not on readline
2. If I run
2016 Nov 10
2
Need help with printer drivers
Thanks Rowland. I've followed the guide on that page, the following
page looks good:
https://wiki.samba.org/index.php/Configuring_Point%27n%27Print_automatic_printer_driver_deployment
However, when I try to add a driver with "Print Management" to the
Samba server, I got an access denied error.
Here's how I did it.
------------------------
1. create a user with smbpasswd,
2016 Nov 09
2
Need help with printer drivers
Hello, I've posted the question here,
http://unix.stackexchange.com/questions/312654/serving-print-driver-through-samba
In short, I have a printer configuration
```
[myprinter]
comment = Printer Drivers
path = /var/lib/samba/printers
guest ok = Yes
printable = Yes
printer name = My Printer
```
However windows will not find/load the drivers, so what files should I
place
2014 Feb 11
1
[SOLVED] Re: What magic did openssh do to handle programs like VIM?
Hi Darren,
As you suggested, I've incorporated pty and enabled raw mode in my
client program.
VIM runs fine ;-P
Now I only need to pass in the terminal window size and handle several signals
Thanks for the heads up!
On Mon, Feb 10, 2014 at 4:59 PM, Darren Tucker <dtucker at zip.com.au> wrote:
> On Mon, Feb 10, 2014 at 7:39 PM, Aaron Lewis <the.warl0ck.1989 at gmail.com>
2016 Nov 10
2
Need help with printer drivers
This is generated with testparam,
# Global parameters
[global]
server string = %h server (Samba, Ubuntu)
server role = standalone server
map to guest = Bad User
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n
*Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
unix password sync = Yes
syslog =
2016 Nov 11
1
Need help with printer drivers
Are your windows machines part of the 'WORKGROUP' workgroup ?
- Yes, and the windows client is not a domain member.
I've checked the system properties, it show WORKGROUP
Does 'work' exist as a Unix user ?
- Yes, otherwise `smbpasswd -a work` complains
Does 'work' exist as a windows user ?
- No, the windows client can be any user.
The current logon username is
2016 Nov 10
0
Need help with printer drivers
On Thu, 10 Nov 2016 17:44:36 +0800
Aaron Lewis <the.warl0ck.1989 at gmail.com> wrote:
> This is generated with testparam,
>
> # Global parameters
> [global]
> server string = %h server (Samba, Ubuntu)
> server role = standalone server
> map to guest = Bad User
> obey pam restrictions = Yes
> pam password change = Yes
> passwd program = /usr/bin/passwd %u
>
2016 Nov 08
0
A lot of duplicate GUIDS.
Recently I have in logs a LOT of messages like this:
[....]
Nov 06 19:39:36 IMAP(kjonca): Error: mdbox /home/kjonca/Mail/1/storage: Duplicate GUID 13511 in m.1530:845670 (size=2622) and m.1371:1831730 (size=916)
Nov 06 19:39:36 IMAP(kjonca): Error: mdbox /home/kjonca/Mail/1/storage: Duplicate GUID 13512 in m.1530:847414 (size=2274) and m.1371:1832476 (size=1069)
Nov 06 19:39:36 IMAP(kjonca):
Suggestion/opinions: add a `absolute` param to `normalizePath()` to force returning an absolute path
2020 Apr 14
0
Suggestion/opinions: add a `absolute` param to `normalizePath()` to force returning an absolute path
If we are fiddling with normalizePath, having a way of not following
symlinks (otheer than ~) would be useful as well.
I had to write normalizePath2 in switchr for a specific on-the-ground need
to NOT go down all he way to physical paths on a remote compute system
because of how IT handled implementing constant pathing on top of swapping
out hardware, and I can't imagine i'm the only
Suggestion/opinions: add a `absolute` param to `normalizePath()` to force returning an absolute path
2020 Apr 15
0
Suggestion/opinions: add a `absolute` param to `normalizePath()` to force returning an absolute path
The fs[1] function `fs::path_abs()` does what I believe you were
expecting `normalizePath()` to do in this case. e.g.
setwd("~")
normalizePath("foo/bar")
#> Warning in normalizePath("foo/bar") :
#> path[1]="foo/bar": No such file or directory
#> [1] "foo/bar"
fs::path_abs("foo/bar")
#>
2003 Nov 16
1
strange Music on Hold between SNOM, Grandstream and Asterisk
Hi List,
Here is the config
ext 2601 is a GS BT-101 phone
ext 2062 is a SNOM 200
latest public firmware on both
asterisk is Asterisk CVS-11/14/03-22:55:45
Make a call from 2601 -> 2602 life good, call works
have 2602 place call on hold. The music on 2601 IS NOT
my music on hold. It seems its a MOH server SNOM has.
take call off of hold on 2602 and 2601 still trys to
play parts
2011 Oct 15
0
CentOS-announce Digest, Vol 80, Issue 5
Send CentOS-announce mailing list submissions to
centos-announce at centos.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.centos.org/mailman/listinfo/centos-announce
or, via email, send a message with subject or body 'help' to
centos-announce-request at centos.org
You can reach the person managing the list at
centos-announce-owner at centos.org
When
2007 Aug 21
1
Render template not matching absolute path
Hi
I have a simple controller method like this:
class StylesheetsController < ApplicationController
layout nil
session :off
def gap
site = Site.find_by_hostname(request.host)
@colours = site.colours
respond_to do |accepts|
accepts.css { render :file => "#{RAILS_ROOT}/app/views/
stylesheets/gap.rcss" }
end
end
end
And I want to test that
2006 Aug 16
1
absolute default route in routes.rb
how do you set a default route in routes.rb
so that anything not recognised will default to :controller => ''home''
map.connect ''*'', :controller => "home"
does not work so well
cheers
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Jun 14
1
Absolute URL from link_to?
What options do I need to provide to link_to so that it generates truly
absolute URLs (i.e. including protocol://host:port/path)? It seems that
even when I provide :host and :protocol arguments to url_for that it
suppresses these when they match the current request.
2006 May 06
0
file_column, image_tag, absolute paths?
The docs in the SVN version of file_column state that url_for_file_column
will return paths relative to the application root, and that if I pass it
to image_tag, I''ll get an absolute URL.
This doesn''t appear to be the case, at least with Rails 1.1. image_tag
returns the same app-root-based path that it''s given.
Doc bug? Rails change? file_column bug?
Jay Levitt
2006 May 10
2
getting absolute paths on files on filesystem.
Hi,
I''d like to be able to store the absolute path for a file so that I could
use <img src = "...." > and give it the path to the file I''d like to
display. I was wondering if there is an easy way to do this and whether
there are any issues with this on Windows.
thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2007 Feb 19
0
Absolute Maximal Bandwidth
Hey,
I currently have a box serving as a firewall (running iptables) and packet
shaper (using tc / tcng''s tcc compiler) to shape a large amount of inbound
and outbound traffic to my data center.
Whilst I can perform shaping functions using HTB, I need to also provide an
absolute (to the nearest few 100kb/s) bandwidth usage maximum. As an example
I might have 200MBit/sec
2005 Apr 06
0
bridge with packetrate limiter and absolute priority?
Hi.
I am trying to bend my brain around ''tc'' and friends and am failing so far.
I need to set up a bridge which limits the packet rate to 2000 packets/s, but with the added
twist that packets with a certain DSCP value must be given absolute priority in both directions.
The packet rate limit thing appears to be easy:
brcfg addbr br0
brcfg addif br0 eth0
brcfg addif br0 eth1
2004 Jun 29
0
Dual Home Gateway Problem with non absolute URL
Dear Lists,
I have problem regarding multipath connection to internet behind NAT.
I use 2.4.26 kernel in RH-9.0 with Julian Anastasov patch, and version
iproute2-ss020116 (Fedora RPM package).
Dual homing and dead gateway detection work fine as we expected, the
problem is , everytime we hit site that have redirect page address (URL
no absolute), it''s doesn''t reply. (ex: