Ubuntu i386 completely installed on my P3 but don't know usernameso cannot login ? HELP !
Peter Garrett
peter.garrett at optusnet.com.au
Sat Jul 22 18:02:19 UTC 2006
On Sat, 22 Jul 2006 16:56:54 +0100
MishMich <ulist at gs1.ubuntuforums.org> wrote:
>
> Addition to this.
>
>
>
> Once you try to log in as the user you create, there is no home
> directory. If you remove that user, and recreate via the desktop, the
> home directory is still not generated. I had to copy the oem directory
> across and chmod/chown it to the user I created before I could get a
> successful login other than as 'oem'.
$ sudo adduser test
Password:
Adding user `test'...
Adding new group `test' (1003).
Adding new user `test' (1003) with group `test'.
Creating home directory `/home/test'.
Copying files from `/etc/skel'
Enter new UNIX password:
,,,,,,
[various simple questions]
>
>
>
> I prefer not to reinstall, as on an old laptop with only 96MB RAM & a
> slow CD/DVD, it takes forever to run the install - a couple of hours!
>
I gave the output above to show you how you can add a user complete with
home dir, pasword etc etc
It's really easy - give it a try :) Just "sudo adduser <username> " and
answer the questions !
Then use the "adduser" command to add users to groups thus:
sudo adduser test audio
or whatever groups "test" should be in - for example:
$ groups
peter adm disk proxy dialout fax cdrom floppy audio dip video plugdev
lpadmin scanner admin fuse
( for a sudoer you
need the admin group for instance - but not for non-privileged users))
If you make a mistake do:
$ sudo deluser test
Removing user `test'...
done.
Peter
More information about the ubuntu-users
mailing list