10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hello everybody,
I need to modify 200 files using a patern matching, I would like to do it with sed but it's not working with the following syntax:
sed -e 's/DATABASE_PASSWORD.*oldpass/DATABASE_PASSWORD__', 'newpass/g' config.php
need to find:
define("__DATABASE_PASSWORD__", ... (6 Replies)
Discussion started by: dco
6 Replies
2. Shell Programming and Scripting
Hi There,
I am trying to write a script which has to pick the prompted options by itself(i mean option to choose will be passed)
here is real scenario i am trying to do.
i have an executable(diagnos) which gets called in shell script, when the executable (diagnos) runs i get following as... (8 Replies)
Discussion started by: sairam_9191
8 Replies
3. Windows & DOS: Issues & Discussions
Hello everyone,
I've been attempting to make a program which creates user accounts from a file which contains the usernames required. It also checks if the directory of the username exists in the C:\Users directory and then is going to give the option to delete the directory, or rename it, this... (1 Reply)
Discussion started by: charlieabee
1 Replies
4. Shell Programming and Scripting
Hi All,
I am new to shell scripting and have a task which need to be completed ASAP.
I have searched all the forum and couln't find excat script which could run on solaris.can someone give me the fully working script for below.
Bash shell script to create user account with paraments as... (1 Reply)
Discussion started by: sintilash
1 Replies
5. Shell Programming and Scripting
Hi all,
This is my sample code in /etc/httpd/conf.d/applications.conf file currently we are creating subdomain mannually for every new subdomain. I want to automate this process througs bash script , how its possible.
<VirtualHost *:80>
ServerName google.com
ServerAlias google.com... (5 Replies)
Discussion started by: anishkumarv
5 Replies
6. Shell Programming and Scripting
Hi Gems..
I am working out on project of creating a mass user on 100 server. Please help me with script where i can create an user id of new 80 user using shell script
Thanks in advance.
Indrajit Bhagat (1 Reply)
Discussion started by: indrajit_renu
1 Replies
7. Solaris
Hi,
I am using Solaris 10. How could I find when a solaris user was created?
thanks and regards (4 Replies)
Discussion started by: fahdmirza
4 Replies
8. UNIX for Advanced & Expert Users
hi all
i am writing a script to create user and group from the input given to script
for eg. script needs to values
1. mode - 1 or 2
2. id - if mode is 1 then id should be 2 char like x1 / v1 / v2
if mode is 2 then id should be 1 char like x / v / e
from these to values group is... (1 Reply)
Discussion started by: zedex
1 Replies
9. Solaris
Hi,
I want to create a user who has right to change only root user password, (1 Reply)
Discussion started by: manoj.solaris
1 Replies
10. UNIX for Dummies Questions & Answers
Helloo to all...
what is the correct way to assign a password to a new NIS user on a NIS master server?
When I the following:
useradd -s /bin/bash -d /export/home/username -m username
The user get created fine but when I try to assign a password I get:
#passwd username... (0 Replies)
Discussion started by: GLJ@USC
0 Replies