How to add a login shell file in /etc/shells for KBL
search cancel

How to add a login shell file in /etc/shells for KBL

book

Article ID: 17064

calendar_today

Updated On:

Products

CA Virtual Privilege Manager CA Privileged Identity Management Endpoint (PIM) CA Privileged Access Manager (PAM)

Issue/Introduction



We have to add login shell script in /etc/shells to acquire Keyboard Logger(KBL).

If the login shell script is linked file like this, which scripts should we add in /etc/shells? 

===

#ls -la /bin/sh

rwxrwxrwx   1 root     root  4 Apr 20 2015 /bin/sh -> /usr/bin/XXXX/ksh

===

"/bin/sh" OR "/usr/bin/XXXX/ksh"

 

Environment

UNIX/LINUX

Resolution

We should add "/usr/bin/XXXX/ksh" in /etc/shells.