LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-16-2003, 09:14 PM   #1
Crowe182
LQ Newbie
 
Registered: Aug 2003
Posts: 1

Rep: Reputation: 0
Little Help with a student...


I am in need of a delet user script. Something very basic and simple. The Items I need it to do are:

0) Change to etc Directory
1) Open password
2) Search for user
3) Delet Line
4) Close file & save script
5) Change directory to home
6) Remove user's directory
7) Check and confirm the directory is empty

Any help would be welcomed. Thanks.....
 
Old 08-16-2003, 09:58 PM   #2
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 46
userdel -r username
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
A student that needs help!!! smithers_3 Linux - General 6 05-27-2005 04:00 PM
College Student Gorkhali LinuxQuestions.org Member Intro 2 02-05-2005 07:06 AM
Student Studies engnet Linux - Software 1 12-05-2004 03:09 PM
a student iam3 Linux - Newbie 1 11-01-2001 05:51 PM
a student iam3 Programming 1 11-01-2001 05:43 PM


All times are GMT -5. The time now is 07:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration