Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 09-13-2003, 08:15 PM   #1
Registered: Oct 2002
Location: ~ohio
Distribution: Debian
Posts: 36

Rep: Reputation: 15

I know this may sound trivial, but I am just curious as to why 'mkpasswd' fails to function in Slackware--

When I run the 'mkpasswd' command/program here is the error output:
mkpasswd: no DBM database on system - no action performed

Now, I know I did a "full" Slack if anyone could tell me how to make this work or what I am missing. TIA.

Old 09-13-2003, 09:21 PM   #2
LQ Newbie
Registered: Sep 2003
Location: Brisbane, AUS
Distribution: Slackware
Posts: 14

Rep: Reputation: 0
That's the ouput you'll get if you run 'mkpasswd' without any parameters. From the 'man' file:

mkpasswd - Update passwd and group database files

mkpasswd [-fvgps] file

mkpasswd reads the file in the format given by the flags and converts it to
the corresponding database file format. These database files are used to
improve access performance on systems with large numbers of users. The
output files will be named file.dir and file.pag.

Unless you're running a server with a lot of users, you probably don't really need to convert your 'passwd' files to a DB format.

Old 09-13-2003, 09:26 PM   #3
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
If your just wanting to update or change one user or group, I'd suggest just using the regular commands to do this like:

passwd <username>
usermod <username>
groupmod <group>

And so on....


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
mkpasswd in Debian swmok Debian 4 06-05-2005 07:30 PM
Using mkpasswd with passwd lapthorn Linux - Security 2 02-23-2005 07:53 AM
mkpasswd/group? vickr1z Linux - Newbie 0 09-23-2004 02:52 PM
mkpasswd LinuxRam Linux - Security 1 08-24-2004 03:24 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:00 AM.

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