[OpenAFS] afs integrated login issue
lal anil
anillalpk@yahoo.com
Tue, 17 Jan 2006 04:25:33 -0800 (PST)
--0-839275542-1137500733=:70925
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
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....?
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..."
---------------------------------
Yahoo! Photos
Ring in the New Year with Photo Calendars. Add photos, events, holidays, whatever.
--0-839275542-1137500733=:70925
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
<div id="RTEContent"> Hi All<br> <br> I am trying to achieve integrated login in afs on my suse linux box with openafs-1.4<br> <br> I have configured my /etc/pam.d/sshd as show below<br> <br> #%PAM-1.0<br> auth sufficient /lib/security/pam_afs.so.1 ignore_root<br> #auth sufficient /lib/security/pam_afs.so.1 ignore_root<br> auth required pam_unix2.so # set_secrpc<br> auth required pam_nologin.so<br> auth required pam_env.so<br> account required pam_unix2.so<br> account required pam_nologin.so<br> password required pam_pwcheck.so<br> password
required pam_unix2.so use_first_pass use_authtok<br> session required pam_unix2.so none # trace or debug<br> session required pam_limits.so<br> session optional /lib/security/pam_afs.so.1 ignore_root<br> # Enable the following line to get resmgr support for<br> # ssh sessions (see /usr/share/doc/packages/resmgr/README.SuSE)<br> #session optional pam_resmgr.so fake_ttyname<br> <br> when i try to ssh anillal@laila it logs in but giving an error<br> <br> [root@anillal-desk ~]# ssh anillal@laila<br> AFS Password:<br> Last login: Tue Jan 17 17:40:35 2006 from 9.182.18.49<br> Could not chdir to home directory /afs/india/users/a/anillal: Permission denied<br> hello<br> -bash: /afs/india/users/a/anillal/.bash_profile: Permission denied<br>
anillal@laila:/><br> <br> when I klog to the machine I am able to move to the directory<br> <br> anillal@laila:/> klog anillal<br> Password:<br> anillal@laila:/> cd /afs/india/users/a/anillal/<br> anillal@laila:~> pwd<br> /afs/india/users/a/anillal<br> anillal@laila:~><br> <br> Can any one explain me what could be wrong....?<br> Please help me to solve the problem<br> <br> <br> <br> <br> </div><BR><BR><div id="RTEContent">Thanks & Regards<br> <br> <font style="font-weight: bold;" size="4">Anil Lal P K</font><br> Mob : +91 (0) 9886829283<br> office : +91 (0) 80 25094019<br> <br> <span style="color: rgb(255, 0, 0); font-weight: bold; font-style: italic;">"To everything there is a season..."</span><br style="font-style: italic;"> <span style="color: rgb(255, 64, 64); font-style: italic;">"There is an appointed time for everything. And there is a time for every event under heaven..."</span><br style="font-style: italic;"> <br></div><p>
<hr size=1>Yahoo! Photos<br>
Ring in the New Year with <a href="http://us.rd.yahoo.com/mail_us/taglines/photos/*http://pa.yahoo.com/*http://us.rd.yahoo.com/mail_us/taglines/photos/evt=38087/*http://pg.photos.yahoo.com/ph//page?.file=calendar_splash.html&.dir=">Photo Calendars</a>. Add photos, events, holidays, whatever.
--0-839275542-1137500733=:70925--