Operating System - Tru64 Unix
1748287 Members
3023 Online
108761 Solutions
New Discussion юеВ

Re: unable to login particular groups

 
SOLVED
Go to solution
muthamilan
Frequent Advisor

Re: unable to login particular groups

/etc/group also having follwoing entery

operator:*:20:perumal
Han Pilmeyer
Esteemed Contributor

Re: unable to login particular groups

Looks like the protection for those directories is just wrong. The home directory should be owned by the user, i.e. muthu (202 instead of 200) and group dba (200 instead of 20).You also probably want to set the mode more restrictive (like 750 instead of 777). You may also want to change the group for the higher level directory , i.e. /users6 (e.g. dba instead of system).
muthamilan
Frequent Advisor

Re: unable to login particular groups

I have changed like below ,still problem exist.

/user6
drwxr-x--- 3 muthu dba 8192 Jul 3 09:42 muthu
/
drwxr-xr-x 14 ora9R2 dba 8192 Jul 3 21:48 user6
muthamilan
Frequent Advisor

Re: unable to login particular groups

if i add the same username in operator group then i can login.
root user is working .other then root only users belong to operator is able to login.
/etc/group
operator:*:20:muthu
Han Pilmeyer
Esteemed Contributor
Solution

Re: unable to login particular groups

Have you done a "chown -R muthu:dba /users6/muthu"? Note that all the files in muthu's directory need to have the correct protection...

If you add a user using the useradd or adduser command, then all of this should be taken care of.
muthamilan
Frequent Advisor

Re: unable to login particular groups

yes ,i gave -R option.
if I change this user group to gid 20 then user can login.otherthen gid 20 is not working.
Michael Schulte zur Sur
Honored Contributor

Re: unable to login particular groups

Hi,

did you run pwck and grpck?

Michael
muthamilan
Frequent Advisor

Re: unable to login particular groups

yes run.no problem found
Venkatesh BL
Honored Contributor

Re: unable to login particular groups

This is wierd...

what does "id " say?

Also, if some other user is added to group '200', are they able to login properly?
muthamilan
Frequent Advisor

Re: unable to login particular groups

id users(muthu) gives uid(555) gid (15).
no gid 20 is working group.if anyone add this group then that user can login.