summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDante Catalfamo2021-05-30 19:27:09 -0400
committerDante Catalfamo2021-05-30 19:27:09 -0400
commite7ab84139bc19e0657a7740c057b0aa9bd02f30b (patch)
tree2cdd012c2a15cc7468c3e383dfeedd89e14a071a
parentda7e77e7a4160863256aa2b084040e3cdebdcc81 (diff)
downloadblog-e7ab84139bc19e0657a7740c057b0aa9bd02f30b.tar.gz
blog-e7ab84139bc19e0657a7740c057b0aa9bd02f30b.tar.bz2
blog-e7ab84139bc19e0657a7740c057b0aa9bd02f30b.zip
bsd-auth: add test output
-rw-r--r--content/posts/WIP-how-bsd-authentication-works/index.org14
1 files changed, 13 insertions, 1 deletions
diff --git a/content/posts/WIP-how-bsd-authentication-works/index.org b/content/posts/WIP-how-bsd-authentication-works/index.org
index e1aae84..b30b7f9 100644
--- a/content/posts/WIP-how-bsd-authentication-works/index.org
+++ b/content/posts/WIP-how-bsd-authentication-works/index.org
@@ -2667,10 +2667,22 @@
test: test.c
$(CC) -o $@ $(CFLAGS) $<
-
#+end_src
+ Which results in the following:
+ #+begin_src text
+ $ pwd && ls -l && make
+ /home/dante/auth_tests/authtest
+ total 12
+ -rw-r--r-- 1 dante dante 143 May 30 19:20 Makefile
+ -rw-r--r-- 1 dante dante 248 May 29 19:30 authfail.c
+ -rw-r--r-- 1 dante dante 115 May 29 19:22 test.c
+ cc -o authfail -Wall -Wextra authfail.c
+ cc -o test -Wall -Wextra test.c
+ ./authfail
+ Hello! I don't have a secure path!
+ #+end_src
- The manpage also says the path is limited to =/bin/= and =/usr/bin=,
which is also not the case.