New user account problem Ubuntu 12.04


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers New user account problem Ubuntu 12.04
# 1  
Old 01-13-2014
New user account problem Ubuntu 12.04

Does anyone have an idea why it is not possible to logon to a newly created user account in Ubuntu 12.04. Is it perhaps a bug with this distro?
On another machine, but running 12.10 there is no such problem.
Accounts have been created with adduser and with GUI. It makes no difference!
The /home owners and the /home/username directories are all both set to the username, but other variations have been tried.
The permissions set are 0740.
Existing accounts which will not allow login and have been deleted with deluser and also with GUI, then new accounts created with different usernames.
Passwords have been successfully changed by sudo passwd. Nothing makes any difference.
This is my final hope before installing 12.10
Code:
Debug log @ 13-01-2014 : 15:42
roy@roy-desktop:~$ sudo adduser --debug ngxxxxx  
 Adding user `ngxxxxx' ...  
 Selecting UID from range 1000 to 29999 ...  
 Selecting GID from range 1000 to 29999 ...  
 Adding new group `ngxxxxx' (1002) ...  
 /usr/sbin/groupadd -g 1002 ngxxxxx  
 Adding new user `ngxxxxx' (1002) with group `ngxxxxx' ...  
 /usr/sbin/useradd -d /home/ngxxxxx -g ngxxxxx -s /bin/bash -u 1002 ngxxxxx  
 Creating home directory `/home/ngxxxxx' ...  
 Copying files from `/etc/skel' ...  
 Enter new UNIX password:  
 Retype new UNIX password:  
 passwd: password updated successfully  
 /usr/bin/chfn ngxxxxx  
 Changing the user information for ngxxxxx  
 Enter the new value, or press ENTER for the default  
     Full Name []: Nxxxx-and-Gxxxxx  
     Room Number []:  
     Work Phone []:  
     Home Phone []:  
     Other []:  
 Is the information correct? [Y/n] y  
 roy@roy-desktop:~$ sudo ls -l /home/ngxxxxx  
 [sudo] password for roy:  
 total 12  
 -rw-r--r-- 1 ngxxxxx ngxxxxx 8445 Jan 13 15:39 examples.desktop  
 roy@roy-desktop:~$ sudo chmod -R 0740 /home/ngxxxxx  
 roy@roy-desktop:~$ sudo ls -l /home/ngxxxxx  
 total 12  
 -rwxr----- 1 ngxxxxx ngxxxxx 8445 Jan 13 15:39 examples.desktop

I hope somebody has had this problem before - it is most frustrating!! SmilieSmilieSmilieSmilie
# 2  
Old 01-13-2014
Dont know but for sure a 740 permission makes no sence on a directory... and if this is the case on /home I am not suprised you cannot connect...
You need the execute permission on directoy to traverse it...
# 3  
Old 01-13-2014
Possibly it's permission issue,

check out .ICEauthority or .Xauthority in home directory

1. login using ALT+CTRL+F1

2. Enter USERNAME and PASSWORD

3. ls -la .ICEauthority OR ls -la .Xauthority

4. if these files are owned by you, then fine or else if its owned by root, then change permission like below
sudo chown username:username .ICEauthority OR .Xauthority

5. Switch back using ALT+CTRL+F7 OR F8, and try to relogin
This User Gave Thanks to Akshay Hegde For This Post:
# 4  
Old 01-15-2014
Sorry to say that the problem persists. Permissions and ownership are all correct. I followed all your instructions.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

User account

I need to check actual date a user was disabled on my HP-UX server. Audit is claiming the user account was active during the last audit exercise. (7 Replies)
Discussion started by: cyriac_N
7 Replies

2. Cybersecurity

Please help identify these user account

Please help me identify these user accounts.. bin, lp, nuucp, smbnull, mysql, tftp Can we remove these user or disable these users?We have to apply the security policy about the user identification.Since it was settup by our vendor long time ago. We do not have these informations about these... (3 Replies)
Discussion started by: rdstkg
3 Replies

3. UNIX for Dummies Questions & Answers

Free UNIX account with installation privileges or install Ubuntu

Hello, I need to install a program that can only be run in unix. I dont have unix on my system. Does anyone know of any free shell accounts with install permissions. I know that there are free shell accounts available on web , but those are without install permission. Does installing Ubuntu... (7 Replies)
Discussion started by: akc
7 Replies

4. UNIX for Dummies Questions & Answers

Difference between : Locked User Account & Disabled User Accounts in Linux ?

Thanks AVKlinux (3 Replies)
Discussion started by: avklinux
3 Replies

5. HP-UX

how can distingiush user account

example root::0:3::/:/sbin/sh daemon:*:1:5::/:/sbin/sh bin:*:2:2::/usr/bin:/sbin/sh sys:*:3:3::/: adm:*:4:4::/var/adm:/sbin/sh uucp:*:5:3::/var/spool/uucppublic:/usr/lbin/uucp/uucico lp:*:9:7::/var/spool/lp:/sbin/sh nuucp:*:11:11::/var/spool/uucppublic:/usr/lbin/uucp/uucico... (1 Reply)
Discussion started by: alert0919
1 Replies

6. UNIX for Dummies Questions & Answers

Installing Ubuntu To Single User Account?

I understand that Unix and it's counterparts are OSs, but would it be possible to just install them to a single user account? I'm using a family computer, whose other users want nothing more complicated on the computer than Internet Explorer, but I want to install Ubuntu so I can easily host my... (6 Replies)
Discussion started by: migigicoko
6 Replies

7. UNIX for Advanced & Expert Users

Problem setting up Bash user account

Hi, We have a unix user account with login shell as ksh. Now we want to migrate our jobs to a new user account having bash as its login shell. For the old account we had a .env file which set up a lot of aliases and did a few other useful things. It seems this file was executed the on logging... (2 Replies)
Discussion started by: sumanroyc
2 Replies

8. Post Here to Contact Site Administrators and Moderators

user account

hi how to disable the useraccount in aix (should not remove). (1 Reply)
Discussion started by: chomca
1 Replies

9. UNIX for Dummies Questions & Answers

show all user account

I have a question about show all create user account. What commend do that thank`s for your help :) (6 Replies)
Discussion started by: Deux
6 Replies

10. UNIX for Dummies Questions & Answers

creatin user account

hi all, i m tryin to create a new account on the unix work station. do i use 'useradd' command? can u guyz advice on the usage of 'useradd' command as it can comes with 'useradd -D' or 'useradd -e' thanks :confused: (1 Reply)
Discussion started by: damian
1 Replies
Login or Register to Ask a Question