|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
||||
using 'usermod'
I had a problem with the original user, that was setup in the default install, and was not able to login any more, so I deleted that user:
Code:
# userdel garry Ok, then used: Code:
# adduser Code:
/home/garry/garry has all my files, etc and seems fine, but when I try to move or remove, the empty dir , again, "garry" can no longer login. Looking at 'man usermod' : Quote:
Seems straight forward, but I seem to be not getting the syntax right,... for example I tried: Code:
# usermod -d garry /home/garry Code:
# usermod -dm /home/garry garry So anyway, I want to try to get it to where I just have /home/garry , and garry can still log in, but it appears the second dir /home/garry/garry is essential to me being able to login in, so what is the best way to remove that, and just have 1 dir. "garry" ? Thanks
__________________
My best friends are parrots |
|
||||
Ok, thanks
__________________
My best friends are parrots |
|
|