Web Hosting Forum | Lunarpages
News: July 14, 2008 - New Contest! - Submit Your WordPress Theme Designs, Win BIG!
August 25, 2008 - Time to Vote for the August 2008 Site of the Month!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
August 30, 2008, 03:07:07 AM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: Command shell results in su: incorrect password  (Read 2147 times)
Lupine1647
Berserker Poster
*****
Offline Offline

Posts: 10868


« on: March 11, 2007, 09:18:07 PM »

I recently upgraded glibc on my server cause some apps were wanting version 2.4 instead of version 2.2 that was on my server. The update went fairly smooth however, when i go to the command shell in webmin and try and execute anything or do anything it results in:
Quote
su: incorrect password

I've browsed around the net and tried disabling PAM access in webmin so it only looks up the shadow file however that did nothing.

I'm not sure if glibc upgrade caused this problem or if it was a problem before and the uograde just made it come out in the open. The terminals bundled with webmin wouldn't allow me to login to root for some odd reason (no error message given) so I suspect it was an issue before and just  became more of a problem after this upgrade.

Any help or insight would be appreciated Smile
Logged
perestrelka
Administrator
Master Jedi
*****
Offline Offline

Posts: 1014



« Reply #1 on: March 15, 2007, 04:45:31 AM »

Hi Ryan,

What exact command do you run in the command shell in webmin? Are you logged as non-privileged user when you are doing that?
Logged

Kind Regards,
Vlad Artamonov
Lupine1647
Berserker Poster
*****
Offline Offline

Posts: 10868


« Reply #2 on: March 15, 2007, 11:50:23 AM »

It can be any command (except some common ones such as cd and a few others). Commands such as ls, updatedb or even trying to run the configure file to install an app brings up that error. I'm logged in as root on webmin.
Logged
perestrelka
Administrator
Master Jedi
*****
Offline Offline

Posts: 1014



« Reply #3 on: March 16, 2007, 06:39:19 AM »


Are you able to login as root via ssh? Or to su to root if direct root login via ssh is disabled?
Logged

Kind Regards,
Vlad Artamonov
Lupine1647
Berserker Poster
*****
Offline Offline

Posts: 10868


« Reply #4 on: March 16, 2007, 07:04:15 PM »

Yep, it works fine if I do it via SSH. It only does it if I do it via Webmin :-\

I just tried uninstalling webmin and then reinstalling it (so that it would have fresh settings and all) and got the same results.
Logged
perestrelka
Administrator
Master Jedi
*****
Offline Offline

Posts: 1014



« Reply #5 on: March 21, 2007, 04:11:48 AM »

Hello,

Well, the only thing I can advise in such situation is to ask for help in Webmin community. I'm really sorry  Confused
Logged

Kind Regards,
Vlad Artamonov
Lupine1647
Berserker Poster
*****
Offline Offline

Posts: 10868


« Reply #6 on: March 21, 2007, 08:31:39 AM »

No worries. I'll ask there and see if a solution comes up.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM