Hi All
I am trying to achieve integrated login in afs on my suse linux box with openafs-1.4
I have configured my /etc/pam.d/sshd as show below
#%PAM-1.0
auth sufficient /lib/security/pam_afs.so.1 ignore_root
#auth sufficient /lib/security/pam_afs.so.1 ignore_root
auth required pam_unix2.so # set_secrpc
auth required pam_nologin.so
auth required pam_env.so
account required pam_unix2.so
account required pam_nologin.so
password required pam_pwcheck.so
password required pam_unix2.so use_first_pass use_authtok
session required pam_unix2.so none # trace or debug
session required pam_limits.so
session optional /lib/security/pam_afs.so.1 ignore_root
# Enable the following line to get resmgr support for
# ssh sessions (see /usr/share/doc/packages/resmgr/README.SuSE)
#session optional pam_resmgr.so fake_ttyname
when i try to ssh [EMAIL PROTECTED] it logs in but giving an error
[EMAIL PROTECTED] ~]# ssh [EMAIL PROTECTED]
AFS Password:
Last login: Tue Jan 17 17:40:35 2006 from 9.182.18.49
Could not chdir to home directory /afs/india/users/a/anillal: Permission denied
hello
-bash: /afs/india/users/a/anillal/.bash_profile: Permission denied
[EMAIL PROTECTED]:/>
when I klog to the machine I am able to move to the directory
[EMAIL PROTECTED]:/> klog anillal
Password:
[EMAIL PROTECTED]:/> cd /afs/india/users/a/anillal/
[EMAIL PROTECTED]:~> pwd
/afs/india/users/a/anillal
[EMAIL PROTECTED]:~>
Can any one explain me what could be wrong....?
Please help me to solve the problem
I am trying to achieve integrated login in afs on my suse linux box with openafs-1.4
I have configured my /etc/pam.d/sshd as show below
#%PAM-1.0
auth sufficient /lib/security/pam_afs.so.1 ignore_root
#auth sufficient /lib/security/pam_afs.so.1 ignore_root
auth required pam_unix2.so # set_secrpc
auth required pam_nologin.so
auth required pam_env.so
account required pam_unix2.so
account required pam_nologin.so
password required pam_pwcheck.so
password required pam_unix2.so use_first_pass use_authtok
session required pam_unix2.so none # trace or debug
session required pam_limits.so
session optional /lib/security/pam_afs.so.1 ignore_root
# Enable the following line to get resmgr support for
# ssh sessions (see /usr/share/doc/packages/resmgr/README.SuSE)
#session optional pam_resmgr.so fake_ttyname
when i try to ssh [EMAIL PROTECTED] it logs in but giving an error
[EMAIL PROTECTED] ~]# ssh [EMAIL PROTECTED]
AFS Password:
Last login: Tue Jan 17 17:40:35 2006 from 9.182.18.49
Could not chdir to home directory /afs/india/users/a/anillal: Permission denied
hello
-bash: /afs/india/users/a/anillal/.bash_profile: Permission denied
[EMAIL PROTECTED]:/>
when I klog to the machine I am able to move to the directory
[EMAIL PROTECTED]:/> klog anillal
Password:
[EMAIL PROTECTED]:/> cd /afs/india/users/a/anillal/
[EMAIL PROTECTED]:~> pwd
/afs/india/users/a/anillal
[EMAIL PROTECTED]:~>
Can any one explain me what could be wrong....?
Please help me to solve the problem
Thanks & Regards
Anil Lal P K
Mob : +91 (0) 9886829283
office : +91 (0) 80 25094019
"To everything there is a season..."
"There is an appointed time for everything. And there is a time for every event under heaven..."
Anil Lal P K
Mob : +91 (0) 9886829283
office : +91 (0) 80 25094019
"To everything there is a season..."
"There is an appointed time for everything. And there is a time for every event under heaven..."
Yahoo! Photos
Ring in the New Year with Photo Calendars. Add photos, events, holidays, whatever.
