Hi Josh,

> First, I'm having problems with backups.  When I try to create a full system 
> backup of "All /mnt/kd files", a few minutes pass after I click Download 
> Backup.  Once a file download window is presented to me by my browser, when I 
> try to initiate the download, the transfer immediately fails.  This happened 
> to me while I was on an Asterisk 11 build as well as when I recently switched 
> to a version 13 build.  I see this message in /var/log/messages:
> 
> daemon.err lighttpd[1155]: (chunk.c.581) write() temp-file 
> /var/tmp/lighttpd-upload-n2yPde failed:

I ran across this myself a couple weeks ago, introduced with lighttpd 1.4.40, 
the fix involves setting "server.stream-response-body = 2" and an upstream 
patch related to setting that.

https://sourceforge.net/p/astlinux/code/8274

Keep an eye out for our next pre-release version which will include that fix.


> Second, on a different system, I'm trying to implement SSH public/private 
> keys.  The root key placed in /mnt/kd/ssh_root_keys works just fine.  
> However, I'm having trouble getting keys to work with other user accounts.  
> When I try putting files in the /mnt/kd/ssh_keys folder (as mentioned in an 
> older list message), the key is refused when I try to login.  I restarted the 
> machine after I placed the keys.  I also tried putting the keys in 
> /mnt/kd/ssh since I see other keys there, no dice.

In order to use public/private keys for inbound "root" access to AstLinux you 
should place .pub files in "/mnt/kd/ssh_keys/" which are appended to 
/root/.ssh/authorized_keys .  We do this since by default /root/ is tmpfs based.

If you want "staff" user to be accessed via public/private keys, place the 
external public keys in the file: /home/staff/.ssh/authorized_keys (which is 
symlinked to /mnt/kd/home/staff/.ssh/authorized_keys)

BTW, The "/mnt/kd/ssh_root_keys/" are auto-generated for outbound "root" user 
ssh/scp etc. , and are copied to /root/.ssh/ .

> 
> I'm wondering if this is happening because of the way I created my user 
> accounts.  I used adduser; is that the appropriate way to create a new user 
> with Astlinux?

Yes, "adduser" is what you want to use.  BTW this may interest you as well ...

Restricted User Login
https://doc.astlinux-project.org/userdoc:tt_restricted_user_login

Lonnie


On May 6, 2017, at 4:36 PM, Josh <jma...@hotmail.com> wrote:

> I have two problems I'd like to ask for some help with.  Hopefully these are 
> both somewhat straightforward and I don't end up regretting trying to 
> accomplish this in one email rather than two:
> 
> First, I'm having problems with backups.  When I try to create a full system 
> backup of "All /mnt/kd files", a few minutes pass after I click Download 
> Backup.  Once a file download window is presented to me by my browser, when I 
> try to initiate the download, the transfer immediately fails.  This happened 
> to me while I was on an Asterisk 11 build as well as when I recently switched 
> to a version 13 build.  I see this message in /var/log/messages:
> 
> daemon.err lighttpd[1155]: (chunk.c.581) write() temp-file 
> /var/tmp/lighttpd-upload-n2yPde failed:
> 
> Just the basic config files save fine.  It seems like the backup is being 
> built in /mnt/kd.  Space isn't an issue there, but perhaps /tmp is filling 
> up?  I don't know how to see the backup file size so I can't be sure.
> 
> Filesystem           1K-blocks      Used Available Use% Mounted on
> rootfs                  516040     17052    472776   3% /
> /dev/root                 5846      5058       491  91% /oldroot
> devtmpfs                   512         0       512   0% /dev
> /dev/sda2               516040     17052    472776   3% /oldroot/mnt/asturw
> none                    109932    109932         0 100% /oldroot/mnt/asturo
> none                    516040     17052    472776   3% /
> none                     10000       132      9868   1% /tmp
> none                     10000       328      9672   3% /var
> /dev/sdb2             38774256  34321676   2482916  93% /mnt/usbhd
> /dev/sda3               207720     35518    161477  18% /mnt/kd
> /dev/sda1               261772    102384    159388  39% /oldroot/cdrom
> 
> If anybody can please suggest a way to fix this, please let me know!
> 
> Second, on a different system, I'm trying to implement SSH public/private 
> keys.  The root key placed in /mnt/kd/ssh_root_keys works just fine.  
> However, I'm having trouble getting keys to work with other user accounts.  
> When I try putting files in the /mnt/kd/ssh_keys folder (as mentioned in an 
> older list message), the key is refused when I try to login.  I restarted the 
> machine after I placed the keys.  I also tried putting the keys in 
> /mnt/kd/ssh since I see other keys there, no dice.
> 
> I'm wondering if this is happening because of the way I created my user 
> accounts.  I used adduser; is that the appropriate way to create a new user 
> with Astlinux?
> 
> Thanks,
> 
> Josh
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! 
> http://sdm.link/slashdot_______________________________________________
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
> 
> Donations to support AstLinux are graciously accepted via PayPal to 
> pay...@krisk.org.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Reply via email to