Displaying 3 results from an estimated 3 matches for "alast".
Did you mean:
last
2020 Jun 14
2
Modifying username
I modified a users name on my system. From ABCLast, to ALast (used as an example).
I modified the username, then the group name of the user (to align with the new name), and then I
moved the users home directory from /home/ABCLast, to /home/ALast. Then using vipw, edited the
home directory to use /home/ALast.
When I got finished editing the passwd file, I...
2020 Jun 14
5
Modifying username
...;> I don't know what to do here. Need some guidance please.
>
>
> Run "vipw -s" and make the same change to that file's record for ABCLast.
>
In /etc/passwd the directory was shown in plain text. So I just moved over in the line and
changed /home/ABCLast to /home/ALast. Saved file, and exited.
I don't see a directory name in /etc/shadow using 'vipw -s'
Jay
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
2020 Jun 14
0
Modifying username
...ed some guidance please.
>>
>>
>> Run "vipw -s" and make the same change to that file's record for
>> ABCLast.
>>
>
> In /etc/passwd the directory was shown in plain text. So I just
> moved over in the line and changed /home/ABCLast to /home/ALast.
> Saved file, and exited.
>
> I don't see a directory name in /etc/shadow using 'vipw -s'
>
The /etc/shadow file doesn't have the user directory information,
rather the username and the password (and some other bits - man
shadow for the details). With the /etc/passwd...