summaryrefslogtreecommitdiffstats
path: root/ax25/axspawn.c
Commit message (Collapse)AuthorAgeFilesLines
* bugfix: write_ax25(line, ..) segfaultet if line is static char[].Thomas Osterried2008-11-081-6/+14
|
* fix: strncpy(ut.ut_id, tty + 3, sizeof(ut.ut_id)); // was ↵Thomas Osterried2008-10-221-2/+2
| | | | sizeof(ut.ut_line) with size = 12, wheras ut_id is 4.
* get_assoc(): file handle of fopen(PROC_AX25_CALLS_FILE, "r") wasThomas Osterried2008-10-101-1/+3
| | | | never closed.
* typo: embeded is embeddedThomas Osterried2008-04-131-6/+6
|
* axspawn on embeded systems like openwrt:Thomas Osterried2008-04-131-33/+103
| | | | | | | | | | | | on those systems, things are not as you expect. i.e., /bin/login is a shell script and implements boot-specific actions only (login without root password, etc..). The assumption that /bin/login -f username causes user as uid > 0 to login is wrong; user may gain root rights. axspawn now implements partially (thus, in the important points) what login assures. axspawn should be involked with the option --embeded when called from ax25d.
* new feature: bcpasswd authentication type "unix".Thomas Osterried2008-02-161-3/+7
| | | | | user has now also the choice to use the standard unix passwd/shadow authentication
* - bugfix: if /etc/skel/.profile exists, and /etc/ax25/ax25.profile,Thomas Osterried2007-03-111-4/+41
| | | | | | | | | | then .profile is copied, and without deletion the contense of ax25.profile is overwritten. to .profile. This lead to garbage. - Some useradd implementations refuse to add the user if his homedir already exists. But we need the function which builds the subtree /home/hams/dl9.../, because useradd does not make the missing subdirs by itself (instead, it's a severe error condition for useradd)
* Nuke K&R style non-prototypes ...Ralf Baechle2007-01-231-11/+3
|
* Fix warnings about // style comment. And remove some of the mostRalf Baechle2007-01-231-11/+20
| | | | pointless comments.
* assure to free pwd from read_pwd()Thomas Osterried2006-12-161-2/+10
|
* useradd now with "-s shell" option under special circumstancesThomas Osterried2006-12-101-3/+19
|
* fix: user_changed preinitialization was wrongThomas Osterried2006-06-101-2/+2
|
* login ... -h <protocol> .. - for nicer wtmpThomas Osterried2006-06-101-1/+3
|
* \n problem in in the bcpasswd part while sending messagesThomas Osterried2006-04-151-6/+6
| | | | intr = ^C as stty setting
* md5 and sys authentication via /etc/ax25/bcpasswd and $HOME/bcpasswd.Thomas Osterried2006-04-091-40/+157
| | | | | Documented in axspawn.8 Thanks to Christoph <dk2crn> for contribution.
* - fdlock(): fixed potential lock due to return without unlockThomas Osterried2005-12-101-11/+63
| | | | | | | | | - new password methods (read pwcheck for more info) - mode for homedirectory: new config option secure_home. if not set, new homedirectories become drwxr-xr-x if set, new homedirectories become drwx-----x. other=x, because otherwise uses would be iritating that for e.g. their public_html is not accessable..
* - fixed bug when downloading large messages (where linux kernel returnsThomas Osterried2005-10-301-91/+768
| | | | | | | | | -EAGAIN, when buffers get empty, which leaded to data loss) - fixed bug when '\r\n' was splited into two reads (trailing \r in the first read, starting \n in the second read) -> resulted in an empty line - better FD_SET(&fdread) handling - added //COMP hufman compression - could make use of the useradd(8) program for generating new accounts
* used PF_PACKET for SOCK_PACKET sockets, added time.h to axspawn.cMichael Taylor2002-11-031-1/+2
|
* Import ax25-tools 0.0.3 from tarballax25-tools-0.0.3Ralf Baechle1999-07-081-1/+1
|
* Import ax25-tools 0.0.2 from tarballax25-tools-0.0.2Ralf Baechle1999-06-071-0/+11
|
* Import ax25-tools 0.0.1 from tarballax25-tools-0.0.1Ralf Baechle1999-04-211-0/+911