vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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. |
| |||
| 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 |
| ||||
| 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) |
| Thread Tools | |
| Display Modes | |
|
|