Results 1 to 8 of 8

Thread: Hidden user?

  1. #1
    Join Date
    Feb 2008
    Beans
    105

    Hidden user?

    Is it possible to set up a user in such a way that other users wouldn't be aware of his existence?
    From Russia with love. БЕЗНОГNМ

  2. #2
    Join Date
    Jun 2011
    Location
    The Shadow Gallery
    Beans
    6,744

    Re: Hidden user?

    Quote Originally Posted by Burillo View Post
    Is it possible to set up a user in such a way that other users wouldn't be aware of his existence?
    create a user then from terminal give them a UID below 1000 so....

    create bob then

    sudo usermod -u 800 bob

    or whatever UID is unused, anything below 1000 is treated as a sysem account
    Backtrack - Giving machine guns to monkeys since 2006
    Kali-Linux - Adding a grenade launcher to the machine guns since 2013

  3. #3
    Join Date
    Apr 2010
    Location
    England
    Beans
    3,286

    Re: Hidden user?

    Depends on the user's level of expertise. Anyone can read /etc/passwd, so if they know about it, they can see a list of all the users.
    http://xkcd.com/293/
    There are 10 kinds of people in this world: Those who understand ternary, those who don't, and those who confuse it with binary.

  4. #4
    Join Date
    Apr 2009
    Location
    Midwest, U.S.A.
    Beans
    1,209
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Hidden user?

    Quote Originally Posted by haqking View Post
    create a user then from terminal give them a UID below 1000 so....

    create bob then

    sudo usermod -u 800 bob

    or whatever UID is unused, anything below 1000 is treated as a sysem account
    Wouldn't
    Code:
    ls -l /home
    still show the user ??

    EDIT: Wormzy beat me to it.
    Laptop: Dell Inspiron 8200 - Fedora 13 - Goddard
    Desktop: Self-Built - [Ku, Lu, Xu, U]buntu - Lucid 10.04.3 (LTS)
    Linux User: 498249 / Ubuntu User: 29241

  5. #5
    Join Date
    Jun 2011
    Location
    The Shadow Gallery
    Beans
    6,744

    Re: Hidden user?

    Quote Originally Posted by AlphaLexman View Post
    Wouldn't
    Code:
    ls -l /home
    still show the user ??

    EDIT: Wormzy beat me to it.

    yeah as would the etc/passwd entry.

    anyone one with a little knowledge could find the presence of a user for sure.

    just providing a possible solution for something that isnt really possible depending on what the OP really wants to achieve

    the question really is why ?
    Backtrack - Giving machine guns to monkeys since 2006
    Kali-Linux - Adding a grenade launcher to the machine guns since 2013

  6. #6
    Join Date
    Jun 2011
    Location
    The Shadow Gallery
    Beans
    6,744

    Re: Hidden user?

    Do you want to just hide them from the login screen ?
    Backtrack - Giving machine guns to monkeys since 2006
    Kali-Linux - Adding a grenade launcher to the machine guns since 2013

  7. #7
    Join Date
    Feb 2008
    Beans
    105

    Re: Hidden user?

    I want it to be there but:
    a) not showing up on login screen
    b) not showing up on kdesudo and the like but still being able to administer the machine
    c) (optionally) not being visible as a user account under control panel (i'm using KDE)

    of course, someone knowledgeable enough can see the user straight away, i just want him not being seen by another logged in user in "everyday" use cases.

    Is it also possible to have a login screen where i can both click on a username and enter it manually? because otherwise i'd have to login through terminal.
    From Russia with love. БЕЗНОГNМ

  8. #8
    Join Date
    Jun 2011
    Location
    The Shadow Gallery
    Beans
    6,744

    Re: Hidden user?

    Quote Originally Posted by Burillo View Post
    I want it to be there but:
    a) not showing up on login screen
    b) not showing up on kdesudo and the like but still being able to administer the machine
    c) (optionally) not being visible as a user account under control panel (i'm using KDE)

    of course, someone knowledgeable enough can see the user straight away, i just want him not being seen by another logged in user in "everyday" use cases.

    Is it also possible to have a login screen where i can both click on a username and enter it manually? because otherwise i'd have to login through terminal.

    well if you follow my UID suggestion earlier that will stop them appearing from login and everyday use. However like as been said it is easy ti find if the user exists.

    choose a valid UID below 1000.

    like i say though it is still relatively easy to see if this user exists.

    and not sure about control panel in KDE, i would need to check it but i will leave that for you to see by doing some testing.

    peace
    Backtrack - Giving machine guns to monkeys since 2006
    Kali-Linux - Adding a grenade launcher to the machine guns since 2013

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
  •