version 1.1, 2000/06/18 22:07:24 |
version 1.2, 2000/06/19 20:06:19 |
|
|
* Base utility set v0.1 |
* Base utility set v0.1 |
*/ |
*/ |
|
|
#include <stdio.h> |
|
#include <sys/types.h> |
#include <sys/types.h> |
#include <ctype.h> |
|
#include <pwd.h> |
|
#include <unistd.h> |
|
#include <sys/param.h> |
#include <sys/param.h> |
#include <sys/mount.h> |
#include <sys/mount.h> |
|
#include <ctype.h> |
#include <des.h> |
#include <des.h> |
|
#include <pwd.h> |
|
#include <stdio.h> |
|
#include <stdlib.h> |
|
#include <string.h> |
|
#include <unistd.h> |
|
|
#include <miscfs/tcfs/tcfs.h> |
#include <miscfs/tcfs/tcfs.h> |
#include "tcfslib.h" |
#include "tcfslib.h" |
|
|
int |
int |
rmkey_main(int argc, char *argv[]) |
rmkey_main(int argc, char *argv[]) |
{ |
{ |
char *fs; |
|
uid_t uid; |
uid_t uid; |
gid_t gid; |
gid_t gid; |
int es; |
int es; |
char x; |
char x; |
char fslabel[MAXPATHLEN], fspath[MAXPATHLEN]; |
char fslabel[MAXPATHLEN], fspath[MAXPATHLEN]; |
int havempname = FALSE, havefsname = FALSE, isgroupkey = FALSE; |
int havempname = FALSE, havefsname = FALSE, isgroupkey = FALSE; |
int havefs = FALSE; |
|
int havename = FALSE, havefspath = FALSE; |
int havename = FALSE, havefspath = FALSE; |
|
|
while ((x = getopt(argc,argv,"f:p:g:")) != EOF) { |
while ((x = getopt(argc,argv,"f:p:g:")) != EOF) { |