Re: Other Sharp Zauri?

2005-07-26 Thread Stefan Johnson
On 7/26/05, Greg Thomas <[EMAIL PROTECTED]> wrote: > On 7/26/05, STeve Andre' <[EMAIL PROTECTED]> wrote: > >Hopefully this more general question is appropriate here. I've > > noticed sales for the Zaurus SL-5500. Geeks.com has a sale on > > them right now. > > > > I've been thinking about o

Re: Software inventory management

2006-12-12 Thread Stefan Johnson
On 12/11/06, stan <[EMAIL PROTECTED]> wrote: > > Sudenly there is an improved desire to keep up to date on the latest > security fixes at work. I've got about 50 machines that I manage. OpenBSD, > FreeBSD, Linux, Solairs, and HP-UX. > > I am looking for recomendations for a (hopefully automed), pre

Re: Oldest Server you run

2006-10-12 Thread Stefan Johnson
I have a digital AlphaServer 1000 4/200 I would LOVE to load OpenBSD on. I haven't succeeded yet. It is happily running FreeBSD currently. I'll give OpenBSD another stab soon though :) I run OpenBSD on my little laptop which is a pentium 100 maxed at 40 megs of ram. Runs like a champ. I use i

4.2 on alphaserver trying to compile inspircd

2008-08-27 Thread Stefan Johnson
I've been working with the InspIRCd group to try to get it working on OpenBSD again. The server I'm doing this on is OpenBSD 4.2 on an Alphaserver 1000 4/200. There is a header which has the following section: #ifdef __GNUC__ #define CUSTOM_PRINTF(STRING, FIRST) __attribute__((format(printf, STR

Re: 4.2 on alphaserver trying to compile inspircd

2008-08-28 Thread Stefan Johnson
On Thu, Aug 28, 2008 at 12:19 AM, Philip Guenther <[EMAIL PROTECTED]>wrote: > gcc only started permitting function attributes on function > definitions (as opposed to function declarations) in very recent > versions, newer than the versions included with OpenBSD. To be > portable to earlier versi

Re: snapshot ssh: ChrootDirectory sftp Connection closed

2013-04-16 Thread Stefan Johnson
On Mon, Apr 15, 2013 at 11:25 PM, f5b wrote: > server > kern.version=OpenBSD 5.3-current (GENERIC.MP) #71: Sat Apr 13 17:21:57 > MDT 2013 > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > /etc/ssh/sshd_config > only add after last line > > Match Group share >

Re: Suggestion for a more detailed manual for vi

2013-05-03 Thread Stefan Johnson
On Fri, May 3, 2013 at 9:38 AM, Xianwen Chen wrote: > In general, our policy is to only document features that exist. >> The list of features that don't exist would be a neverending list. If >> you are reading something other than official openbsd documentation, >> it's your responsibility to ve

Re: A stupid question, re: xargs(1)

2017-10-13 Thread Stefan Johnson
I'm at work at the moment, so I can't test this on my OpenBSD machine at home. However, have you tried setting IFS to a new line prior to feeding newline separated output to xargs? IFS=" " some_command_that_generates_multiple_lines | xargs -n 1 some_other_command Understand that "xargs -0" from l

Re: ksh (vi mode): discard line after editing with fc?

2014-04-22 Thread Stefan Johnson
I've always just tossed a comment onto the line before exiting vi edit mode to prevent execution... On Tue, Apr 22, 2014 at 2:46 PM, Alessandro DE LAURENZIS < just22@gmail.com> wrote: > Hello, > > I'm wondering how I could discard (not execute) a line after having > loaded it into vi (fc -e

Re: http post from base

2014-07-28 Thread Stefan Johnson
You can use the base ftp client to do http, and there is a flag for cookies handling. What I'm not sure about is how far you'd get trying to do POST specifically. Many sites will handle POST or GET so you might try changing your approach to use GET instead? On Mon, Jul 28, 2014 at 8:33 PM, sven

Re: Looking for version advice

2014-08-09 Thread Stefan Johnson
Since you dropped the word production, most places would advise you to follow stable and leave it at that. Upgrade when the next version becomes available (May and November are the release months for OpenBSD) This is sound advice. The other option is to follow current. If you choose to do this

Re: Terminate session on serial terminal (com0) when ssh disconnects

2014-08-12 Thread Stefan Johnson
You can set TMOUT to read only so that it can't be changed by the user. export TMOUT=90 readonly TMOUT On Tue, Aug 12, 2014 at 2:37 AM, Clint Pachl wrote: > Here's my situation: I ssh into a remote server in my group. From that > server, I connect to an adjacent, local server in the group via

Re: ~/bin, noexec, and security

2016-04-19 Thread Stefan Johnson
It is a risk, but it's a small one. Generally speaking, the files will be owned by that user, executed as that user, and pose a minimal risk since "that user" is unprivileged. However, it does allow for compiling code that could be used as a local privilege escalation and calling it from your "ho

Re: syslog on 5.6

2016-05-25 Thread Stefan Johnson
When you're this far behind, it might make more sense to grab a back up of all of your relevant config files, a list of third party packages you need, and such, and do a fresh install of the new version, then install missing packages and bring in your backed up config files for comparison and revie

Re: Restricted shell and ssh problem

2016-08-25 Thread Stefan Johnson
I don't know for sure, but my best guess is that you need to look at using a profile to set ENV to include an appropriate TMPDIR (if necessary) as well as to kick off the ssh-agent process. >From the man page for rksh/ksh: *-r* Restricted shell. A shell is “restricted” if this option is used;

Re: System monitor in base?

2016-09-02 Thread Stefan Johnson
On Fri, Sep 2, 2016 at 5:46 PM, Aioi Yuuko wrote: > Hi, > > I'm trying to wean myself off external packages as much as possible. Is > there a common, accepted way of viewing, for instance, battery life, with > only included programs? > > Possibly with sysctl taking a look at the hw.sensors.* stu

Re: What bad things could happen if we don't use sudoedit?

2015-04-27 Thread Stefan Johnson
On Mon, Apr 27, 2015 at 1:44 PM, Richo Healey wrote: > On 28/04/15 05:28 +1200, Carlin Bingham wrote: > >> On Tue, 28 Apr 2015, at 04:46 AM, whynot sudo wrote: >> >>> Hello list, >>> >>> We know it's safer* to use sudoedit, but what bad things can happen if we >>> have the following in sudoers? >

Re: AuthorizedKeyCommand ldap

2017-12-12 Thread Stefan Johnson
On Tue, Dec 12, 2017 at 10:35 AM, Dan Becker wrote: > On Mon, Dec 11, 2017 at 7:13 PM, Paulm wrote: > > > My main concern comes from the fact this process is being ran as root and > injecting the username as an arg "$1" > > Example : > > What happens if someone runs ssh '"&rm -rf /'@host, is the

Re: Daily insecurity output on valid users using key with valid shell and without password.

2018-07-01 Thread Stefan Johnson
>From passwd(5) : Similarly, login accounts not allowing password authentication but allowing other authentication methods, for example public key authentication, conventionally have 13 asterisks in the password field. I believe security(8) will stop barking about these accounts if you set the enc

Group ownership of files at creation time

2011-08-16 Thread Stefan Johnson
quot;nodev" and "nosuid" options set. I know this is a small thing, and comparing OpenBSD to the other systems is kind of moot, I only bring this up because I'm trying to grasp the reasoning for this behavior. Thank you for any responses, Stefan Johnson

Re: Group ownership of files at creation time

2011-08-16 Thread Stefan Johnson
On Tue, Aug 16, 2011 at 11:09 PM, Ted Unangst wrote: > On Tue, Aug 16, 2011, Stefan Johnson wrote: > > > On most of the unix / unix-like systems I support, this behavior would be > > different. The file would be created with user_a:group_a (since group_a > is > > t

Re: dump/restore - individual file

2011-08-21 Thread Stefan Johnson
ice. You can just tell it to use "/" instead, and it will dump just fine as well. Stefan Johnson

Re: check status of mpbios

2011-08-24 Thread Stefan Johnson
ne and not a production environment. Maybe someone else can speak to the wisdom of enabling/disabling it for your scenario. Stefan Johnson

Re: What should I do with a remote AIX machine if I accidentally "chmod 644"-ed the "/usr/bin/ksh"?

2011-08-31 Thread Stefan Johnson
On Wed, Aug 31, 2011 at 12:02 AM, Tomas Bodzar wrote: > On Mon, Aug 29, 2011 at 11:23 PM, lancebaynes87 > wrote: > > Are there any solutions? > > > > B I can't SSH to it anymore, because it asks for password. > > > > B Does anybody knows a solution for this problem?? > > If you have a NIM server,

Re: no home no shell accounts

2011-09-27 Thread Stefan Johnson
On Tue, Sep 27, 2011 at 10:43 AM, David Walker wrote: > Hi. > > I have some accounts that don't require home directories or shells. > In the past I used ftpd for web uploading and would do the > shell==false thing and chroot them and set the login directory via the > passwd file. > Bye bye ftpd, h

Re: no home no shell accounts

2011-09-27 Thread Stefan Johnson
ChrootDirectory /home/sftpuser Where the user is named sftpuser and the home directory for the user is /home/sftpuser. > > Hope this helped. Stefan Johnson

Re: no home no shell accounts

2011-09-28 Thread Stefan Johnson
On Wed, Sep 28, 2011 at 7:10 AM, David Walker wrote: > Hi Stefan. > > On 28/09/2011, Stefan Johnson wrote: > > Please disregard my last... gmail sent the email before I was finished > > composing it. > > I figured as much. > > > Using false for your shell is o

Re: no home no shell accounts

2011-09-28 Thread Stefan Johnson
, again review the section in the man page on that. Sorry for the bad information earlier. Stefan Johnson

scriptreplay

2011-10-25 Thread Stefan Johnson
k for me, but I am still curious on why script is provided with no scriptreplay in the core system. I appreciate any and all responses! Thanks, Stefan Johnson

Re: scriptreplay

2011-10-25 Thread Stefan Johnson
On Tue, Oct 25, 2011 at 9:52 AM, Jeremie Courreges-Anglas < ktulu+o...@wxcvbn.org> wrote: > Stefan Johnson wrote: > [snip] > > I am aware that the port will work for me, but I am still curious on why > > script is provided with no scriptreplay in the core system. I ap

Re: OpenBSD and shebang line to a script not supported?

2011-10-31 Thread Stefan Johnson
le as stated) > > > PS. Please CC me in replies. Thanks. > Done Stefan Johnson

Re: OpenBSD and shebang line to a script not supported?

2011-10-31 Thread Stefan Johnson
27;t know what to tell you. I've never seen anyone try to call a script in the shebang before. If you use #!/usr/bin/perl in the shebang for perl scripts you get expected behavior. If you use #!/bin/sh in the shebang for the shell scripts you get expected behavior. Stefan Johnson

RAM seen vs. RAM available HP ML 570 G2

2011-12-06 Thread Stefan Johnson
this would work for me. Can anyone confirm that I'm pretty much stuck with only being able to utilize 1/3 of the full potential, or whether the above trick might actually work (using appropriate size values, of course)? Thanks for any help on this! Stefan Johnson Below is dmesg and sysctl ou

Re: RAM seen vs. RAM available HP ML 570 G2

2011-12-07 Thread Stefan Johnson
r all that replied, and I do understand that if this involves building a custom kernel to turn on the option I forfeit support under that kernel :) Stefan Johnson

Re: RAM seen vs. RAM available HP ML 570 G2

2011-12-08 Thread Stefan Johnson
://henningbrauer.com/ > > Thank you again to all who replied on and off list. The off list replies indicated the same thing. I'm glad Henning replied on list. Hopefully this will help others searching the archives for information about PAE on OpenBSD in future. Again, thank you! Stefan Johnson