one user cant su another user
Hi all,
Problem i am facing is that, At a time only one user can enter the Linux EL system.Let me explain this by example.
Example 1:
I Loged in with root user, now i type command "su - user1" at terminal window.Ofcourse as i am typing command from root so it will not ask for passwd. Now the current user is user1 but now if i try to shift user by command "su - user2", It will ask for passwd and after entering passwd it hang up there...it will not switch to another user. Then i have to press ctrl+c to come out.
Example 2:
If in starting itself i login from any simple user then also it will enter into the system after taking the password, but again if i use "su - user2" command then again it will stuck.
Because of this Authentication problem , m not able to ftp into my own system neither any one else can enter by ftp.BUT SSH is properly working say if i type from user1 "ssh user2@<myip>" then it enter into user2.
Its not the ftp problem as i think because this authentication problem comes in "su" command too.
Please help me out
Thanku
KeepsmilinG
|