Or you *could* log in as root . . .

#

*chown debian:users /home/debian*
Then see if that works. If not, you can always backup the directory, remove
the debian user, then recreate the debian user, and home directory.
Something like this is a good reference for adding a new user.

https://www.debian-administration.org/article/2/Adding_new_users

reflashing the image will probably do the trick, but it teaches you nothing
about debian administration / management . . . it would be good if you
figure out what you did wrong, and correct it.

On Wed, Jun 3, 2015 at 6:56 AM, Robert Nelson <[email protected]>
wrote:

> On Wed, Jun 3, 2015 at 8:51 AM, Scott Evans <[email protected]> wrote:
> > Hello!  I have BBB that I've somehow hosed the permissions on my home
> > directory, so I can no longer log into it - when trying to ssh I'm
> getting a
> > permission denied.  This is an element14 unit with whatever Debian
> version
> > that came with it installed.  I (unwisely) never created another user
> > account on the box.  Is my only recourse at this point reflashing my BBB
> to
> > a new image, or is there a back door of some sort that I can use to SSH
> into
> > it, or at least mount the eMMC to see what's there and try and fix
> without
> > needing to reflash?
>
> There are a couple advanced ways, boot into single user mode, hack up
> permissions on the mounted sd card...
>
> Just reflash, it's painless and gets you back to the default state. ;)
>
> Regards,
>
> --
> Robert Nelson
> https://rcn-ee.com/
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to