Jim wrote:
m wrote:
> Jim wrote:
>> Tim wrote:
>>> On Tue, 2009-03-31 at 19:46 -0400, Jim wrote:
>>>
>>>> How would i write down sequence of each USER, so this won't happen
>>>> next time I upgrade this Box ??
>>>>
>>>
>>> ls -n /home
>>>
>>> See the user and group numbers instead of names? Use the same numbers
>>> when creating new users. You can manually pick numbers when you
>>> create
>>> new users, or if the IDs all go upwards sequentially from 500, simply
>>> create the first user who has ID 500, then create the next user and
>>> they'll get the next highest number, you just have to pick the
>>> names in
>>> the right sequence.
>>>
>>>
>> Right now the first number doesn't start at 500, it starts at 502.
>> How do you manully put the numbers in as you add users:groups ?
>>
> man useradd , its the -u option as I recall.
>
> or
>
> you can specify it in the GUI for Users and Groups.
>
Thanks very much for the info.
Jim
Or make a copy of /etc/passwd, /etc/group and /etc/shadow before the
upgrade. Then you can cut/paste all the pertinent info into those files
after the upgrade so the users get the same UID, GID and password.
--
Stephen Berg
Systems Administrator
NRL Code: 7321
Office: 228-688-5738
stephen.berg.ctr(a)nrlssc.navy.mil