Home directory not having same contents after adding user for different server

Hi,

I add users using the command for all the server I use
eg for server 66 which has opensuse 12.1


powerme@msvlsi66:~> su -
Password: 
msvlsi66:~ # useradd -g users -d /export/home/patil66 -m patil66
msvlsi66:~ # passwd patil66
Changing password for patil66.
New Password: 
Bad password: it is based on a dictionary word
Reenter New Password: 
Password changed.
msvlsi66:~ #

Similarly for server 62 which has opensuse 10.3


msvlsi62 home/liuc> su -
Password: 
msvlsi62:~ # useradd -g users -d /export/home/patil62 -m patil62
msvlsi62:~ # passwd patil62
Changing password for patil62.
New Password: 
Bad password: it is based on a dictionary word
Reenter New Password: 
Password changed.
msvlsi62:~ # 

Now when I login using the patil66 and patil62 the contents of the home directory are different or some files are missing!
on server 66


patil66@msvlsi66:~> pwd
/export/home/patil66
patil66@msvlsi66:~> ll
total 8
drwxr-xr-x 2 patil66 users 4096 Feb  8 10:42 bin
drwxr-xr-x 2 patil66 users 4096 Feb  8 10:42 public_html
patil66@msvlsi66:~> 

on server 62


msvlsi62 home/patil62> pwd
/export/home/patil62
msvlsi62 home/patil62> ll
total 16
drwx------ 2 patil62 users 4096 Feb  8 10:45 Documents
drwxr-xr-x 2 patil62 users 4096 Feb  8 10:45 bin
drwxr-xr-x 2 patil62 users 4096 Feb  8 10:45 public_html
-rwxr-xr-x 1 patil62 users   46 Feb  8 10:45 vncme
msvlsi62 home/patil62> 

we can see that both the home directories contents are different which were suppose to be same.
Any idea whats happening here?

let me know if you need more information!

Thanks in Advance

Raj

to me it looks like servers 62 and 66 are running different versions,
and those two different versions have different default contents for
newly created user /home

you can fix that, but i would advise you that openSUSE 10.3 on server 62
is FAR past its end of life and has received no security patches since
October 31st 2009–and LOTs of security patches have been propagated
since then!!

strongly suggest you move up to a supported system.


DD
Read what Distro Watch writes: http://tinyurl.com/SUSEonDW

Thank you DD for your suggestion, I will discuss about the up-gradation with my boss.

In the mean time does this have anything to do with NFS? my NFS server has opensuse 12.1


Raj
“Let Noble thoughts come to us from all side”

On 02/08/2012 11:13 AM, DenverD wrote:
> to me it looks like servers 62 and 66 are running different versions, and those
> two different versions have different default contents for newly created user /home
>
> you can fix that, but i would advise you that openSUSE 10.3 on server 62 is FAR
> past its end of life and has received no security patches since October 31st
> 2009–and LOTs of security patches have been propagated since then!!
>
> strongly suggest you move up to a supported system.

I agree with the recommendation to install the later version.

In each of the affected systems, check the userid and make sure that they are
the same, and that they match the file settings in the exported volume.

What is created in a new users home directory is configured in* /etc/skel* as you could have found out if you had read

man useradd

It is quite possible that both systems differ there. Not only because they are of different openSUSE level, but also because, while you call both “servers” (which is a rather general term used by many PC-Windows users as a term for other computers then PC-Windows computers), they could have been installed very differently. Like the one having an Text only install and the other a KDE install. This is illustrated IMHO by the fact that the directory Documents is typicaly something belonging to a Desktop environment.

On 02/08/2012 06:56 PM, patilrajashekar wrote:
> does this have anything to do with NFS?

no NFS is not a player here…Henk is leading you correctly…pay
attention to him…


DD
Read what Distro Watch writes: http://tinyurl.com/SUSEonDW