Skip to main content

Thread: 11.10 command line useradd issues


i have 11.10 system want install misterhouse on (a perl program). have desktop system gui , following install instructions here (with few obvious changes due newer ubuntu version).

http://misterhouse.wikispaces.com/configureubuntu

created user mh command given on page:
useradd -d /opt/misterhouse -c misterhouse -g mh -p [password of choice] mh

not able log in initial log in screen. gave me improper password error set password again passwd. took password not load gui - @ least appeared happen. user shell used su mh (it might have been: su - mh)to log in. worked sort of. got command prompt , basic commands command history didn't work. guessing of options used adduser caused problems setting user properly. program doesn't need run graphic user setup plus.

went wrong , how fix it? nice remove 'misterhouse' reference on account too, , use 'mh'.

there few things can think of. first, -p option of useradd takes encrypted version of password. i'm not sure if don't provide encrypted, might have botched up. can run useradd command without -p option, , you'll prompted password. or can run 'passwd mh' sure it's set right. sounds managed login in shell, guess working fine.

second, make sure /opt/misterhouse exists. useradd won't make home directory you. sure user permissions set correctly.

should check groups mh part of, , make sure it's part of group(s) have permission login using gui. couldn't tell groups are...

can make changes user 'usermod', might easier use "userdel mh" start over.


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] 11.10 command line useradd issues


Ubuntu

Comments

Popular posts from this blog

Thread: Can not create raid array: mdadm: no raid-devices specified.

Thread: HOW TO: Package and theme GTK+ / Gtkmm apps in Linux for Windows

Thread: Twinview issues