[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Login problem



> None of startup script files(~/.profile and ~/.bash_profile) are
> executed at login.
> After login I am calling 'bash --login' in a terminal then they are
> executed but that doesnt affect desktop environment.
> I searched for a configuration like 'nologin' for my linux user but
> found nothing.
> I created another linux user and tried with it but nothing is changed.
Precisely: what do u want to do?!

Do u want create some users without shell?!

> Is there any 'nologin' configuration which is applied to all linux
> users?
U can edit /etc/passwd and displace the line /bin/bash(or other shell)  
with /bin/nologin

or u can edit groups/users in /etc/ssh/sshd_config 

Pol



Reply to: