10-10-2002
kmtune only changed your system file. Not your kernel. You need to rebuild your kernel for the change to take effect. That may not be possible since you made some random unknown changes to your system. I would re-install HP-UX. Then I would not run that "security package" again.
7 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I am having a problem on an HP box, where I am being told that there are too many open files. I am also being told I need to change a SAM file. Could some help me understand what a SAM files is and what it is used for.
Thanks. (2 Replies)
Discussion started by: kristian
2 Replies
2. HP-UX
hi, any idea how to get more info on the usage, unix equivalent of sam in hp-ux? thanks (7 Replies)
Discussion started by: yls177
7 Replies
3. UNIX for Advanced & Expert Users
I am having trouble getting restricted SAM to work by allocating Privileges to a "group". I can make it work by allocaing to the userid's, but would preferre to use the "group" option.
Running B.11.11
Tried the following....
1) Created a user group in /etc/group first
2) Used the... (1 Reply)
Discussion started by: Andrek
1 Replies
4. AIX
Hello,
On Aix 5.2, we changed the parameters tcp_keepinit, tcp_keepintvl and tcp_keepidle with the no command.
tunrestore -R is present in inittab
in the directory /etc/tunables we can clearly see the inclusion of parameters during reboot, including the file lastboot.log
... (0 Replies)
Discussion started by: dantares
0 Replies
5. UNIX for Dummies Questions & Answers
#!/bin/bash
function check_num_args()
{
if ; then
echo "Please provide a file name"
else
treat_as_file $*
fi
}
function treat_as_file()
{
numFiles=$#
for((i=1;i<=$numFiles;i++));do
echo $i
... (3 Replies)
Discussion started by: kikilahooch
3 Replies
6. Programming
I have
written some C++ code with documentation code for dOxygen as below. However the parameters are not showing up.
/// \file
///
///
#ifndef __VECT2_HH__
#define __VECT2_HH__
#include <iostream>
#include <assert.h>
#include <cmath>
#include "common.hh"
... (0 Replies)
Discussion started by: kristinu
0 Replies
7. HP-UX
I've just been on an HP Training Course for HPUXv11.31 and found out about the gui / web for SMH. I never did a course on HP11v23. On our two servers here in the UK that run 11.23 I'm pretty sure that when I typed in "sam" on the command line it went to a sort of smh. (There was a message saying... (2 Replies)
Discussion started by: markp1965
2 Replies
LEARN ABOUT DEBIAN
chntpw
CHNTPW(8) System Manager's Manual CHNTPW(8)
NAME
chntpw - utility to overwrite Windows NT/2000 SAM passwords
SYNOPSIS
chntpw [options] <samfile> [systemfile] [securityfile] [otherreghive] [...]
DESCRIPTION
This manual page documents briefly the chntpw command. This manual page was written for the Debian distribution because the original pro-
gram does not have a manual page.
chntpw is a utility to view some information and change user passwords in a Windows NT/2000 SAM userdatabase file, usually located at WIN-
DOWSsystem32configSAM on the Windows file system. It is not necessary to know the old passwords to reset them. In addition it contains
a simple registry editor (same size data writes) and hex-editor with which the information contained in a registry file can be browsed and
modified.
OPTIONS
-h Show summary of options.
-u username
Username to change. Default is Administrator
-l List all users in the SAM database.
-i Interactive: list all users (as per -l) and then ask for the user to change.
-e Registry editor with limited capabilities.
-d Use buffer debugger.
-t Show hexdumps of structs/segments (deprecated debug function).
EXAMPLES
ntfs-3g /dev/sda1 /media/win ; cd /media/win/WINDOWS/system32/config/
Mount the Windows file system and enters the directory WINDOWSsystem32config where Windows stores the SAM database.
chntpw SAM system
Opens registry hives SAM and system and change administrator account. This will work even if the name has been changed or it has
been localized (since different language versions of NT use different administrator names).
chntpw -l SAM
Lists the users defined in the SAM registry file.
chntpw -u jabbathehutt SAM
Prompts for password for jabbathehutt and changes it in the SAM registry file, if found (otherwise do nothing).
SEE ALSO
If you are looking for an automated procedure for password recovery, you might look at the bootdisks provided by the upstream author at
http://pogostick.net/~pnh/ntpasswd/
There is more information on how this program works available at /usr/share/doc/chntpw registry works.
AUTHOR
This manual page was written by Javier Fernandez-Sanguino <jfs@computer.org>, for the Debian GNU/Linux system (but may be used by others).
13th March 2010 CHNTPW(8)