LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 10-01-2012, 02:15 AM   #1
arun5002
Member
 
Registered: Aug 2011
Location: Chennai,India
Distribution: Redhat,Centos,Ubuntu,Dedian
Posts: 549
Blog Entries: 5

Rep: Reputation: Disabled
How to edit PAM DB of VSFTPD (..add user, delete user, change user password )


Hi

I followed the below link to configure vsftpd virtual user configuration using pam db
But i have few problem how can i add modify the password & add new user to vsftpd-virtual-user.db.

problem facing off

Whether i have to drop the old vsftpd-virtual-user.db and create a new vsftpd-virtual-user.db

how can i migrate all users in my old vsftpd-virtual-user.db to new vsftpd-virtual-user.db file

http://www.cyberciti.biz/tips/centos...ual-users.html
 
Old 10-02-2012, 08:49 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 26,999
Blog Entries: 54

Rep: Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745
Quote:
Originally Posted by arun5002 View Post
how can i add modify the password & add new user to vsftpd-virtual-user.db.
Both actions require you to rebuild the database as far as I'm aware.


Quote:
Originally Posted by arun5002 View Post
how can i migrate all users in my old vsftpd-virtual-user.db to new vsftpd-virtual-user.db file
I don't know of any other way than just dumping the database with 'db_dump -p' and parsing the output. It will have user names and logins on alternating lines just like in the original input file.
 
  


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
Create user add file with default password and force user to change it? Morgandy Linux - Newbie 3 02-02-2010 05:06 PM
samba(global security=user) useful tools for client.ex: user change password. hocheetiong Linux - Newbie 1 03-18-2008 09:20 AM
PAM: user{add,del} asks for password systemparadox Linux - Security 1 11-19-2005 03:59 PM
Help! Cannot Add a User to User Manager or Change Root Password lennysokol Linux - General 2 06-25-2005 09:59 AM
what is the command to make a user change their password after creating a new user? naweenio Linux - Newbie 7 01-05-2005 07:07 AM


All times are GMT -5. The time now is 01:55 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration