Summary: in a HP-UX 9000 A need a script, command or a way to a normal user creat another user with the useradd. Can i say in the script the passwd of root ???...
Summary: Hello, I have a script called "change" that lives in the following directory: /home/controlm/measurements/ The /home/controlm dir is the home dir for ...
Summary: In a ksh script I get a file with a path from another program. I need to create the file and it's directories. I know mkdir -p can make the dirs but h...
Summary: I created a user with "useradd" and made sure its shell would be /bin/ksh. All initialization files (.profile, and all local.*) files are there, but ...
Summary: Hi! I have two a/c on unix i.e a and b. I logged in as a first user (a) . Now I would like to like to run a command as a second user (b). I don't have...
Summary: I cant make that user equal to root. We have to run this script file from an application , and tht application access the O/S with a specific user , w...
Summary: wr is a kernel function used for drivers. You can't use it in a script. There are many ways to get your line numbers into fileA. The nl command wil...
Summary: Hi: I'm not near a unix box so this is untested: two ways to prepend zeros: # if you have ksh/bash typeset -Z10 val val=56 # using awk xval=57 echo $x...
Summary: I have been in the process of removing Windows as my primary OS. I have been setting up my PPP client. In my reseach I found this which should addres...
Summary: Somebody has to do this, I guess... DOSKEY=change your shell to tcsh...this should be located in /bin (ps- bash is supposed to have command history au...
Summary: I need to create a script that will remove a file if there is no extension. The file is generated with a random name, based on current date. The file...
Summary: I need to replace anything immediately after the pattern "standard01/" in a file with the value of a variable I don't know the length of the characte...
Summary: Can someone help! I created a variable (ddir=`ps -ef | grep apa`) that I would like to insert into a text file (STOP) in the 5th line of file. I crea...
Summary: Hi, I have a header file containing a few comma-separated fields.example: (start file) emp,emp_name,location,salary,post_code,sac,le (end file) This f...
Summary: Hi frnds, I donno if I amputting in the rt forum or not.But i am trying to get a week number from a given date. This code by a member on computing....
Summary: by default usually you should be able to have ftp access when you create a user ie useradd blah but if not its then it is turned off to turn on it d...
Summary: I'm trying to create multiple users at once by inputing the user data from a file with the following format: userid description uid groups test01 Tes...
Summary: Simple. Create a new user and make the folder their home directory. Now change the permissions on the directory so that only the owner can read, wri...
Summary: Hello all: I am new to UNIX and I am given the responsibility of administering a UNIX machine recently. The system is a IBM AIX 3.1. As a part of my ...
Summary: Hi Everybody, How can I create a user with permission which allows the user just sees the user's own home directory nothing else. I am using SCO OpenS...
Summary: Hi, Can anyone help in writing a shell script that creates a table out of the info in the /etc/passwd file using the following format: User Name User...
Summary: Hi I have created a menu using a Korn script which in turn runs a number of other scripts to do jobs on the box. I have controlled the users login us...
Summary: First, only someone with root permissions can change passwords (sudo maybe used to grant certain permissions to non-root users)a common method for au...
Summary: Hi I need to create a shell script to create a report showing users name when they last logged on and if they have exceeded their quota (5mb) I figur...