comparable command in OpenBSD for linux's "passwd -l (name)"


 
Thread Tools Search this Thread
Operating Systems BSD comparable command in OpenBSD for linux's "passwd -l (name)"
# 1  
Old 09-09-2003
comparable command in OpenBSD for linux's "passwd -l (name)"

i'm trying to get a samba server up and running.

however, there is no argument in OpenBSD's "passwd" command that i know of that will allow the following:

Code:
-l     This option is used to lock the  specified  account
	and  it  is  available to root only. The locking is
	performed by rendering the encrypted password  into
	an  invalid  string  (by prefixing  the encrypted string 
                with an !).

# 2  
Old 09-11-2003
so no one knows eh? Smilie

well i figured it out if anyone is interested.

you simply need to edit the password using vipw... just put in some asci characters and it'll do it

so with me... i put *LOCKED* and that does what the " -l " does in linux
Login or Register to Ask a Question

Previous Thread | Next Thread

2 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

2. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
Login or Register to Ask a Question