Darren J Moffat wrote:
Manoj Joseph wrote:
Hi,
On a box where Solaris has been freshly installed, one sees this
behavior.
-bash-3.00# useradd manoj
-bash-3.00# tail -1 /etc/passwd
manoj:x:100:1::/home/manoj:/bin/sh
-bash-3.00# mkdir /home/manoj
mkdir: Failed to make directory "/home/manoj"; Operation not applicable
-bash-3.00# df -h /home
Filesystem size used avail capacity Mounted on
auto_home 0K 0K 0K 0% /home
While I realize why the mkdir failed, it is confusing for a new user
who just did a useradd to create a new user account and needs to make
the home directory.
This morning, I saw an instance where a Linux user trying Solaris for
the first time, found this very confusing. I am not offering
solutions. But defaults that don't confuse a new user would be nice.
Yep we know and there is a bug logged for it. Fancy fixing it so that
useradd becomes aware of the automounter and just does the correct thing
when useradd creates the home dir ? I'll sponsor the integration of
the fix for you if you like.
How about just fixing it so that the automounter finds any home
directories in /etc/passwd and mounts those on demand?
- Bart
--
Bart Smaalders Solaris Kernel Performance
[EMAIL PROTECTED] http://blogs.sun.com/barts
_______________________________________________
opensolaris-discuss mailing list
[email protected]