gno/usr.sbin/nogetty/nogetty.c
1998-03-09 15:50:56 +00:00

10 lines
165 B
C

#include <stdio.h>
#include <orca.h>
int main(int argc, char *argv[])
{
setenv("user","root");
setenv("home",":user:root");
execve("/bin/gsh","gsh");
}