How to create additional users besides ROOT ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Booya16
    Member
    • Aug 2008
    • 53

    #1

    DM500 How to create additional users besides ROOT ?

    Hi all,

    Been playing around with various images for the 500c and am successfully watching channels via a web browser configuration using VLC player.

    What I need to know is there away of creating additional accounts for people connecting to my box via any provided Unix commands and if any particular permissions need to be applied. A scipt would be ideal.

    I'm trying to avoid family members (who are I.T literate by the way) using root which will allow them to modify/delete files).

    Any help would be appreciated.

    Booya16
  • Devilfish
    Administrator
    • Feb 2008
    • 7872

    #2
    I like it when someone has a good question like this.

    Navigate to /var/etc and edit the 'passwd' file.

    Add this line:

    username::0:0::/:/bin/sh
    Change username to whatever you want the username to be.

    Log into telnet using the new username, you won't need a password.

    Issue this command to set the password:

    Code:
    passwd username
    ***Remember to change 'username' to whatever your new username is.

    Re-type the password and that's it set.

    Now that's the new account created but I haven't figured out how to get group permissions because you can still delete files with this account...but it's a start!

    EDIT:

    Found this site which might be useful for you...

    Managing Linux Accounts
    Last edited by Devilfish; 18 September, 2008, 14:22.

    Comment

    • Booya16
      Member
      • Aug 2008
      • 53

      #3
      Many thanks Devilfish.

      Will give this a go and lookinto the group permissions.

      p.s. What command is in built for editing files ?

      Booya16
      Last edited by Booya16; 18 September, 2008, 14:31.

      Comment

      • Devilfish
        Administrator
        • Feb 2008
        • 7872

        #4
        Just edited my 1st post in case you missed it, think you replied at the same time .

        Comment

        • Booya16
          Member
          • Aug 2008
          • 53

          #5
          Cheers,

          Used vi to edit the file.

          Will now look into permissions and keep all posted.

          Ta again

          Booya16

          Comment

          • satman
            V.I.P. Member
            • Jun 2008
            • 736

            #6
            nice thread

            good question, with a great answer
            boom!

            Comment

            Working...