Will Linux server services start without user login?
Newbie question: I am planning to set up a Linux server (lightweight basic web, PIM server) “appliance”, i.e. a tiny headless box. I would like it to start whenever I plug it in and switch on the...
View Article/sbin/nologin default PATH
I want to add the PATH of the default for the user where a shell is set in /etc/passwd by /sbin/nologin. I write PATH in /etc/csh.login or /etc/profile,csh in case of bash or csh is OK. What about...
View ArticleLinux : should I create nologin user home dirs?
i have a few java apps running on my server and I set it up so that each app is executed with a nologin user id. now, when I add users with /usr/sbin/useradd -g $MY_GROUP -s /sbin/nologin -d...
View ArticleExecuting a command as a nologin user
I’ve recently set up my server so that my suPHP ‘virtual’ users can’t be logged into by using this article My issue now is that before when I ran a rake command for my Ruby on Rails application...
View ArticleWhat is the difference between /sbin/nologin and /bin/false?
I have often heard it recommended that a user account should be disabled by setting its shell to /bin/false. But, on my existing Linux systems, I see that a great number of existing accounts (all of...
View Article