Tagged Questions
2
votes
1answer
323 views
root can only login with bash restricted mode
I was implementing a series of recommendations to 'harden' my linux server, involving lots and lots of changes. Linux is CentOS 6.2, kernel 2.6.32-220.*.
I'm currently using tty2..tty5 (no X/GUI etc) ...
14
votes
2answers
2k views
Do you need a shell for SCP?
I'm allowing a friend a local account on my machine, exclusively for SCP. Can I specify his account's shell as /bin/true, or in any other way limit the account, while still allowing SCP?
5
votes
2answers
1k views
Creating a UNIX account which only executes one command
Is there a way to create a user account in Solaris which allows the users to run one command only? No login shell or anything else. I could possibly do it with /usr/bin/false in /etc/passwd and just ...