View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 4 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: sudo problem
PostPosted: Mon Jul 12, 2004 12:57 am 
Offline
Joined: Fri Jul 09, 2004 1:25 pm
Posts: 5
Location: socal
I am having a problem with sudo from an xterm window. No matter what I do, it gives me a bad password error when I try to execute anything as root. I have tried every combination of passwords on the machine, made sure the caps lock was off(tried it on too, just to see if it did anything), but nothing makes a difference. I can hit [ctrl][alt][F1], and login in as root with the password without a problem, so I know I have the right password.

I even tried reinstalling fresh from the CD, and still the same result. Is there something else I am missing? I checked the FAQ, and didn't see anything about this, and found nothing when I searched here.

On a related note, are the passwords in linux only 8 characters long? I had a 10 character password for root the first time, and was able to type in just the first 8 characters, and it accepted my password at the login. Its been years since I messed with any linux systems, but it seems as though the passwords could be longer than that.

Thanks,
Brad


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 12, 2004 1:26 am 
Offline
Joined: Mon Feb 23, 2004 11:37 pm
Posts: 87
sudo doesn't use the root password, it uses the current user's password. If that doesn't work, you will need to add that user into the /etc/sudoers also try man sudo should help you a bit more also


Top
 Profile  
 
PostPosted: Fri Jan 27, 2006 5:32 pm 
Offline
Joined: Mon Jun 13, 2005 10:39 pm
Posts: 42
I merely exited, then logged in as root, then I was able to install /usr/share/doc/...... and it worked!


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 28, 2006 12:23 am 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
just for future reference knoppmyth is not built around sudo like some distros like ubuntu. In knoppmyth you just su then enter the root password to execute programs as root.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu