[SLE] afs integrated login



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 anillal@laila it logs in but giving an error

[root@anillal-desk ~]# ssh anillal@laila
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
anillal@laila:/>

when I klog to the machine I am able to move to the directory

anillal@laila:/> klog anillal
Password:
anillal@laila:/> cd /afs/india/users/a/anillal/
anillal@laila:~> pwd
/afs/india/users/a/anillal
anillal@laila:~>

Can any one explain me what could be wrong....?


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..."




---------------------------------
Yahoo! Photos
Ring in the New Year with Photo Calendars. Add photos, events, holidays, whatever.
















Relevant Pages

  • AFS support?
    ... I would like to ask those of you who use AFS and any kind of Secure ... * Are you still using SSH1 with Dug Song's obsolete patches? ... * Do you have a solution for integrating SSH2 with AFS logins on any ... exactly the same way, i.e. internally in ssh. ...
    (SSH)
  • Re: SSH / afs question
    ... > I am using cygwin ssh to log into a linux cluster that uses afs as the ... > file system. ... The problem starts when I try to use RSA authentication. ...
    (comp.security.ssh)
  • Re: [URG] SSH & PAM
    ... Sensei wrote: ... >> What version of SSH? ... >> the behavior you'd expect if myuser doesn't have a valid AFS token. ... Good judgement comes with experience. ...
    (comp.security.ssh)
  • SSH / afs question
    ... Everything works fine as long as I use password authentication. ... I am neither an ssh nor an afs expert so I have no idea if this ...
    (comp.security.ssh)