DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Security

OpenBSD Security Functionally paranoid!

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 31st July 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default a question about encryption .. adduser/useradd

hello !

When the -encryption flag isn't stated after adduser, what's the default encryption applied to a new user's password ?

The useradd utility doesn't have such a flag.. is blowfish the default when nothing is stated ?
Reply With Quote
  #2   (View Single Post)  
Old 31st July 2012
denta denta is offline
Fdisk Soldier
 
Join Date: Nov 2009
Posts: 73
Thanked 0 Times in 0 Posts
Default

Check login.conf(5) and /etc/login.conf. Look for "localcipher".
Reply With Quote
  #3   (View Single Post)  
Old 31st July 2012
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,878
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by daemonfowl View Post
When the -encryption flag isn't stated after adduser, what's the default encryption applied to a new user's password ?
Per the adduser(8) manpage:
Code:
     -encryption, -e method
             Encrypt local passwords using method of encryption as described
             in login.conf(5).  If method is ``auto'', the encryption type
             will be derived from the user's login class.
Quote:
The useradd utility doesn't have such a flag.. is blowfish the default when nothing is stated ?
Look at login.conf(5).
Reply With Quote
  #4   (View Single Post)  
Old 1st August 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default

denta ,ocicat , thank you !
Code:
 :localcipher=blowfish,6:\
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Security: Encryption: Disk Encryption eurovive Other BSD and UNIX/UNIX-like 17 6th March 2010 04:09 AM
Question about the password encryption scheme aleunix NetBSD General 2 13th December 2009 08:17 PM
softraid encryption Sunnz OpenBSD Security 6 24th September 2009 04:58 AM
Installing FreeBSD and encryption? neurosis FreeBSD Security 1 1st November 2008 05:51 PM
encryption during rsync gkontos General software and network 7 13th June 2008 10:08 AM


All times are GMT. The time now is 09:17 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick