Re: using sudo command to connect to Db2 database in AIX 7.3
"Todd C. Miller via sudo-users" <[email protected]> Thu, 17 Jul 2025 08:28:18 -0600
| Newsgroups | gmane.comp.tools.sudo.user |
|---|---|
| Message-ID | <[email protected]> |
Without knowing anything about how db2 operates it is hard to suggest anything. One major change between those two sudo versions is that sudo now runs the command in a pseudo-terminal by default. You could try disabling that to see if it makes a difference. You can do this with the following line in your /etc/sudoers file: Defaults !use_pty You should also compare the sudoers file on the working system with sudoers on the upgraded one to see if the working configuration preserves DB2-related environment variables that the new server does not. Specifically, check for lines starting with: Defaults env_keep+=... - todd ____________________________________________________________ sudo-users mailing list <[email protected]> For list information, options, or to unsubscribe, visit: https://www.sudo.ws/mailman/listinfo/sudo-users