INTL 3:770/1 3:770/3   
   REPLYADDR pbyabmle@4wrd.cc   
   REPLYTO 3:770/3.0 UUCP   
   MSGID: f3d46b8b   
   REPLY: <65b421ff@news.ausics.net> 4b5b0523   
   PID: SoupGate-Win32 v1.05   
   On 1/26/2024 16:20, Computer Nerd Kev wrote:   
   > Chris Green wrote:   
   >> I am getting very frustrated by stupid 'security'. I simply want to   
   >> install a new OS on a headless Pi and it's very close to impossible.   
   >>   
   >> I first tried to download an image and install it. OK, it works but I   
   >> can't log in because ther eis no longer a default user/password there   
   >> even though I have enabled ssh.   
   >>   
   >> I can't us Pi Imager because it's very broken on Ubuntu:-   
   >   
   > There is a way to set a user up in a "userconf.txt" file described   
   > here:   
   > https://www.raspberrypi.com/documentation/computers/configurat   
   on.html#remote-access   
   >   
   > Another option would be to copy the /etc/passwd, /etc/shadow, and   
   > /etc/group files from a similar existing RPi system while the OS   
   > file system on the SD card is mounted at a Linux PC. Or you could   
   > edit them manually and even create a user who doesn't need a   
   > password at all.   
   >   
   >> For goodness sake what awful earth shattering disasters are going to   
   >> occur if I do create a Pi installation with default username and   
   >> password?   
   >>   
   >> This is getting &(^(^$^&(*^^$&^^%(* ridiculous!!!!!!!   
   >   
   > I agree, they're trying too hard to save users from themselves in   
   > case someone leaves their RPi open to incoming SSH connections on   
   > the internet. But most obviously won't do that.   
   >   
      
   It would be easy enough to force the user to change the password at   
   first boot, that's what some of the other distributions for SBCs do.   
   Armbian, in particular, gives you root at boot but you have to set a   
   password that isn't the default "1234".   
      
   Removing the user altogether seems to be the nuclear option, especially   
   if you got used to setting up headless devices.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)   
   SEEN-BY: 10/0 1 15/0 90/1 103/705 105/81 106/201 128/260 129/305 135/225   
   SEEN-BY: 153/757 7715 218/0 1 601 700 840 870 930 220/70 221/1 6 226/17   
   SEEN-BY: 226/30 100 227/114 229/110 112 113 200 206 307 317 400 426   
   SEEN-BY: 229/428 470 550 616 664 700 240/1120 266/512 267/800 282/1038   
   SEEN-BY: 291/111 292/854 301/1 113 812 310/31 320/219 322/757 335/364   
   SEEN-BY: 341/66 342/200 396/45 460/58 633/280 712/848 770/1 3 100   
   SEEN-BY: 770/330 340 772/210 220 230 5020/400 1042 5058/104 5075/35   
   PATH: 770/3 1 218/840 221/6 301/1 218/700 229/426   
      
|