1837896 Members
3367 Online
110122 Solutions
New Discussion

Re: user problem

 
Tarek
Super Advisor

user problem

Hallo there,
i have created a nis user.
When i try to enter on any ws with the new username i have:
Please wait....checking for disk quotas
No shell
Connection closed by foreign host.
'Til yesterday i created lot of user without this problem, now i had this error.
14 REPLIES 14
Dan Hetzel
Honored Contributor

Re: user problem

Hi Tarek,

What shell is reported for your user?

Type 'ypmatch your_user_name passwd'

Dan
Everybody knows at least one thing worth sharing -- mailto:dan.hetzel@wildcroft.com
Sandor Horvath_2
Valued Contributor

Re: user problem

Hi !

The user created, and password is OK.
Which shell give You to this user ?

ypcat passwd | grep username

regards, Saa
If no problem, don't fixed it.
Tarek
Super Advisor

Re: user problem

With that command it gives me the /etc/passwd
user's line:
username:password:userid:gid::home_user:/usr/bin/csh
Dan Hetzel
Honored Contributor

Re: user problem

Hi Tarek,

Passwd entry looks OK, and /usr/bin/csh is a standard shell, thus no need for /etc/shells

Other possible causes of 'no shell':

1. Too restrictive $HOME directory permissions -- must be 75x.

2. Improper permissions on the shell executable itself.

3. Improper permissions on /, /usr, /usr/bin or /etc

Best regards,

Dan
Everybody knows at least one thing worth sharing -- mailto:dan.hetzel@wildcroft.com
Sandor Horvath_2
Valued Contributor

Re: user problem

Hi !

this line form password seems to be right.

try 2 command as root user>

su - username
su username

1. full user environment and change to users home dir
2, only change user id, but not environment.

regards, Saa
ps, I need go the next step tomorrow :-(
If no problem, don't fixed it.
Tarek
Super Advisor

Re: user problem

I really don't know what to do:
i've set permissions $home: 777
With all other users i enter without any problem on any ws.
The user's username is:
archr03 - is it possible that the problem is that i put also numbers, instead of letters only.
Dan Hetzel
Honored Contributor

Re: user problem

Hi Tarek,

Is the user's home directory a dedicated filesystem (i.e. /archr03) ?
In that case, umount the filesystem, modify the permissions on the mount point and re-mount it.

Dan
Everybody knows at least one thing worth sharing -- mailto:dan.hetzel@wildcroft.com
Tarek
Super Advisor

Re: user problem

with the su - user and su user i have this same output:
su: No shell
Segmentation fault
Tarek
Super Advisor

Re: user problem

no the user is on this directory:
/disk2/local_user/archr03
In this directory there are also other 4 users, but they aren't having problems.
Dan Hetzel
Honored Contributor

Re: user problem

Hi Tarek,

Please write down permissions of /disk2 and /disk2/local_user (to be able to set them back after)
Change those to 777
Try to log in as 'archr03'

Dan

PS: set permissions back to original values
Everybody knows at least one thing worth sharing -- mailto:dan.hetzel@wildcroft.com
Glynn Aherne_1
Advisor

Re: user problem

I've seen this happen where the shell variable path was incorrectly assigned. Maybe somewhere along the line that path is set there is a misplaced . Check this whenever your are assigning the shell variable path.
Tarek
Super Advisor

Re: user problem

/disk2 is a file system mounted on the device /dev/vg01/lvol01. It is an external harddisk.
I will try to remove the user and to put it again.
Tarek
Super Advisor

Re: user problem

I've solve it, don't ask me how... :)
I have removed the user and added it again in the same identical mode i did before...now it works...strange of this work!!! I've lost all afternoon for this user...
Thanks all and sorry if i made you crazy
Suhas_2
Regular Advisor

Re: user problem

Hi,
we MUST add the above answer in SYSADMIN HUMOUR !!
;-)))

Suhas.
Never say "Die"