- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: change passwd
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
Discussions
Discussions
Discussions
Forums
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
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
тАО06-14-2006 12:40 PM
тАО06-14-2006 12:40 PM
change passwd
I have problem to change passwd for user.
I've tried to change passwd for user.
when it runs, some error logged like this.
#[root@mail root]# passwd affis
Changing password for user affis
passwd: Authentication token manipulation error
Jun 14 13:32:36 mail sshd[2294]: error: Could not get shadow information for affis
Jun 14 13:32:36 mail sshd[2294]: Failed password for affis from 211.237.50.12 port 35070 ssh2
what might be the problem?
send your opinion. as fast as possible.
thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-14-2006 05:35 PM
тАО06-14-2006 05:35 PM
Re: change passwd
as I can see you are trying to change password for user affis over ssh connection?
I think should check is there some line in /etc/shadow connected with affin user ( it must be ) , and of course check /etc/ssh/sshd_config to see is there some parameter which restrict password changing over ssh connection.
Best wishes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-14-2006 05:56 PM
тАО06-14-2006 05:56 PM
Re: change passwd
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2006 01:13 PM
тАО06-15-2006 01:13 PM
Re: change passwd
it works fine. boht file has owner root, group root permission.
and checked the /etc/ssh/sshd_config file.
can you point out which options in the sshd_config file to block to change passwd via connecting ssh.
================
Here is additional problem.
I can't add user affis.
when i run command, it prints out like this.
[root@mail root]# useradd affis
useradd: user affis exists
so I switched user from root to affis
but it switched the user affis. though it has no affis accounts in /etc/passwd /etc/shadow file.
[root@mail root]# su - affis
sh-2.05$ id
uid=42000(affis) gid=65535 groups=65535
sh-2.05$
I think some sort of complexed problem is in it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2006 03:30 PM
тАО06-15-2006 03:30 PM
Re: change passwd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2006 04:02 PM
тАО06-15-2006 04:02 PM
Re: change passwd
If the user is not listed in /etc/passwd then I would edit that file to create the account manually. Here is an example:
steve:x:500:100:Steve:/home/steve:/bin/bash
The fields are:
1: Username
2: Always "x" (I suppose this field was once used for the password)
3: Userid: A unique number, but similar to other users' id's.
4: Group id: Same as the other users.
5: User's real Name
6: User's home directory
7: Login shell.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2006 01:20 AM
тАО06-19-2006 01:20 AM
Re: change passwd
then you are using LDAP, NIS+, or some
other system for authentication of that user.
They may not have appropriate permissions
to change the password from that server.
If they are listed there, then add an entry
to /etc/shadow if it is missing.
passwd should be setuid.