From: Chris Price <cprice@missing.its.to>
To: axp-list@redhat.com
Subject: shell tools for addding/deleting users?
Date: Sat, 9 Jan 1999 12:15:55 -0600 (CST) [thread overview]
Message-ID: <Pine.LNX.3.95.990109113813.27268A-100000@missing.its.to> (raw)
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
next reply other threads:[~1999-01-09 18:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-01-09 18:15 Chris Price [this message]
1999-01-09 21:46 ` shell tools for addding/deleting users? Michal Jaegermann
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox