ssh won't allow non-root users to login on centos

Fernando Duran liberosec-FFYn/CNdgSA at public.gmane.org
Tue Apr 24 16:13:03 UTC 2007


--- Dave Cramer <davec-zxk95TxsVYDyHADnj0MGvQC/G2K4zDHf at public.gmane.org> wrote:

> Anyone seen this before ?
> 
> I can do rsync with a non-root user
> I can login with the root user
> what I can't seem to do is get a pts ?
> 

>From the root prompt, do a "su - user" and also "su
user". Do you get a shell for the user?

In "grep root /etc/passwd" and same for the non-root
user, is the last column the same?

If you create a new "test" user, can you ssh in?

If you ssh as root, can you get another session (pts)
if you ssh again as root while the first session is
still on?


Fernando

---------------------
Fernando Duran
http://www.fduran.com


      Get news delivered with the All new Yahoo! Mail.  Enjoy RSS feeds right on your Mail page. Start today at http://mrd.mail.yahoo.com/try_beta?.intl=ca
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list