On (22/06/03 19:13), cr wrote: > On Sunday 22 June 2003 00:21, Clive Menzies wrote: > > On (20/06/03 21:36), cr wrote: [snip] > > > > > However, it would be more sensible I think if I was User 500 in both > > > systems. Is there any safe legal way to change my UID from 1000 to 500? > > > Or, failing that, can I do it by using 'adduser' to create a new user, > > > say 'cr2', as user 500, then when I've got 'cr2' properly set up and > > > everything works, delete user 'cr' (with UID 1000) and rename user 'cr2' > > > to 'cr'. > > > > > > And, more importantly, are there any hidden snags in any of the above > > > which will crash my whole system or lock me out of it? > > > > Have a look at man usermod and man adduser (group) - It would be worth > > creating a new user on both systems with the same UID and GID and use that > > account to rearrange everything. Don't forget, if you're using samba, to > > change smbpasswd. > > That was easy! 8) > > Thanks! usermod was just what I needed. Edited /etc/group by hand > then changed UID with usermod. > > My old copy of 'Using Linux' doesn't seem to mention it (or if it does, I > missed it). > You're welcome. Have a look at "Linux Desk Reference" by Scott Hawkins - it was the first Linux book I bought as a newbie last year and it has been invaluable ;)
Clive -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]