Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 2nd August 2010, 02:51 PM
acpuck1 Offline
Registered User
 
Join Date: Aug 2010
Posts: 6
windows_7chrome
AFS: Passwords aren't consistent with root.

We use a Linux server with AFS on it. I changed the linux root password using passwd. The new password will let me log in as root but when I try to change the AFS admin password it asks for the root password. When I put in the password that it let me log in as root. It tells me authentication failed. And when I run the password command with -admin admin, it asks for the admin password. I put in the admin password that worked before I changed the root and it says authorization failed.
Reply With Quote
  #2  
Old 2nd August 2010, 03:13 PM
jpollard Online
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,108
linuxfedorafirefox
Re: AFS: Passwords aren't consistent with root.

It isn't using the local root password. It is using a root password for Kerberos.

Totally different thing.

Make sure you are using the correct password program. I've seen difficulties where
the Kerberos password program was installed and named "passwd". This has
been known to cause confusion. (The linux passwd program doesn't have "-admin"
as an option.)

It has been a while, but I think the "root" AFS password is the admin password.

Also - you can/will get an AFS authorization failed message if the login needs
AFS access, but didn't get it during login - try running aklog manually and see
what happens.

Normally, root (the Linux one) doesn't/shoudn't get AFS credentials. It can, but you
would have to use kinit to get a Kerberos TGT (a user credential), then use aklog to
get user level AFS access.

Using su to the local root can pass user credentials to root (depending on the
Kerberos implementation used), but doesn't have to.

Last edited by jpollard; 2nd August 2010 at 03:15 PM.
Reply With Quote
  #3  
Old 2nd August 2010, 03:47 PM
acpuck1 Offline
Registered User
 
Join Date: Aug 2010
Posts: 6
windows_7chrome
Re: AFS: Passwords aren't consistent with root.

Thanks for the quick answer!

Then why does the old admin password not work anymore?

I was able to use the password that was set before I took this job before I changed root on the server.
Reply With Quote
  #4  
Old 2nd August 2010, 11:44 PM
jpollard Online
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,108
linuxfedorafirefox
Re: AFS: Passwords aren't consistent with root.

You might check:

http://docs.openafs.org/AdminGuide/ch12s03.html

to see if something there sounds familiar to your problem. It is possible that when
the passwd entry changed, it changed something that should have been consistent
with the afs identity system.
Reply With Quote
  #5  
Old 3rd August 2010, 02:04 PM
acpuck1 Offline
Registered User
 
Join Date: Aug 2010
Posts: 6
windows_7chrome
Re: AFS: Passwords aren't consistent with root.

Ok, so I guess my real question is:

How do I reset or find my AFS admin password?
Reply With Quote
  #6  
Old 4th August 2010, 12:51 AM
jpollard Online
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,108
linuxfedorafirefox
Re: AFS: Passwords aren't consistent with root.

Try reading over

http://en.gentoo-wiki.com/wiki/OpenA...h_MIT_Kerberos

From it, the AFS admin is a Kerberos administrator - it needs to be able to create
principals for hosts and for the AFS cell.

And unless somebody wrote it down, you won't find an AFS password - they are
stored only as encrypted entries. It will take a Kerberos administrator to change
the password.
Reply With Quote
Reply

Tags
afs, passwords, root

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sha1sum on cd iso is wrong, but consistent Quartonite Installation and Live Media 7 23rd January 2010 01:16 PM
Is this data consistent? Jongi Using Fedora 7 24th January 2007 08:40 AM
Is there a way to recover root passwords? Fault Using Fedora 9 2nd August 2006 02:05 AM
A way to deploy new root passwords? tashirosgt Security and Privacy 3 23rd October 2005 05:02 AM
two root passwords mufeed_usman Security and Privacy 9 22nd January 2005 04:50 AM


Current GMT-time: 03:53 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

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 Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat