* Crack w/ C2 Security Enabled?
@ 1997-09-25 4:00 Thomas Bates
1997-09-25 4:00 ` changing "datasize" in DU 4.0 Dara Ghahremani
1997-10-01 4:00 ` Crack w/ C2 Security Enabled? Adam S. Lupu-Sax
0 siblings, 2 replies; 5+ messages in thread
From: Thomas Bates @ 1997-09-25 4:00 UTC (permalink / raw)
We're currently running C2 on most of our machines, with a few running
'standard' Digital UNIX.
We'd like the ability of running crack 5 on our C2 machines, just to
doublecheck that the passwords, even though they passed the enhanced security
check, are secure.
Does anyone have any information on how to get the [hash in the
same routine?] passwords out of the C2 database?
Thanks!
Thomas
--
Thomas Bates - Database/UNIX Adminstration
bates@atlantis.its.dist.maricopa.edu - Maricopa Community Colleges
-------------------------------------------------------------------------------
"Looking down the barrel of another day"
^ permalink raw reply [flat|nested] 5+ messages in thread* changing "datasize" in DU 4.0
1997-09-25 4:00 Crack w/ C2 Security Enabled? Thomas Bates
@ 1997-09-25 4:00 ` Dara Ghahremani
1997-09-26 4:00 ` Emmanuel Choquet
1997-09-29 4:00 ` Paul Hays
1997-10-01 4:00 ` Crack w/ C2 Security Enabled? Adam S. Lupu-Sax
1 sibling, 2 replies; 5+ messages in thread
From: Dara Ghahremani @ 1997-09-25 4:00 UTC (permalink / raw)
I would like to change the "datasize" parameter that is listed when the
"limit" command is used. Unfortunately, I can find no man page for this or
any mention of how to set this parameter in the physical DU manuals.
I'd appreciate any advice people might have to do this.
Thanks in advance,
Dara
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: changing "datasize" in DU 4.0
1997-09-25 4:00 ` changing "datasize" in DU 4.0 Dara Ghahremani
@ 1997-09-26 4:00 ` Emmanuel Choquet
1997-09-29 4:00 ` Paul Hays
1 sibling, 0 replies; 5+ messages in thread
From: Emmanuel Choquet @ 1997-09-26 4:00 UTC (permalink / raw)
To: Dara Ghahremani
Dara Ghahremani wrote:
>
> I would like to change the "datasize" parameter that is listed when the
> "limit" command is used. Unfortunately, I can find no man page for this or
just type :
# sysconfig -q proc
you'll find per-proc-datasize (the default) and max-per-proc-datasize
(spell check, i've no syetm right now)
to add this, add these lines to /etc/sysconfigtab :
proc:
per-proc-datasize = new value
If you need more than 1 Go, you must also change the value of maxvas in
vm subsystem :
maxvas is maximum virtual address size of a process, system wide.
# sysconfig - q vm
you'll find maxvas
add these lines to /etc/sysconfigtab
vm:
maxvas = new value
After that, reboot, and check with sysconfig, and csh limit that life
can go on.
cheers
--
Emmanuel Choquet
Informatique Client/Serveur
& Communication
_/
_/
_/ _/_/_/ _/ _/_/_/
_/ _/ _/ _/
_/ _/ _/ _/_/_/
_/ _/ _/ _/
_/ _/_/_/ _/ _/_/_/
ics@cica.fr
c/o Cica Tel: (33) 4 92.94.23.50
2229, route des cretes fax: (33) 4 92.94.23.54
06560 Sophia-Antipolis
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: changing "datasize" in DU 4.0
1997-09-25 4:00 ` changing "datasize" in DU 4.0 Dara Ghahremani
1997-09-26 4:00 ` Emmanuel Choquet
@ 1997-09-29 4:00 ` Paul Hays
1 sibling, 0 replies; 5+ messages in thread
From: Paul Hays @ 1997-09-29 4:00 UTC (permalink / raw)
C-shell (csh) command 'limit' shows datasize, and csh command 'unlimit'
raises it from the default 'soft limit' value to a 'hard' limit.
Use commend '/sbin/sysconfig -q proc' to look at the values of parameters
per-proc-data-size and max-per-proc-data-size. They're documented in the
System Tuning and Performance Management online document under Process
Subsystem Attributes.
In article <Pine.SUN.3.95.970925104341.5607A-100000@fourier.salk.edu>,
dara@salk.edu says...
>
>
>I would like to change the "datasize" parameter that is listed when the
>"limit" command is used. Unfortunately, I can find no man page for this
or
>any mention of how to set this parameter in the physical DU manuals.
>I'd appreciate any advice people might have to do this.
>
>Thanks in advance,
>Dara
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Crack w/ C2 Security Enabled?
1997-09-25 4:00 Crack w/ C2 Security Enabled? Thomas Bates
1997-09-25 4:00 ` changing "datasize" in DU 4.0 Dara Ghahremani
@ 1997-10-01 4:00 ` Adam S. Lupu-Sax
1 sibling, 0 replies; 5+ messages in thread
From: Adam S. Lupu-Sax @ 1997-10-01 4:00 UTC (permalink / raw)
>>>>> "Thomas" == Thomas Bates <bates@atlantis.its.dist.maricopa.edu> writes:
Thomas> We're currently running C2 on most of our machines,
Thomas> with a few running 'standard' Digital UNIX.
Thomas> We'd like the ability of running crack 5 on our C2
Thomas> machines, just to doublecheck that the passwords, even
Thomas> though they passed the enhanced security check, are
Thomas> secure.
Thomas> Does anyone have any information on how to get the
Thomas> [hash in the same routine?] passwords out of the C2
Thomas> database?
The code below works on my system (DEC/OSF v 2.0). You run it
(as root) and it outputs a file called "translate.out" on which you can
run Crack5. Basically, it reads the protected password database and
creates a normal /etc/passwd style file.
It still isn't quite right. Not being a professional, I
didn't have time to figure out the details of the protected password
database. It works most of the time and once in a while it crashes
(without doing any damage, it just doesn't work). I guess I'm saying
"use at your own risk"
Good Luck.
-Adam
------------------------------------------------------------------------
/*
code for generating an ordinary /etc/passwd file from the
C2 one
*/
#include <pwd.h>
#include <sys/types.h>
#include <sys/security.h>
#include <prot.h>
int main(int argc, char *argv[])
{
char *filename="translate.out";
FILE *pwfile;
struct passwd *next_passwd;
struct pr_passwd *prot_passwd;
int good=1;
if (!(pwfile=fopen(filename,"w")))
{
printf("Error opening output file. Exiting.\n");
exit(1);
}
set_auth_parameters(); /* initialize database interface */
setpwent(); /* initialize ordinary database */
while (good)
{
next_passwd = getpwent(); /* get an entry from /etc/passwd */
if (next_passwd==NULL) good=0;
else
{
/* now get the protected entry for the same UID */
prot_passwd=getprpwuid(next_passwd->pw_uid);
/* put the crypted password field into the /etc/passwd style */
next_passwd->pw_passwd=prot_passwd->ufld.fd_encrypt;
/* write that entry to the output file */
putpwent(next_passwd, pwfile);
}
fflush(pwfile);
}
endprpwent(); /* close protected database */
endpwent(); /* close ordinary database */
}
--
____________________________________________________________
Adam Lupu-Sax <lupu-sax@typhoon.harvard.edu>
http://monsoon.harvard.edu/~lupu-sax
PGP public key: http://monsoon.harvard.edu/~lupu-sax/key.asc
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1997-10-01 4:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-09-25 4:00 Crack w/ C2 Security Enabled? Thomas Bates
1997-09-25 4:00 ` changing "datasize" in DU 4.0 Dara Ghahremani
1997-09-26 4:00 ` Emmanuel Choquet
1997-09-29 4:00 ` Paul Hays
1997-10-01 4:00 ` Crack w/ C2 Security Enabled? Adam S. Lupu-Sax
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox