LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Non-root users can log in to SSH but not read Home Directory? (https://www.linuxquestions.org/questions/linux-software-2/non-root-users-can-log-in-to-ssh-but-not-read-home-directory-30663/)

Bizanshee 09-18-2002 03:23 PM

Non-root users can log in to SSH but not read Home Directory?
 
I have Redhat 7.1 and I'm connecting to my SSH server via the internet. I can do everything fine as root, but even if I create a new user (using SSH) that user cannot read anything, including folders and files that they have rwx to. I can log in, and even su to root, but when logged in as any non-root user, I get permission denied errors when trying to ls -l the home directory or pretty much run anything. Am I losing it, or is this an SSH issue? I haven't been to the actual box to log in directly yet, just SSH into it.

gway 09-18-2002 07:01 PM

Hi,
I never heard of such a feature in OpenSSH... are you sure you are running that user and that you are in the right directory? What happens when you cd /tmp , can you ls -l? What does pwd returns? what does id returns? Give me more info!

-- Gway


All times are GMT -5. The time now is 12:09 PM.