On Fri, 2017-02-17 at 06:31 -0600, Lonnie Abelbeck wrote: > Armin, Lonnie,
thanks! > It is a permissions thing ... > > vi creates a temp file in /var/tmp/ which is only writable by root, > so it exits for non-root users. > > Though "nano" works for non-root users. Good enough for editing > ~/.bash_profile . > > Additionally, our new upstream "restricted" users using /bin/rbash > can't edit at all, so not an issue there. > > Lonnie > > > > On Feb 17, 2017, at 1:19 AM, Armin Tüting <armin.tueting@tueting-onli > ne.com> wrote: > > > Greetings. > > > > I'm unable to edit a simple text file as non-root. vi > > ~/.bash_history > > returns back to the shell. > > > > $ stat ~/.bash_profile > > File: '/home/admin/.bash_profile' -> 'dotfiles/bash/profile' > > Size: 21 Blocks: 0 IO Block: > > 4096 symbolic > > link > > Device: 803h/2051d Inode: 138453 Links: 1 > > Access: (0777/lrwxrwxrwx) Uid: (50001/ admin) Gid: > > (50001/ admin) > > Access: 2016-11-22 18:24:59.000000000 > > Modify: 2015-01-22 09:45:03.000000000 > > Change: 2016-11-22 18:24:59.000000000 > > > > Any hints? > > > > Regards, > > Armin. > > > > ----------------------------------------------------------------- > > ------------- > > 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 p > ay...@krisk.org. -- Armin Tüting --- PGP-KeyID: 0xD0F0E6C2 +49-6185-898685 --- eMail: armin.tuet...@tueting-online.com ------------------------------------------------------------------------------ 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.