Skip to content

Ghidra is a software reverse engineering (SRE) framework

Minor cleanup to Ghidra Server

ghidra1e17797f4dc94
diff --git a/Ghidra/Features/GhidraServer/data/jaas-modules-src-1.0.3.zip b/Ghidra/Features/GhidraServer/data/jaas-modules-src-1.0.3.zip
deleted file mode 100644
index 010aa2c431..0000000000
Binary files a/Ghidra/Features/GhidraServer/data/jaas-modules-src-1.0.3.zip and /dev/null differ
diff --git a/Ghidra/RuntimeScripts/Common/server/jaas.conf b/Ghidra/RuntimeScripts/Common/server/jaas.conf
index 98a9f73696..963420a863 100644
--- a/Ghidra/RuntimeScripts/Common/server/jaas.conf
+++ b/Ghidra/RuntimeScripts/Common/server/jaas.conf
@@ -40,9 +40,14 @@ example_ad_ldap_auth {
// JPAM is not included in the Ghidra distro. See http://jpam.sourceforge.net/.
//
// Additionally:
-// the libjpam.so native library needs to be copied to your Ghidra/Features/GhidraServer/os/linux64 directory.
-// the JPAM-x.y.jar java library needs to be copied to your Ghidra/Features/GhidraServer/lib directory.
-
+// The libjpam.so native library needs to be copied to your Ghidra/Features/GhidraServer/os/linux64 directory.
+// The JPAM-x.y.jar java library needs to be copied to your Ghidra/Features/GhidraServer/lib directory,
+// and the following entries need to be added to your server/server.conf file:
+// wrapper.java.classpath.PAM=${ghidra_home}/Ghidra/Features/GhidraServer/lib/JPam-x.y.jar
+// wrapper.java.classpath.PAM2=${ghidra_home}/Ghidra/Features/GhidraServer/data/yajsw-stable-12.12/lib/core/commons/commons-logging-1.1.jar
+//
+// NOTE: you may need to run GhidraServer as root when using PAM authentication, depending on your configuration.
+//
example_jpam_auth {
net.sf.jpam.jaas.JpamLoginModule REQUIRED
// The serviceName parameter controls which PAM service Ghidra will try to authenticate against.