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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Users can not login, only root

Status
Not open for further replies.

ap1605

Programmer
Mar 12, 2003
35
NL
Help: users can not login, only root.
When i do a su to an user the follow message appear:
setlocale: Permission denied
You are not allowed to run a SHELL !!!!
 
If setlocale is a command, I would check the permissions on it. Compare to a box that does work?

HTH,

p5wizard
 
We are running AIX 5.3. ML2.
We saw the permissions of / where different. Only the message now is:
setlocale: Permission denied
userid is unknown
 
Check the permissions on /usr/sbin/getty

should be -r-sr-xr-x
owner root
group security

There should be three names for this file (link count of 3)

Code:
# ls -li /usr/sbin/getty /usr/sbin/tsm /usr/sbin/login
 4953 -r-sr-xr-x   3 root     security      59826 Nov 19 2003  /usr/sbin/getty
 4953 -r-sr-xr-x   3 root     security      59826 Nov 19 2003  /usr/sbin/login
 4953 -r-sr-xr-x   3 root     security      59826 Nov 19 2003  /usr/sbin/tsm

But if someone/something has been altering permissions on system files, expect more trouble than this one alone... I'd go and hunt for the mksysb tape :-(


HTH,

p5wizard
 
Thanks for the answers. We have put the systembackup on the system. Everything looks fine now.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top