1. Create user samdc@mango:~$ sudo adduser raqueldc [sudo] password for samdc: Adding user `raqueldc' ... Adding new group `raqueldc' (1001) ... Adding new user `raqueldc' (1001) with group `raqueldc' ... Creating home directory `/home/raqueldc' ... Copying files from `/etc/skel' ... Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully Changing the user information for raqueldc Enter the new value, or press ENTER for the default Full Name []: Raquel Room Number []: Work Phone []: Home Phone []: Other []: Is the information correct? [Y/n] 2. Delete user Delete account: samdc@mango:~$ sudo userdel newuser Delete home directory samdc@mango:~$ sudo rm -rf /home/newuser==============================================
hostname:mango, os:Ubuntu 14.10 Utopic Unicorn
==============================================
ASRock Z97 Extreme6 LGA 1150 Intel Z97 HDMI SATA 6Gb/s USB 3.0 ATX Intel Motherboard
Intel Core i7-4790 Haswell Quad-Core 3.6GHz LGA 1150 84W Desktop Processor Intel HD Graphics 4600
Team Xtreme 16GB (2 x 8GB) 240-Pin DDR3 SDRAM DDR3 2400 Desktop Memory
OCZ ARC 100 ARC100-25SAT3-240G 2.5" 240GB SATA III MLC Internal Solid State Drive
Western Digital WD Blue WD10EZEX 1TB 7200 RPM 64MB Cache SATA 6.0Gb/s 3.5" Internal Hard Drive
ENERMAX Ostrog GT ECA3280A-BR Black / Red Steel / Plastic ATX Mid Tower Computer Case
No comments:
Post a Comment