- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Authentication token manipulation error .. when cr...
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
10-02-2004 06:41 AM
10-02-2004 06:41 AM
I tried to create users manually
I did the following
1. vi /etc/passwd and add a line
maaz:x:625:625::/home/maaz:/bin/bash
2. vi /etc/group and add a line
maaz:x:625:
3. mkdir /home/maaz
4. chown maaz.maaz /home/maaz
5. then copy /etc/skel/* to the /home/maaz
but when I type
6. passwd maaz
[root@linux101 root]# passwd maaz
Changing password for user maaz.
passwd: Authentication token manipulation error
Any1 any ideaz
Thanks in anticipation
Regards
Maaz
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2004 04:52 PM
10-02-2004 04:52 PM
SolutionThere are three files that are updated when a user is added with the useradd command.
/etc/passwd # user list
/etc/group # a group is added
/etc/shadow # encrypted password file.
useradd helps with this. I've done it the manual way. So long as you do all 3 files and don't have a conflict in the numeric id numbers it can be done.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2004 06:04 PM
10-02-2004 06:04 PM
Re: Authentication token manipulation error .. when creating user manually
you can use the authconfig utility to unselect the "shadow passwords" option and then you won't have to edit the /etc/shadow file when adding users,otherwise Steve's way is necessary.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2004 05:26 AM
10-03-2004 05:26 AM
Re: Authentication token manipulation error .. when creating user manually
Regards
Maaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2004 05:55 AM
10-04-2004 05:55 AM
Re: Authentication token manipulation error .. when creating user manually
U can edit the passwd file
vi /etc/passwd and add the user id
then edit group file
vi /etc/group and append the user to a group or create a new group
do a pwconv
then do a passwd
it should come back and say all token syncrinised sucessfully.
Dont forget to create the home directory with the required permission with ownership and group privelege
Hope this helps
Rgds
Gopi