Fedora Linux Support Community & Resources Center
Sections ›› Home | Forums | Guidelines | Forum Help | Fedora FAQ | Fedora News 

Go Back   FedoraForum.org > Fedora Support > Servers

Servers The place to discuss any Fedora server problems you may have.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 2004-09-15, 05:11 AM CDT
dave_kimberley's Avatar
dave_kimberley Offline
Registered User
 
Join Date: Aug 2004
Location: Whitley - Coventry
Age: 26
Posts: 29
Question SU and SSH not working.. HELP!!!

Hi,

If I try to SSH to my server as root, everything is fine, however if I use any other account, I will be logged in, but then kicked out.

When I try to su - to a user from root, I recieve the below:

su: warning: cannot change directory to /home/tas: Permission denied
su: /bin/bash: Permission denied


The below is also shown within /var/log/secure

Sep 15 12:05:27 tas su: pam_succeed_if: requirement "uid < 100" not met by user "tas"

I am using FC2 with kernel 2.6.8-1.521

Please can some one help, this is driving me mad..
__________________
Dave Kimberley
------------------

RHCE - RHEL3 - RHEL4 & RHEL5
CCNA
Reply With Quote
  #2  
Old 2004-09-15, 05:14 AM CDT
superbnerd
Guest
 
Posts: n/a
did you have problems before 2.6.8. this kernel is known to cause all sort of problems, but it shouldn't affect ssh.
Reply With Quote
  #3  
Old 2004-09-15, 05:16 AM CDT
dave_kimberley's Avatar
dave_kimberley Offline
Registered User
 
Join Date: Aug 2004
Location: Whitley - Coventry
Age: 26
Posts: 29
I have just completed a fresh install, and everything was working fine. Upto about 1hr ago.
__________________
Dave Kimberley
------------------

RHCE - RHEL3 - RHEL4 & RHEL5
CCNA
Reply With Quote
  #4  
Old 2004-09-15, 05:35 AM CDT
jcstille Offline
Administrator
 
Join Date: May 2004
Location: Raleigh, NC
Posts: 742
what user id are you using?
__________________
E-mail: jcstille@gmail.com
FedoraForum.org Administrator

Please read the Guidelines
So these are the people FedoraForum.org Here and their Blogs


My Blog <-Where I let you know whats going on
Reply With Quote
  #5  
Old 2004-09-15, 05:42 AM CDT
dave_kimberley's Avatar
dave_kimberley Offline
Registered User
 
Join Date: Aug 2004
Location: Whitley - Coventry
Age: 26
Posts: 29
I am root trying to su to tas, a user I have created. However from reviewing log files, any su attempt is not working.
__________________
Dave Kimberley
------------------

RHCE - RHEL3 - RHEL4 & RHEL5
CCNA
Reply With Quote
  #6  
Old 2004-09-15, 07:02 AM CDT
jeru Offline
Registered User
 
Join Date: May 2004
Location: Arizona
Posts: 119
Maybe a file permission problem?

what does
ll /home
return?

if it is not tas as the owner;

ssh in as root, then try
chown -R tas:tas /home/tas

First error obviously looks like a file permission problem, but the second I think should not be there if it did in fact authenticate as he should still have access to /bin/bash. But it might be worth a look/try?
Reply With Quote
  #7  
Old 2004-09-15, 10:41 AM CDT
dave_kimberley's Avatar
dave_kimberley Offline
Registered User
 
Join Date: Aug 2004
Location: Whitley - Coventry
Age: 26
Posts: 29
I have changed the permissions on /home/tas, but I still get the below error when I try to su to the user

su: /bin/ksh: Permission denied

I have tried to change the shell within /etc/passwd and still the same error, just with the other shell.

I have also added another user, it seems that this problem occurs with any??

Please, any one seen this before?
__________________
Dave Kimberley
------------------

RHCE - RHEL3 - RHEL4 & RHEL5
CCNA
Reply With Quote
  #8  
Old 2004-09-15, 10:45 AM CDT
dave_kimberley's Avatar
dave_kimberley Offline
Registered User
 
Join Date: Aug 2004
Location: Whitley - Coventry
Age: 26
Posts: 29
FIXED!!!!!!

For some strange reason, the /bin directory had 700 permissions?? Back to 755.

Thanks everyone..
__________________
Dave Kimberley
------------------

RHCE - RHEL3 - RHEL4 & RHEL5
CCNA
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
F8: Mic not working, sound not working, pulseaudio IS working... garbagio7 Hardware 0 2008-04-05 03:06 PM CDT
after working fine for a year, server stops working & displays weird symptoms. nkoplm Servers 3 2007-05-05 03:42 PM CDT
Problem getting my wireless card working on my Dell Inspiron 2200 working doubled Hardware 3 2006-08-24 07:30 PM CDT
Fedora 5 - amsn not working, flash not working, java not working =*> try this snecci General Support 6 2006-04-27 04:38 AM CDT
Fedora 5 - amsn not working, flash not working, java not working =*> try this snecci General Support 0 2006-04-04 11:50 PM CDT

Automatic Translations (Powered by Powered by Google):
Afrikaans Albanian Arabic Belarusian Bulgarian Catalan Chinese Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician German Greek Hebrew Hindi Hungarian Icelandic Indonesian Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Taiwanese Thai Turkish Ukrainian Vietnamese Yiddish

All times are GMT -7. The time now is 11:04 PM CST.

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
Hosting provided by ThePlanet



All trademarks, and forum posts in this site are property of their respective owner(s).

FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact | Founding Members
Designed By Ewdison Then | Powered by vBulletin ©2000-2009, Jelsoft Enterprises Ltd.
FedoraForum is Powered by Open Source Projects and Products
vB Enterprise Translator (vBET) by NLP-er