LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (http://www.linuxquestions.org/questions/linux-security-4/)
-   -   Authentication Rejected (http://www.linuxquestions.org/questions/linux-security-4/authentication-rejected-549325/)

Gary L. Roach 04-26-2007 06:57 PM

Authentication Rejected
 
I've been using Debian Linux for several years but will admit that I'm pretty dense in the password/security area. I normally don't have to worry much. I have a good firewall and don't have much to steal.

I usually log in as su and operate from the X11 terminal in that mode. I have been having problems getting locked out of my own files because they are marked as root:root rw-r--r--. I just started doing some GUI programming with C++ and Qt (great package) and am getting the following error at the end of the compile cycle:

Qt: Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed

I suspect a permission problem but don't know what to change. I'm a little busy right now and would like to avoid a major research project to solve this. I've had too many of them lately.

I'm using Debian Etch?? testing at the moment.

Anyone have any ideas

Thanks Gary

v00d00101 04-27-2007 04:42 PM

Write a shell script as su along the lines of:

Code:

chown -R myuser.mygroup /my/homedir
Now.

Code:

chmod 0700 myshellscript.sh
And move it to /etc/cron.hourly (or add an entry to roots crontab).

Gary L. Roach 04-28-2007 03:14 PM

Authentication Rejection
 
Thanks for the advice. While implementing your seggestion, I ran across the "unmask = 022" line in my elvis /etc/profile file. Changing it to 020 accomplished much the same thing.

While that fixed one problem the authentication error still exists. I finally found that Qt has a session manager that may be the real problem. Im still researching this.

Thanks for the suggestions.

I think we can let this thread die.

Gary


All times are GMT -5. The time now is 07:58 PM.