On 3/18/10, Jonas Karlsson <cj.karls...@gmail.com> wrote: > On 18 March 2010 22:12, Ali H. Caliskan <ali.h.calis...@gmail.com> wrote: >> Hi, >> >> I wonder if there is any specific reason why securetty file is missing >> as symlink in /etc directory? > > Because it's up to the sysadmin to create it, if wanted. > >> I know that pam_securetty.so doesn't >> allow non-standard device directories as root. This is why it's >> required to redefine pam_securetty.c file, by changing these lines: >> >> #define SECURETTY_FILE "/etc/securetty" >> #define TTY_PREFIX "/dev/" >> > Both those directories are valid as symlinks so I don't see why those > need to be changed. Doesn't pam_securetty follow symlinks? >
I have actually tried with /dev symlinked to /krn/dev but pam_securetty.so doesn't allow it. So it works only if you patch it to use different directory path. /Ali _______________________________________________ gobolinux-devel mailing list gobolinux-devel@lists.gobolinux.org http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel