Thursday, September 9, 2010

"could not open session" when using sudo

last week encountered another strange error
when sudoing to one particular user, we see this error

[root@server]# sudo su - pankaj
could not open session


Resolution
cat /etc/security/limits.conf
look for user pankaj in this file

for example
#pankaj - nofile 0


No comments: