From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 25273 invoked from network); 9 Jan 1999 18:29:31 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 9 Jan 1999 18:29:31 -0000 Received: from missing.its.to (503@[198.169.185.23]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id NAA11720 for ; Sat, 9 Jan 1999 13:08:57 -0500 Received: from localhost (cprice@localhost) by missing.its.to (8.8.7/8.8.7) with SMTP id MAA27763 for ; Sat, 9 Jan 1999 12:15:56 -0600 Date: Sat, 9 Jan 1999 12:15:55 -0600 (CST) From: Chris Price To: axp-list@redhat.com Subject: shell tools for addding/deleting users? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Hi; I am not running X in a system doe to resource constraints, and would like to have a tool that interactively adds users, UID, GID, passwd, etc.. I d/l'ded the adduser-shadow tools from sunsite,unc (I understand that they are/were a part of the Slakware distro at one point) and tried to compile. Here's where I had problems: gcc -g -Wall -o adduser.o -c adduser.c adduser.c:435: warning: return type of `main' is not `int' gcc adduser.o -o adduser-1.5 adduser.o: In function `main': /root/adduser-shadow-1.6/adduser.c:690: undefined reference to `crypt' /root/adduser-shadow-1.6/adduser.c:690: undefined reference to `crypt' collect2: ld returned 1 exit status make: *** [adduser] Error 1 I guess myy first question is what teh status of the 'crypt()' call is on AXP. My first guess would be that it *should* work fine as the passwd command uses the crypt() call (do4es it not?). I dunno. I could really use this package (or one similar) to do an interactive user addition without having to run x on this server system. Any input you can provide is really appreciated... Chris