summaryrefslogtreecommitdiffstats
path: root/openssh-listusers-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'openssh-listusers-html.lsp')
-rw-r--r--openssh-listusers-html.lsp10
1 files changed, 10 insertions, 0 deletions
diff --git a/openssh-listusers-html.lsp b/openssh-listusers-html.lsp
new file mode 100644
index 0000000..f49eb58
--- /dev/null
+++ b/openssh-listusers-html.lsp
@@ -0,0 +1,10 @@
+<% local view, viewlibrary, page_info, session = ... %>
+<% require("viewfunctions") %>
+
+<H1>System User Accounts</H1>
+<DL>
+<% for i,user in ipairs(view.value) do %>
+ <DT><IMG SRC='/skins/static/tango/16x16/apps/system-users.png' HEIGHT='16' WIDTH='16'> <%= user %></DT>
+ <DD><A HREF='listauth?user=<%= user %>'>Edit this account</A></DD>
+<% end %>
+</DL>