Sponsored Content
Top Forums Shell Programming and Scripting Script for User Management (Create, Delete, Disable...etc) Post 303001074 by rbatte1 on Wednesday 26th of July 2017 07:22:51 AM
Old 07-26-2017
Welcome VenkatPVS,

I have a few to questions pose in response first:-
  • What have you tried so far?
  • What output/errors do you get?
  • What OS and version are you using?
  • What are your preferred tools? (C, shell, perl, awk, etc.)
  • What logical process have you considered? (to help steer us to follow what you are trying to achieve)
Most importantly, What have you tried so far?

There are probably many ways to achieve most tasks, so giving us an idea of your style and thoughts will help us guide you to an answer most suitable to you so you can adjust it to suit your needs in future.


We're all here to learn and getting the relevant information will help us all.


Kind regards,
Robin
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

disable power management to a PCI card

I have a US Robotics USR5416 wireless networking card and everytime after hours of inactivity the cardseems to shutdown. I read somewhere the it does not support power management. Is there a way to disable power management to that particular PCI card? (0 Replies)
Discussion started by: diesel440
0 Replies

2. Shell Programming and Scripting

Create a script that executes when a user attempts to delete history logs

Hi, I have a linux redhat 9 server and I am concerned about the security on that server. I would like to be able to write a script that records all the commands that were typed at the command prompt before the user calls the 'history -c' command and deletes all the history. I was thinking about... (4 Replies)
Discussion started by: mishkamima
4 Replies

3. Homework & Coursework Questions

Create script to add user and create directory

first off let me introduce myself. My name is Eric and I am new to linux, I am taking an advanced linux administration class and we are tasked with creating a script to add new users that anyone can run, has to check for the existence of a directory. if the directory does not exist then it has... (12 Replies)
Discussion started by: pbhound
12 Replies

4. Solaris

Unable to create or delete a directory in /usr with root user

Hi All, I am trying to uninstall jdk 1.5 from my Solaris 10 64 bit but some how was not successful.so tried to delete the folder of jdk from /usr but its throughing error as: Unable to remove directory jdk: Read-only file system Even I tried to create a dir in /usr but its not allowing me... (4 Replies)
Discussion started by: Pshah
4 Replies

5. Shell Programming and Scripting

Create user if UID not exist; else, exit the script

Hi, I want to write a script to check whether an user ID is used in my server and then create that user. If the user ID is not used, I will echo something like "OK, continue" and then continue to execute the script. Else, I will echo something like "Used, exit" and then exit the script. As... (4 Replies)
Discussion started by: dirkaulo
4 Replies

6. Shell Programming and Scripting

Need help to create a script to delete the files

Hi All, I want to delete all core* files in below file system in Unix server. File system: /usr/sap/P01/JC00/j2ee/cluster/server0 I want to setup a cron job every ten minutes to delete the core *files Thanks N Rao This thread duplicates another thread with the same title: Need... (1 Reply)
Discussion started by: YNRao24
1 Replies

7. HP-UX

Need help to create a script to delete the files

Hi All, I want to delete all core* files in below file system in Unix server. File system: /usr/sap/P01/JC00/j2ee/cluster/server0 I want to setup a cron job every ten minutes to delete the core *files Thanks N Rao (2 Replies)
Discussion started by: YNRao24
2 Replies

8. UNIX for Dummies Questions & Answers

How to create a file even root user also cant delete?

Is there any way to create a file in linux that root user also can't delete? (8 Replies)
Discussion started by: palani13dec
8 Replies

9. Shell Programming and Scripting

Create user builder script

Hello this script should get username and password from user and then create. how can i send an arguman to passwd command ? echo "Enter username" read username useradd $username -s /bin/false echo "enter password for $username" read password passwd $username (2 Replies)
Discussion started by: nimafire
2 Replies

10. Solaris

Disable create subdirectory Solaris 8 ftp

Running Solaris 10. For FTP users or groups, I want to prevent them from creating new subdirectories, but I still want to allow them to create, upload, download files from the subdirs. I understand how to set the general file/directory permissions -- read, write, execute. So for a directory,... (0 Replies)
Discussion started by: themonman
0 Replies
FC-LIST(1)																FC-LIST(1)

NAME
fc-list - list available fonts SYNOPSIS
fc-list [ -vV? ] [ --verbose ] [ --version ] [ --help ] [ pattern ] [ element ] DESCRIPTION
fc-list lists fonts and styles available on the system for applications using fontconfig. OPTIONS
This program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. -v --verbose Display status information while busy. -? --help Show summary of options. -V --version Show version of the program and exit. pattern If this argument is set, only fonts matching pattern are displayed. element If set, the element property is displayed for matching fonts. EXAMPLES
fc-list Lists all font faces. fc-list :lang=hi Lists font faces that cover Hindi. fc-list : family style file spacing Lists the filename and spacing value for each font face. ``:'' is an empty pattern that matches all fonts. SEE ALSO
fc-cache (1). The fontconfig user's guide, in HTML format: /usr/share/doc/packages/fontconfig/fontconfig-user.html. AUTHOR
This manual page was written by Keith Packard <keithp@keithp.com> and Josselin Mouette <joss@debian.org>. 16 October 2006 FC-LIST(1)
All times are GMT -4. The time now is 12:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy