Db2

 View Only

 About DB2 instance user and fenced user in RedHat OS

Ken Iida's profile image
Ken Iida posted 04/22/25 03:49 AM

When adding a DB2 instance user and a fenced user as accounts on the RedHat OS, is it possible to run DB2 with their login shell set to /sbin/nologin?

If I set the login shell to /sbin/nologin, I will not be able to log in and work with that account, but since DB2 uses these accounts for only authentication, I think that DB2 itself will still run even if I cannot log in with db2inst1 or db2fenc1.

Jan Nelken's profile image
Jan Nelken

How are you planning to do DBA tasks which can be performed with Db2 instance owner credentials?