The "su fedora-ds" with the "/tmp/pwd.txt" gave the same errors:
[root@dirs alias]# su fedora-ds -c "../shared/bin/certutil -N -d . -P
slapd-dirs- -f /tmp/pwd.txt"
../shared/bin/certutil: line 50: cd: ../shared/bin/../lib: Not a
directory
../shared/bin/certutil: line 57: cd: /opt/fedora-ds/alias: Not a
directory
[root@dirs alias]#ll /tmp/pwd.txt -rw-r--r-- 1 root root 52 Jun 26
10:55 /tmp/pwd.txt
[root@dirs alias]# ll
total 364
-rwxr-xr-x 1 root root 247376 Nov 8 2006 libnssckbi.so
-rw------- 1 fedora-ds fedora-ds 16384 Jun 26 10:56 secmod.db
-rw------- 1 fedora-ds fedora-ds 65536 Jun 26 10:56 slapd-dirs-cert8.db
-rw------- 1 fedora-ds fedora-ds 16384 Jun 26 10:56 slapd-dirs-key3.db
Something very unusual going on....!
SWA