[sclug] Making user ID common to dual-boot distros

Tom Dawes-Gamble tmdg at tmdg.co.uk
Sat Jan 22 21:45:17 UTC 2005

On Sat, 2005-01-22 at 17:47 +0000, Neil Haughton wrote:

> Okay, under Ubuntu I edited my /etc/passwd and /etc/group files to have 
> account and group ID's matching my Mandrake versions, then did chown -R 
> neil.neil /home/neil . Now When I start up Ubuntu Gnome does show my 
> neil account on the login screen. Fortunately I have a 'spare' account, 
> but somtthing still isn't right.
> Here're are my Ubuntu /etc/passwd and /etc/group files
> /etc/passwd:
> neil:x:501:501:neil haughton,,,:/home/neil:/bin/bash

The "neil haughton,,," bit is the 'GECOS'  it's optional Normally you
put just your real name in there.  You can add things like Phone Number
and address that's comma separated fields.  man 5 passwd shoudl tell you
more about the format.

> /etc/group
> neil:x:501:neil

I think you will find you can just chop trailing 'neil' off this, again 
man 5 group should help.


More information about the Sclug mailing list