Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Strange setgid directories

Status
Not open for further replies.

chenn

Technical User
Nov 9, 2000
106
DE
Hi. One of "my" users has a strange problem, he can't log in. He could last friday and no one having admin privileges changed something at his account. We run NFS as the linux boxes are in a NAT segment.
In the users HOMEDIR occur following directories:
(extract from ls -ltra):
drwxr-sr-x 2 payammes colt 512 Jan 5 17:55 03
drwxr-sr-x 2 payammes colt 512 Jan 5 17:55 08
drwxr-sr-x 2 payammes colt 512 Jan 5 17:55 0A
drwxr-sr-x 2 payammes colt 512 Jan 5 17:55 0F
drwxr-sr-x 2 payammes colt 512 Jan 5 17:55 16
these are setgid directories (output of file 0F).

As this particular user can't log in and I have no plan the only solution in sight is to rm -rf /home/USER and create it new.
Maybe someone knows a workaround or experienced something like that too?
Any help advice would be great! regards
chenn
 
The problem is solved, it was caused by the user (who else).
In his .bashrc he added this phrase to the end:
exec csh
/etc/shells only allow sh and bash as login shell, so login in via bash and then switching to csh (not login shell) leaded to this strange behaviour... regards
chenn
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top