Tagged Questions
6
votes
1answer
141 views
Can I launch a process as root without launching root's login shell?
I tried to change the login shell.
Here's what the first line of /etc/passwd looks like (on a Debian Wheezy install):
rootx:0:0:root:/root:/:zsh
When I try to login as root:
Cannot execute zsh: ...
2
votes
1answer
319 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) ...
5
votes
2answers
478 views
make a 2nd root?
I was thinking, maybe i'd like to disable passwords for the root user and only use keys to log in. and if i need to login without keys have a 2nd user that is like root in everyway except has a ...
2
votes
2answers
1k views
Root password not working to log in to Gnome with gdm
I have a weird issue going on. I have a user account and I can login to Gnome normally. From a terminal there I can use su root and switch to root with my root password. However, when I try to login ...
6
votes
7answers
957 views
Is it bad practice to set root's shell to something other than the default?
Once a friend of mine (who is an experienced Unix/Linux user) told me that setting root's shell to something other than sh (i.e bash or zsh) might create problems, because some script might assume ...
10
votes
11answers
903 views
Concern about logging in as root overrated?
For personal linux on my personal notebooks, I've usually set my environment to autologin as root even under X or lower runlevels. I've found my workflow is very pleasant and fast, without any ...