Results 1 to 3 of 3

Thread: adding new user and new group

Hybrid View

  1. #1

    adding new user and new group

    I'm just concerned about this. If i add for example user foo and group foo using these:

    $ groupadd foo

    $ useradd foo

    I still haven't given user foo a password. What if i'll be using user foo and group foo as squid's unpriviledge user and group? Can a hacker use foo to hack my system since it has no password at all? What's the secure way to add an unpriviledge user and group ? (if my method was insecure).

  2. #2

    Re:adding new user and new group

    Give them a false shell in /etc/passwd [/bin/false], or no shell at all. You might be able to get away without giving them a homedir too.

  3. #3
    Senior Member
    Join Date
    Sep 2002
    Posts
    421

    Re:adding new user and new group

    Additionally if you use shadow passwords (which you should), putting a '*' or '!' (no quotes) in the password field in /etc/shadow will disallow logins with a unix password for this user

Similar Threads

  1. Configuring User group & Policies
    By saswata in forum Windows - General Topics
    Replies: 0
    Last Post: 06-01-2007, 05:44 PM
  2. Linux User Group Radio
    By in forum General Chat
    Replies: 1
    Last Post: 07-12-2004, 11:23 PM
  3. adding another root user
    By Blaqb0x in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 03-20-2003, 02:00 AM
  4. How to move a user from group to group
    By Compunuts in forum Linux - General Topics
    Replies: 3
    Last Post: 10-01-2002, 04:19 AM
  5. adding users:  own group or common group
    By Blaqb0x in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 05-26-2002, 03:17 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •