Tagged: Linux Toggle Comment Threads | Keyboard Shortcuts

  • Mads Madsen 19:53 on February 13, 2014 Permalink | Reply
    Tags: , , Linux, uid, usermod   

    Change a user’s UID 

    First login as root – Clean login – sudo will not work if you’re changing a UID on an already logged in user.

    Find the user’s old UID:

    uid=1000(user1) ….

    Change the UID:

    Update files and directories owned by the user to the new UID:

    Reboot and the UID has been changed.

     
  • Mads Madsen 22:51 on April 17, 2013 Permalink | Reply
    Tags: , , Linux, , udev   

    Fixing eth numbering 

    While moving virtual machines around, it will usually mean a change on MAC addresses on the networking interfaces, which will create new eth nodes on the machine.
    Reasons for the renaming of eth nodes on the machine, is due to the persistent mapping on Linux systems using udev.
    Fixing this is done by removing the entities in the /etc/udev/rules.d/70-persistent-net.rules and reboot the machine.

     
  • Mads Madsen 01:20 on April 16, 2013 Permalink | Reply
    Tags: Linux, , WoL   

    Simple WoL script 

    Simple wake-on-lan script, to wake up a WoL enabled computer when it receives a connection. This script is currently running on an old router.

    It requires the wol command.

     
c
Compose new post
j
Next post/Next comment
k
Previous post/Previous comment
r
Reply
e
Edit
o
Show/Hide comments
t
Go to top
l
Go to login
h
Show/Hide help
shift + esc
Cancel