DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Security

OpenBSD Security Functionally paranoid!

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 6th February 2018
mbzadegan mbzadegan is offline
Port Guard
 
Join Date: Feb 2014
Posts: 25
Question OpenBSD user AutoLogin after boot?

Hi all,
How can I configure my OpenBSD to auto login (any user or root) after the boot sequence?
BTW, I don't access to any X window system and I need some terminal commands.
Thanks in advance.
Reply With Quote
  #2   (View Single Post)  
Old 6th February 2018
LeFrettchen's Avatar
LeFrettchen LeFrettchen is offline
Marveled user
 
Join Date: Aug 2012
Location: France
Posts: 405
Default

I think the easiest solution is to edit the /etc/rc.local file and add
Code:
su - <user>
But if you want a better solution, getty(8) should interest you.

I never tried to do that, so I cannot help you more than that...
__________________
ThinkPad W500 P8700 6GB HD3650 - faultry
ThinkStation P700 2x2620v3 32GB 1050ti 3xSSD 1xHDD
Reply With Quote
  #3   (View Single Post)  
Old 7th February 2018
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

Quote:
Originally Posted by mbzadegan View Post
How can I configure my OpenBSD to auto login (any user or root) after the boot sequence? ... I need some terminal commands..
If you know the commands to be executed, just create and use /etc/rc.local.

From the rc(8) man page:
Quote:
rc.local is executed towards the end of rc (it is not the very last as there are a few services that must be started at the very end). Normally, rc.local contains commands and daemons that are not part of the stock installation.
Reply With Quote
  #4   (View Single Post)  
Old 7th February 2018
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by mbzadegan View Post
How can I configure my OpenBSD to auto login (any user or root) after the boot sequence?
While I understand the convenience, I question the circumventing of security. What is the goal?
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
User Store, Auth, VPN and Multi-user apps/software montie OpenBSD Packages and Ports 9 9th January 2015 09:51 PM
FreeBSD user going to try OpenBSD Trihexagonal OpenBSD Packages and Ports 5 27th May 2012 08:55 PM
New OpenBSD User codeFreak OpenBSD General 3 18th February 2011 02:43 AM
How to Run K3B with normal user openBSD 4.4 mfaridi OpenBSD General 6 12th November 2008 10:25 PM
Dual-boot laptop won't boot OpenBSD after upgrade to 4.3 kbeaucha OpenBSD Installation and Upgrading 17 30th May 2008 02:40 PM


All times are GMT. The time now is 03:37 AM.


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