summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
...
* Set NOSHARED=true, having this binary static makes it much easier torgrimes1995-07-241-0/+2
| | | | | | fix /usr/lib/*.so problems. Submitted by: davidg
* D*mn, botched my last commit message. :-(joerg1995-07-221-0/+2
| | | | | | | | | | | >Description: A machine with uptime >1 year appears wrong in the ruptime list Fixes bin/626: ruptime doesn't like big ... Reviewed by: Submitted by: root@xaa.stack.urc.tue.nl Obtained from:
* this avaids the "lineoverflow" which you'll always get at 80 column displaysjoerg1995-07-221-1/+1
| | | | | | | | at bootup Reviewed by: Submitted by: graichen@omega.physik.fu-berlin.de (Thomas Graichen) Obtained from:
* Change the weekday abbrevaiations to two letters each. This reducesjoerg1995-07-221-2/+2
| | | | | | | | | their ambiguity and makes the output more consistent with other calendars (e.g. cal in Emacs). Reviewed by: Submitted by: wosch@cs.tu-berlin.de (Wolfram Schneider) Obtained from:
* Slightly better message for `ypwhich -x':wollman1995-07-201-1/+1
| | | | | was: Use "foo" for "foo.bar" now: "foo" is an alias for "foo.bar"
* When 'w' finds an IP address in the ut_host field, it attempts to dopeter1995-07-181-0/+8
| | | | | | | | | | | | a gethostbyname() on it. That can take a long time... (especially if the reason the IP address is in there in the first place is because login/rlogind/telnetd couldn't find it either....) This patch reduces the gethostbyaddr lookup time to 2 seconds, the idea being that if the local nameserver knows the answer, it'll answer within that time, otherwise we dont care... :-) This change doesn't do anything about whether or not w should do this in the first place, but at least it will make the current behavior less painful. Reviewed by: David Greenman
* Oops! Andrey pointed out tht setlocale(LC_CTYPE, "") doesn't actuallypeter1995-07-181-3/+0
| | | | | | | | work for locale's with multibyte characters. Backing this out.... cvs diff -c -r1.1 -r1.2 main.c | patch -R Reviewed by: Submitted by: Obtained from:
* Make 'more' sensative to the current locale for it's ctype calls.peter1995-07-171-0/+3
| | | | | | Reviewed by: Submitted by: Thomas Gellekum, with minor cosmetic changes from me. Obtained from:
* Fix the 'w' command so that the -h option correctly supresses the headingpeter1995-07-171-2/+2
| | | | | | | as per the manual page. Closes PR578. Reviewed by: Submitted by: Kenneth D. Merry Obtained from:
* Fix chpass so that it doesn't advance the passwordmpp1995-07-161-11/+9
| | | | | change and expire dates by 1 day anytime root edits a user that has a change/expire date set.
* Remove the dangerous "eof" command that used to be an alias for "weof"joerg1995-07-162-2/+24
| | | | | | | | but usually got confused with "eom". It didn't ring the warning bell saying: "You are probably going to mark your whole tape as deleted right now." A warning message pointing to "weof" and "eom" is issued instead.
* Added support for an LCS-style `wheel su' which allows users in group wheelwollman1995-07-121-6/+36
| | | | | | | | | | to su to root by authenticating as themselves (using a password or S/Key) rather than by using the root password. This is useful in contexts like ours, where a large group of people need root access to a set of machines. (However, the security implications are such that this should not be enabled by default.) The code is conditionalized on WHEELSU.
* Don't attempt to read the variable `total' from the kernel. `total'bde1995-07-121-4/+2
| | | | | | isn't used in systat or in the kernel (it was replaced by a sysctl() call involving VM_METER) and will go away when I clean up bogus common variables in the kernel.
* Instantiate our own variables instead of depending on bogus commonbde1995-07-121-1/+2
| | | | declarations in system headers that will be fixed soon.
* Instantiate our own variables instead of depending on bogus commonbde1995-07-121-2/+5
| | | | declarations in system headers that will be fixed soon.
* Add kzip to the clean and cleandir target so that it also get cleaned upats1995-07-081-2/+2
| | | | properly.
* PR # bin/274joerg1995-07-081-1/+1
| | | | | | | | | | | | > The command: > > touch -t 199504011200 testfile > > gives the error message: > > touch: out of range or illegal time specification: [[CC]YY]MMDDhhmm[.SS] Submitted by: mpp@legarto.minn.net (Mike Pritchard)
* This fixes 'split -l NNN foo'. As it stands split willrgrimes1995-07-071-1/+1
| | | | | | | | | | complain about an 'illegal line count' becuase it's looking at the wrong end pointer (ep) to detect any extra characters after the NNN. Submitted by: Rich Murphey <rich@freebsd.org> This should probably get pulled into 2.0.6 and 2.1.0
* New feature: a -links option, when generating html output, createsjfieber1995-06-302-11/+82
| | | | | | | | | symbolic links for each cross reference label in the source file, thus allowing external documents to link to a more or less fixed target, rather that the numbered files which can change whenever the target document is modified. Bug fix: warn when a reference is made to a nonexistant label.
* Terminate string copied by strncpy() by '\0' to fix a core dump.asami1995-06-301-0/+1
| | | | Submitted by: kogane@kces.koganemaru.co.jp (Nobuyuki Koganemaru)
* Changes to support version 3 of the NFS protocol.dfr1995-06-274-39/+74
| | | | | | | | | | | | | | | | | | The version 2 support has been tested (client+server) against FreeBSD-2.0, IRIX 5.3 and FreeBSD-current (using a loopback mount). The version 2 support is stable AFAIK. The version 3 support has been tested with a loopback mount and minimally against an IRIX 5.3 server. It needs more testing and may have problems. I have patched amd to support the new variable length filehandles although it will still only use version 2 of the protocol. Before booting a kernel with these changes, nfs clients will need to at least build and install /usr/sbin/mount_nfs. Servers will need to build and install /usr/sbin/mountd. NFS diskless support is untested. Obtained from: Rick Macklem <rick@snowhite.cis.uoguelph.ca>
* Include killall.joerg1995-06-251-2/+2
|
* This commit was generated by cvs2svn to compensate for changes in r9316,joerg1995-06-253-0/+240
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Our Perl oracle hit again: Wolfram Schneider's killall utility.joerg1995-06-253-0/+240
| | | | | | | | Kills processes by name instead of by UID. (Man page by me.) Submitted by: wosch@cs.tu-berlin.de (Wolfram Schneider)
* usr/ucb -> usr/bin and usr/msgs -> var/msgs.bde1995-06-251-3/+3
|
* Argh!! Got the arguments in the printf() backwards.wpaul1995-06-241-2/+2
|
* Whoops: getnewpasswd() always says "Changing local password for foo".wpaul1995-06-242-5/+7
| | | | | | Change things slightly so this message says "local" or "YP" as needed so we can use it for both NIS and local password changes without confusing people.
* getnewyppasswd() in yp_passwd.c doesn't generate correct encryptedwpaul1995-06-241-42/+2
| | | | | | | | | | | | | password strings when DES isn't used; somehow the encrypted password is corrupted and it winds up containing control chars, which yppasswdd subsequently rejects. This breaks yppasswd on non-DES FreeBSD systems using NIS. Fix: scrap getnewyppasswd() entirely and use getnewpasswd() from local_password.c, since it already works properly and is virtually identical to getnewyppasswd() anyway. (Wish I'd noticed this sooner.) This fixes a problem just reported on comp.unix.bsd.freebsd.misc.
* Back out prev. NetBSD fix, it cause skipping some error constructions,ache1995-06-241-5/+3
| | | | don't delete initial space from line instead
* Don't make error on ^<spaces>\nache1995-06-241-1/+1
| | | | Obtained from: NetBSD
* Make parsetime.c more consistent by using the (already declared) enumjoerg1995-06-242-11/+13
| | | | | | | | | | type instead of int all over the place. (Cosmetic, enhances debugging.) Point out that a date specification _must_ follow the time of day spec, in the man page. This clarifies the last point PR # of bin/483: "at doesn't seem to ..." (the remainder has already been fixed with version 1.3 of parsetime.c).
* Somewhere along the line, somebody decided to make the 'full name' fieldwpaul1995-06-231-1/+1
| | | | | | | | | | | | restricted. Am I the only one who sees the absurdity of having chfn be a link to chpass, and then denying users permission to use chpass to change their full names? Of course, chpass has a much more severe bug in it, which is that it allows users to change their password database info without first asking them for their password. I hope to fix this at some point so that I can merge ypchpass, ypchfn, ypchsh and chpass into one program (password authentication is required for changing NIS data).
* Fix finger not check all users ~/.nofinger, only for actuallyache1995-06-211-3/+1
| | | | | matched. Close PR 539 Submitted by: tom@haven.uniserve.com
* Correct spelling of Judy Garland's name.rgrimes1995-06-201-1/+1
| | | | | Submitted by: Kenneth Stailey <kstailey@gnu.ai.mit.edu> Obtained from: NetBSD gnats bug list
* Rename, lt_LN.ISO8859-1 -> lt_LN.ISO_8859-1.asami1995-06-191-2/+2
| | | | Reviewed by: rgrimes
* Correct spelling mistake: upcated -> updated.wollman1995-06-191-2/+2
|
* Print out the statistics for cache updates of rtt, rttvar, and ssthresh.wollman1995-06-191-0/+5
|
* Fix parsing SYSV/GNU "include"ache1995-06-181-0/+1
|
* NetBSD fixes: declare more prototypes, move .OPTIONAL in alphabetache1995-06-185-5/+26
| | | | | | | | order, prevent suffix rule, if direct or children dependances exists, forget to free v->name in var.c My fixes: fix famous ^\t\n bug, correct free order in str_end Reviewed by: bde Obtained from: NetBSD, me
* Fix lseek arg by including unistd.hache1995-06-172-1/+2
|
* Rename ISO8859-1 to ISO_8859-1 per RFC1700ache1995-06-171-1/+1
|
* Allow additional parsing of SYSV/GNU make "include" directive, it coversache1995-06-161-2/+2
| | | | 90% of problems in ports Makefiles
* Patch to fix PR #518. In a system with no NIS, passwd will complainwpaul1995-06-161-20/+29
| | | | | | | | | | | | | | | | | that it can't contact an NIS server when asked to change the password of an invalid user. It should say 'unknown user' instead. The fix is to check for the _PW_KEYYPENABLED flag in the password database and only roll over into the yppasswd stuff if the flag is enabled (this means passwd will not behave as yppasswd if there are no +::::::::: entries in /etc/master.passwd). If NIS is enabled but the user says 'passwd -l foouser' where foouser exists in the NIS maps, but not in /etc/master.passwd, we also say 'unknown user.' This is so we don't outsmart ourselves: specifying the -l flag restricts passwd to the local password database even if NIS is enabled. This change should probably be merged into 2.1.
* Re-write `netstat -g' code to match the 3.5 data structures.wollman1995-06-132-53/+51
|
* Re-enable netstat now that it compiles again.wollman1995-06-131-2/+2
|
* Temporarily disable netstatwollman1995-06-131-2/+2
|
* Merge RELENG_2_0_5 into HEADrgrimes1995-06-112-3/+4
|
* Remove trailing whitespace.rgrimes1995-05-30345-2830/+2840
|
* Fix %d and others printingache1995-05-241-2/+2
| | | | | Reviewed by: davidg Submitted by: Bill Fenner <fenner@parc.xerox.com>
* Set copyright so we can actually distribute and use it.guido1995-05-191-0/+15
| | | | | | Reviewed by: David Greenman Submitted by: Wietse Venema Obtained from:
OpenPOWER on IntegriCloud