cd ~joebrown ~joebrown: does not exist

From: Marble, Jeff R (Jeff.Marble@unisys.com)
Date: Tue May 09 2006 - 00:53:46 EDT


The Solaris 9 host is not handling home directories as expected. We are
running local /etc/passwd, and /etc/auto_home.

If I run cd ~joebrown the error ~joebrown: does not exist. If I run cd
/home/joebrown, it works properly. It does not work in Bourne shell but
does in Korn shell and bash. There is no NIS, NIS+, or LDAP. This
happens for all of our users and on all of this group of 50 servers.

Is this normal for Bourne shell?

>From /etc/passwd:
joebrown:x:12345:1:Joe Brown:/home/joebrown:/bin/sh

>From /etc/nsswitch.conf:
grep -v ^\# /etc/nsswitch.conf

passwd: files
group: files
hosts: files dns
ipnodes: files
networks: files
protocols: files
rpc: files
ethers: files
netmasks: files
bootparams: files
publickey: files
netgroup: files
automount: files
aliases: files
services: files
sendmailvars: files
printers: user files

auth_attr: files
prof_attr: files
project: files

>From /etc/auto_master:
+auto_master
/net -hosts -nosuid,nobrowse
/home auto_home -nobrowse
/xfn -xfn
/- auto_direct

>From /etc/auto_home:
+auto_home
* 192.168.16.14:/export/users/&
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:39:49 EDT