[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Renaming a User



>>> I was wondering if it's possible to quickly and easily switch a
>>> username on a samba controlled domain.

>> sure but you'd have to change...
>>
>> /etc/passwd (or wherever user accounts are stored)
>> /etc/shadow (or wherever user passwords are stored)
>> the users $HOME directory
>> smbpasswd (or tdbpassdb or wherever samba user accounts/passwords are
>> stored)

Also, if you are using locally stored email, check for files under
/var/spool/mail, and rename them to match the new username
where needed.

Do the same thing for crontab files too.  Look under /var/spool/cron

-- 
Deron Meranda


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]