LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



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

Rep: Reputation: 15
mkpasswd


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 install...so if anyone could tell me how to make this work or what I am missing. TIA.

JM
 
Old 09-13-2003, 10:21 PM   #2
theSuperJason
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:

NAME
mkpasswd - Update passwd and group database files

SYNOPSIS
mkpasswd [-fvgps] file

DESCRIPTION
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.

TSJ
 
Old 09-13-2003, 10:26 PM   #3
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
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....
 
  


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


All times are GMT -5. The time now is 01:10 PM.

Main Menu
Advertisement
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