Skip to main content

Cara Menghapus User di Debian 7

Langkah..

Penghapusan user account dapat menggunakan perintah berikut:
debian:~# userdel –r namauser
Misal:
User `linuxgila` akan dihapus pada sistem debian GNU/Linux, maka perintah yang digunakan adalah:
debian:~# userdel –r linuxgila
Untuk melihat perintah manual deluser:
debian:~# deluser –-help
deluser: removing user and groups from the system. Version: 3.57
deluser user
remove a normal user from the system
example: deluser mike
–remove-home remove the users home directory and mail
spool
–remove-all-files remove all files owned by user
–home remove home only if /etc/passwd home dir
matches directory given here
–backup backup files before removing.
–backup-to target directory for the backups.
Default is the current directory.
–system only remove if system user
atau dapat menggunakan perintah `deluser` seperti contoh berikut:
Misal:
Penulis ingin menghapus user `debian` pada sistem, maka perintah yang digunakan adalah:
debian:~# deluser –-remove-home –remove-all-files debian

Sumber :
https://ndewo.wordpress.com/2009/11/07/menghapus-user-account/ 

Comments

Popular posts from this blog

Cara Install Seafile di Ubuntu 14.04lts Server 64 bit

Link : https://www.howtoforge.com/tutorial/seafile-ubuntu-14-04/ List of dependencies as described Java Runtime Environment (JRE) Poppler-utils Libreoffice 4.1+ and Python-uno libpython 2.7 Python libraries (make sure python 2.7 is included in this installation, you may verify using the command on the image 1.2, if its already installed, if not then use this command apt-get install python 2.7 and also if you receive an error of "Wheel installs require setuptools >= ...", then you may use this pip install setuptools --no-use-wheel --upgrade). You also need, to install using easy_install pip and pip install boto as seen on the image 1.3 and 1.4 respectively) Run the following command as root user to install the required software: apt-get install openjdk-7-jre poppler-utils libreoffice libreoffice-script-provider-python libpython2.7 python-pip mysql-server python-setuptools python-imaging python-mysqldb python-memcache Now I will check if the installed pyt...

Cara menginstall SSH Debian 7

Langkah... Install, apt-get install openssh-server Konfigurasi, nano /etc/ssh/sshd_config , port 22 --> default, disini kita bisa mengganti port sesuai keinginan kita Restart, service ssh restart Cara aksesnya dengan, ketik di terminal linux, ssh (user/root)@(x.x.x.x-->ip) Sumber: Buku Panduan BLC Telkom 

Cara Redirect Login Hotspot di Mikrotik

Redirect merupakan pengalihan, nah yang dimaksud di mikrotik ini adalah jika kita sudah log in, maka kemana kita akan di arahkan?? Pada umumnya setelah log in maka kita akan di reirect ke status untuk menggantinya maka langkah yang harus dilakukan ialah.. Masuk ke Mikrotik menggunakan ftp maupun ssh Dan cari file alogin di folder hotspot yang akan redirect Masuk ke file alogin dan cari kata redirect Ganti  dan tulis alamat yang akan dituju