System is SCO UNIX 6.0.
I have had something seriously fubar'd with a bad script. User was writing a script to fix permissions in an application folder under /usr (to make it and its files visible to Windows users through SAMBA,) and the script got up a level higher than intended and set permissions in the /usr folder itself. Now any non-root user trying to log in gets a "no shell" message after entering the password, and the connection closes.
Looking at the script I see a lot of "cd .." and "cd ../.." lines, so obviously he counted levels wrong. Corrected the script to use absolute pathnames, but now we have a permissions issue on the UNIX filesystem, and I have no clue how to fix it.
root logs in OK, everyone else gets "no shell." Can I fix it, or am I looking at a backup/reinstall? (Please, no!!!!)
I have had something seriously fubar'd with a bad script. User was writing a script to fix permissions in an application folder under /usr (to make it and its files visible to Windows users through SAMBA,) and the script got up a level higher than intended and set permissions in the /usr folder itself. Now any non-root user trying to log in gets a "no shell" message after entering the password, and the connection closes.
Looking at the script I see a lot of "cd .." and "cd ../.." lines, so obviously he counted levels wrong. Corrected the script to use absolute pathnames, but now we have a permissions issue on the UNIX filesystem, and I have no clue how to fix it.
root logs in OK, everyone else gets "no shell." Can I fix it, or am I looking at a backup/reinstall? (Please, no!!!!)