change user login
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Debian support > Linux Debian support > change user login




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    change user login  
Walter Mitty


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-08-06 07:49 AM

Aby recommendations how best to change a use login ID from "abc" to
"def"?

Just create new, copy "abc data" from ~abc to ~def? rename and chown?

Thanks.

--
Snow White's dwarfs become gnomes
-- http://news.bbc.co.uk/1/hi/england/kent/4349726.stm
The world has gone mad.





[ Post a follow-up to this message ]



    Re: change user login  
rich


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-11-06 01:46 AM

On Wed, 08 Feb 2006 07:14:31 +0000, Walter Mitty wrote:

> Aby recommendations how best to change a use login ID from "abc" to "def"?
>
> Just create new, copy "abc data" from ~abc to ~def? rename and chown?

You should be able to change abc to def in /etc/passwd, /etc/shadow,
and /etc/group (don't miss /home/abc in /etc/passwd).
Then mv /home/abc to /home/def and login.


rich







[ Post a follow-up to this message ]



    Re: change user login  
Michael Paoli


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-12-06 07:45 AM

Walter Mitty wrote:
> Aby recommendations how best to change a use login ID from "abc" to
> "def"?
> Just create new, copy "abc data" from ~abc to ~def? rename and chown?

# usermod -l def abc

You may also want to change and relocate the home directory.  You might

need to tweak group names/memberships.  You might also have to deal
with
issues such as mail spool files, sudoers entries, etc.

references/excerpts:
usermod(8)






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:41 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register