- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: passwd: Authentication token manipulation erro...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2006 05:51 AM
03-28-2006 05:51 AM
passwd: Authentication token manipulation error
passwd: Authentication token manipulation error
Any ideas.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2006 05:57 AM
03-28-2006 05:57 AM
Re: passwd: Authentication token manipulation error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2006 06:05 AM
03-28-2006 06:05 AM
Re: passwd: Authentication token manipulation error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2006 06:18 AM
03-28-2006 06:18 AM
Re: passwd: Authentication token manipulation error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2006 06:27 AM
03-28-2006 06:27 AM
Re: passwd: Authentication token manipulation error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2006 07:12 AM
03-28-2006 07:12 AM
Re: passwd: Authentication token manipulation error
This is 1 situation is which this error occurs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2006 07:26 AM
03-28-2006 07:26 AM
Re: passwd: Authentication token manipulation error
What I mean is that running system-config-authentication you can configure the pam settings for the files located in /etc/pam.d.
In /etc/nsswitch.conf you should have something like this:
passwd: files nis
shadow: files nis
group: files nis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2006 07:46 AM
03-28-2006 07:46 AM
Re: passwd: Authentication token manipulation error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2006 08:49 PM
03-28-2006 08:49 PM
Re: passwd: Authentication token manipulation error
So you're able to login with your user account (and not just "su" from root), but cannot change password using "passwd"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2006 12:52 AM
03-29-2006 12:52 AM
Re: passwd: Authentication token manipulation error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2006 01:13 AM
03-29-2006 01:13 AM
Re: passwd: Authentication token manipulation error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2006 01:32 AM
03-29-2006 01:32 AM
Re: passwd: Authentication token manipulation error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2006 03:41 AM
03-29-2006 03:41 AM
Re: passwd: Authentication token manipulation error
"grep passwd /etc/nsswitch.conf"
- is it possible to change root's password?
- is root able to change user's password?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2006 03:47 AM
03-29-2006 03:47 AM
Re: passwd: Authentication token manipulation error
"grep passwd /etc/nsswitch.conf"
[root@rhel012 u]# grep passwd /etc/nsswitch.conf
#passwd: db files ldap nis
passwd: files
- is it possible to change root's password?
yes
- is root able to change user's password?
yes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2006 04:16 AM
03-29-2006 04:16 AM
Re: passwd: Authentication token manipulation error
rpm -V passwd
command. Output of this command should be empty if everything is OK.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2006 04:49 AM
03-29-2006 04:49 AM
Re: passwd: Authentication token manipulation error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2006 06:00 AM
03-29-2006 06:00 AM
Re: passwd: Authentication token manipulation error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2006 08:23 AM
03-29-2006 08:23 AM
Re: passwd: Authentication token manipulation error
Is it possible you never set an initial password for the users you created with root ?
Try first setting a password with root for
the users you created.
Login with one of the created users and try passwd then.
Hope this helps.
S.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2006 12:34 AM
03-30-2006 12:34 AM
Re: passwd: Authentication token manipulation error
Possible... but not the case. I create the id, set the password, log in for the first time using that password, go to change the password, and then I get the error:
passwd: Authentication token manipulation error
thx
Is it possible you never set an initial password for the users you created with root ?
Try first setting a password with root for
the users you created.
Login with one of the created users and try passwd then.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2006 01:11 AM
03-30-2006 01:11 AM
Re: passwd: Authentication token manipulation error
Check permissions for the /etc/passwd and /etc/shadow file.
/etc/passwd root.root -rw-r--r--
/etc/shadow root.root -r--------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2006 02:15 AM
03-30-2006 02:15 AM
Re: passwd: Authentication token manipulation error
-r-------- 1 root root 1958 Mar 30 09:40 /etc/shadow
Creating ID and changing password:
/var/log/secure
Mar 30 09:40:55 rhel012 useradd[21436]: new user: name=cognos, uid=206, gid=306, home=/home/cognos, shell=/bin/ksh
/var/log/messages
Mar 30 09:40:55 rhel012 passwd(pam_unix)[21439]: password changed for cognos
ssh'ing into server (as cognos) with above id and password previously created:
/var/log/secure (after logging in as cognos)
Mar 30 09:43:49 rhel012 sshd[21487]: Accepted password for cognos from ::ffff:10.160.11.75 port 35769 ssh2
/var/log/messages (after logging in as cognos)
Mar 30 09:43:49 rhel012 sshd(pam_unix)[21490]: session opened for user cognos by (uid=0)
attempting to change cognos' password as cognos:
$ passwd
Changing password for user cognos.
Changing password for cognos
(current) UNIX password:
passwd: Authentication token manipulation error
/var/log/secure (no new messages)
/var/log/messages
Mar 30 09:48:32 rhel012 passwd(pam_unix)[21582]: authentication failure; logname=cognos uid=206 euid=0 tty=pts/1 ruser= rhost= user=cognos
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2006 02:28 AM
03-30-2006 02:28 AM
Re: passwd: Authentication token manipulation error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2006 02:40 AM
03-30-2006 02:40 AM
Re: passwd: Authentication token manipulation error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2006 02:55 AM
03-30-2006 02:55 AM
Re: passwd: Authentication token manipulation error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2006 03:02 AM
03-30-2006 03:02 AM
Re: passwd: Authentication token manipulation error
#%PAM-1.0
auth required pam_stack.so service=system-auth
account required pam_stack.so service=system-auth
password required pam_stack.so service=system-auth
[root@rhel012 ~]#
[root@rhel012 ~]# cat /etc/pam.d/system-auth
#%PAM-1.0
# This file is auto-generated.
# User changes will be destroyed the next time authconfig is run.
auth required /lib/security/$ISA/pam_env.so
auth sufficient /lib/security/$ISA/pam_unix.so likeauth nullok
auth required /lib/security/$ISA/pam_deny.so
account required /lib/security/$ISA/pam_unix.so
account sufficient /lib/security/$ISA/pam_succeed_if.so uid < 100 quiet
account required /lib/security/$ISA/pam_permit.so
password requisite /lib/security/$ISA/pam_cracklib.so retry=3
password sufficient /lib/security/$ISA/pam_unix.so nullok use_authtok md5 shadow
password required /lib/security/$ISA/pam_deny.so
session required /lib/security/$ISA/pam_limits.so
session required /lib/security/$ISA/pam_unix.so
[root@rhel012 ~]#