Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Feb 2005
    Posts
    223

    Default User shells being changed automagically

    Lately I've been getting reports from my users that their zsh, tcsh, or ksh shells have been suddenly reset to bash. Is this something new that cPanel is doing on automatic update? I've never seen this happen before, and it's quite annoying.

    Thanks for any info on this.

    Scot

  2. #2
    Member
    Join Date
    Jan 2006
    Location
    really tough to find
    Posts
    67

    Default

    Check whether your server is infected or not.....

    run rootkit on it and search common maliciuos scripts named

    psybnc, sosweet and y2kupdate, etc, etc....
    --24x7Team
    Awake the whole day and night for you'll.
    We care We dare..
    24x7websitemovers.com

  3. #3
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Quote Originally Posted by shacker23
    Lately I've been getting reports from my users that their zsh, tcsh, or ksh shells have been suddenly reset to bash. Is this something new that cPanel is doing on automatic update? I've never seen this happen before, and it's quite annoying.

    Thanks for any info on this.

    Scot
    Not something I've seen happen, but it's possible I guess. Have you tried checking the status of the shell accounts and then running /scripts/upcp manually and seeing if it changes them?
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  4. #4
    Member
    Join Date
    Feb 2005
    Posts
    223

    Default

    Thanks Chirpy. Just tried that, and the default shells were not changed, so it looks like the problem is not in upcp. I'll monitor this and post if I can nail down any more specifics.

    - Scot

  5. #5
    Member
    Join Date
    Feb 2005
    Posts
    223

    Default

    Doh! I just figured out what was going on here. Every now and then I'll modify packages to add more email accounts, change the cpanel skin, etc. When I do, I batch-reset users to their own package levels so that all users benefit from the new service levels.

    But the default user shell is *part* of the package system. So every time I upgraded the services I offer, I was setting non-bash users back to bash without knowing it. Now that I know what's going on, I can take note beforehand and change oddball shell users back after upgrading my service plans.

  6. #6
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Aha! That can be a pain. It has its advantages, of course.The laternative is to write a script to modify account settings directly by changed /var/cpanel/users/* - depends which is more work
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

Similar Threads & Tags
Similar threads

  1. Alternative ways of knowning *when* user changed his password?
    By fernandomm in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-20-2010, 09:20 AM
  2. Sorry, the domain name cannot be changed because it is owned by another user
    By Adam_UOForums in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 05-11-2010, 11:19 AM
  3. User's password get changed automatically
    By tomcatf14 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-08-2008, 01:34 AM
  4. Why does inbox keep getting changed to user.user????
    By BianchiDude in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 10-19-2005, 02:40 PM
  5. Replies: 1
    Last Post: 03-22-2004, 06:53 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube