Comments on: Use The Tools https://pthree.org/2009/03/13/use-the-tools/ Linux. GNU. Freedom. Tue, 31 Oct 2017 18:00:46 +0000 hourly 1 https://wordpress.org/?v=5.0-alpha-42127 By: Eric https://pthree.org/2009/03/13/use-the-tools/#comment-110214 Sat, 19 Sep 2009 12:46:51 +0000 http://pthree.org/?p=994#comment-110214 HP used to caution against changing root's shell to something not on the root disk - not sure where they put bash.

When reading, I was conerned that you were going to suggest people use SAM!! Out of all the tools, I suggest people avoid that like the plague!

]]>
By: Ryan https://pthree.org/2009/03/13/use-the-tools/#comment-109853 Mon, 16 Mar 2009 14:20:23 +0000 http://pthree.org/?p=994#comment-109853 Why would you even consider changing root's shell? If your #1 rule is to use the tools given, the #2 rule is to never screw around with root's entries in passwd/shadow.

]]>
By: Marcos Dione https://pthree.org/2009/03/13/use-the-tools/#comment-109851 Sun, 15 Mar 2009 15:08:46 +0000 http://pthree.org/?p=994#comment-109851 I think the problem is that the tool you expected to work, namely usermod, failed unexpectedly. I don't understand on which situation modifying a user's data would be wrong/misleading/catastrophic while the user is logged in. I guess that's why I try to install gnu tools everytime I get access to a closed-source *nix.

]]>
By: Michael https://pthree.org/2009/03/13/use-the-tools/#comment-109850 Sat, 14 Mar 2009 14:29:19 +0000 http://pthree.org/?p=994#comment-109850 I use sysv-rc-conf 'tool' for editing my startup (init.d) services:
for example
sudo sysv-rc-conf -s 2S

]]>
By: Elizabeth Krumbach https://pthree.org/2009/03/13/use-the-tools/#comment-109849 Sat, 14 Mar 2009 11:38:25 +0000 http://pthree.org/?p=994#comment-109849 Similar to the above comment, I use "vipw" (vipw -s for shadow, and vigr is used similarly for group) for this. Not sure if it would avoid your issue above, but it is another tool that does some syntax checking.

]]>
By: Roland https://pthree.org/2009/03/13/use-the-tools/#comment-109848 Sat, 14 Mar 2009 04:30:11 +0000 http://pthree.org/?p=994#comment-109848 Why usermod? Why not 'chsh' ?

]]>