LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-23-2014, 10:12 AM   #1
newlinux2014
LQ Newbie
 
Registered: Dec 2014
Posts: 7

Rep: Reputation: Disabled
Authentication token lock busy


My problem is I cant chg the pw due to passwd: Authentication token lock busy. I read up on chging the write access but nothing I tried has worked access from root user:
mount -o rw,remount
mount -n -o rw,remount
mount -n -o rw,remount / -force
mount -n -o rw,remount /(the directory of the pw etc/shadow -force

Any other options instead of rebooting the server?

Thanks---
 
Old 12-23-2014, 02:52 PM   #2
bucovaina78
Member
 
Registered: Oct 2004
Location: Belgium / Antwerp
Distribution: Debian
Posts: 287

Rep: Reputation: 33
I'm afraid I don't fully understand what you are trying to achieve. Can you try to be more specific? What are you trying to do and what is happening or not happening? Which distribution are you running?

You can manually reset a password in /etc/shadow

Read this: http://unix.stackexchange.com/questi...for-etc-shadow and you might want to read some of the manpages (perhaps on another linux machine if yours isn't working)
Code:
username@host:~$ man -k shadow
endspent (3)         - get shadow password file entry
fgetspent (3)        - get shadow password file entry
fgetspent_r (3)      - get shadow password file entry
getspent (3)         - get shadow password file entry
getspent_r (3)       - get shadow password file entry
getspnam (3)         - get shadow password file entry
getspnam_r (3)       - get shadow password file entry
gpasswd (1)          - administer /etc/group and /etc/gshadow
grpconv (8)          - convert to and from shadow passwords and groups
grpunconv (8)        - convert to and from shadow passwords and groups
gshadow (5)          - shadowed group file
lckpwdf (3)          - get shadow password file entry
login.defs (5)       - shadow password suite configuration
putspent (3)         - get shadow password file entry
pwconv (8)           - convert to and from shadow passwords and groups
pwunconv (8)         - convert to and from shadow passwords and groups
setspent (3)         - get shadow password file entry
sgetspent (3)        - get shadow password file entry
sgetspent_r (3)      - get shadow password file entry
shadow (5)           - shadowed password file
shadowconfig (8)     - toggle shadow passwords on and off
ulckpwdf (3)         - get shadow password file entry
update-passwd (8)    - safely update /etc/passwd, /etc/shadow and /etc/group
vigr (8)             - edit the password, group, shadow-password or shadow-group file
vipw (8)             - edit the password, group, shadow-password or shadow-group file
vos_shadow (1)       - Creates a shadow copy of a volume on a different server/partition
username@host:~$ man 5 shadow
Other than that?
  • Try tailing your log files in /var/log* (syslog, message, debug, secure, daemon, ... ).
  • Have a look at /etc/fstab? Is your root partition set up to remount RO if errors are detected?
  • What does mount -l show?
  • Is your root mounted as RO?
  • What does dmesg spit out?
  • Put the exact message between quotes in some search engine of your choice. I'm sure there will be a solution to your answer.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
passwd: Authentication token lock busy/ unable to chg to rw newlinux2014 LinuxQuestions.org Member Intro 0 12-22-2014 02:13 PM
Authentication error token rkaysi Linux - Newbie 1 01-30-2012 05:52 AM
Authentication token lock busy swissrunner Linux - Newbie 3 04-02-2010 05:45 PM
Secure authentication - OTP? Token? jantman Linux - Security 3 12-07-2007 01:27 AM
Authentication Token Manipulation Error lt_wentoncha Mandriva 2 08-09-2007 04:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration