Operating System - Tru64 Unix
1829582 Members
4374 Online
109992 Solutions
New Discussion

unable to login particular groups

 
SOLVED
Go to solution
Han Pilmeyer
Esteemed Contributor

Re: unable to login particular groups

Please do the commands exactly as I give them, e.g. I explicity asked for "ls -al ~muthu" and "su - muthu" as I expect that there is a mismatch somewhere between the /etc/passwd file and the directory. I would rather not ask you to post your passwd and group file in a public forum.

So can you do the "ls -al ~muthu" and the "su - muthu" and show the results? Have you made the changes to the passwd file using "vipw"?
muthamilan
Frequent Advisor

Re: unable to login particular groups

hi han
I tried your command this is result.

If I changed group ID to 20 then this user working properly.

Thanks&Regards
S.Muthamilan

root@Almark#ls -al ~muthu
total 30
drwxr-x--- 3 muthu users 8192 Jul 3 09:42 .
drwxr-xr-x 14 ora9R2 dba 8192 Jul 3 21:48 ..
-rwxr-xr-x 1 muthu users 1295 Aug 2 2001 .cshrc
-rwxr-xr-x 1 muthu users 1464 Dec 26 2003 .login
-rwxr-xr-x 1 muthu users 1453 Aug 2 2001 .profile
drwxr-xr-x 2 muthu users 8192 Aug 2 2001 bin
root@Almark#su - muthu
No directory
Han Pilmeyer
Esteemed Contributor

Re: unable to login particular groups

Of course you can change the group to "20" and it will work. You've made that point several times. But so far I have seen no explanation to why that works. In fact, it shouldn't work. This is really unbelievable. There's something very strange going on.

You're not using ACL's are you?

As an experiment, could you change the passwd entry for muthu (using vipw!) so that the home directory becomes /usr/tmp? Then try "su - muthu" again. Please show the results of every step.
muthamilan
Frequent Advisor

Re: unable to login particular groups

no we are not using ACL




~
"/etc/ptmp" 28 lines, 1484 characters
Hashed passwd database does not exist, create? [yes]>
28 password entries (longest entry is 87 bytes long)
root@Almark#su - muthu
No directory

same problem occur.
Han Pilmeyer
Esteemed Contributor

Re: unable to login particular groups

Okay, obviously the /usr/tmp directory is fine. So there must be a problem with the passwd/group file. Can you tar them up and mail them to me at firstname dot lastname at hp dot com?

If you want to you could add the output of "sys_check -all" to it as well.
muthamilan
Frequent Advisor

Re: unable to login particular groups

friends

At last I found that / permission problem. I have changed,now working fine.


root@Almark#ls -ld /
drwxrwx--- 45 patrol operator 8192 Jul 23 13:04 /
root@Almark#pwd
/
root@Almark#chown root:system /
root@Almark#ls -ld /
drwxrwx--- 45 root system 8192 Jul 23 13:04 /
root@Almark#chmod 777 /
root@Almark#ls -ld
drwxrwxrwx 45 root system 8192 Jul 23 13:04 .
root@Almark#su - aldba1
Almark.ashokleyland.com> exit
root@Almark#id aldba1
uid=204(aldba1) gid=23 groups=203(aldba)
root@Almark#su - muthu
$


Thanks & Regards
S.Muthamilan