9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hey, It's me again.
Have a problem, that's not really a problem. I have the below script, that goes to the directory I want it to go to. lists out the directories available, lets you choose the directory you want, then it changes the permissions on said directory. using chmod -R and chown -R.
... (2 Replies)
Discussion started by: gkelly1117
2 Replies
2. Shell Programming and Scripting
Hi All,
I am newbie here and request your assistance.
I have a service running on public ip, but since I have a dynamic IP it keeps on changing and every time I need to manually get the new ip and add to the config file and restart the service. This has become bit time consuming.
Hence, I... (4 Replies)
Discussion started by: Shaan_Shaan
4 Replies
3. Shell Programming and Scripting
Hi All
I have the following script that is supposed to change permissions of incoming files to a directory, but it does not seem to do what I want, please can you help:
mkdir -p /tmp/tmpdir
find /moneta_polled01/sgsn/ -exec ls -l {} \; |grep -v rwxrwxrwx |awk '{print $9}' >... (4 Replies)
Discussion started by: fretagi
4 Replies
4. Shell Programming and Scripting
Hi
I have written the following script that later I want to put in cron,:
#!/bin/bash
_find="/usr/bin/find"
_paths="/moneta_polled01/mediation_gsm /moneta_polled01/mediation_mmsc"
for d in $_paths
do
$_find $d -type f -exec chmod 777 {} \;
done
but it does not seem to be... (8 Replies)
Discussion started by: fretagi
8 Replies
5. Shell Programming and Scripting
Hi, I am creating a ksh script to search for a string of text inside files within a directory tree. Some of these file are going to be read/execute only. I know to use chmod to change the permissions of the file, but I want to preserve the original permissions after writing to the file. How can I... (3 Replies)
Discussion started by: right_coaster
3 Replies
6. UNIX for Advanced & Expert Users
Hi there,
I need to change all files/dirs
1. all files with 744
2. all dirs with 755
is there a script for that ?
thanks,
thegunman (13 Replies)
Discussion started by: TheGunMan
13 Replies
7. UNIX for Dummies Questions & Answers
Hi everyone,
There are couple of users of which i need to give 2 of the users admin rights so that they are able to run the administration commands like "zoneadm" and locale.
When logged in as root i am obviously able to do that.please suggest any way by which the other 2 user's permissions can... (3 Replies)
Discussion started by: sankasu
3 Replies
8. Shell Programming and Scripting
Hi,
I want to change the access permissions of the files whose extension is same.For example *.c but these are inside a directory and inside that other directory is there and it contains the .c files..for example--
So my aim is to search the files under src and change the access permissions... (3 Replies)
Discussion started by: smartgupta
3 Replies
9. Linux
Hi,
All
I am trying to change the permission for all the files in the current dir such that the user(owner) have the read write and excute permissions. When I excute the korn shell it will change the whole files and directory permissions as "rwx". Any help will be highly appreciated.
Thanks (1 Reply)
Discussion started by: uhelp
1 Replies
SGE_PASSWD(1) Sun Grid Engine User Commands SGE_PASSWD(1)
NAME
sgepasswd - Modify the Sun Grid Engine password file of Sun Grid Engine
SYNTAX
sgepasswd [[ -D domain ] -d user ]
sgepasswd [ -D domain ] [ user ]
DESCRIPTION
sgepasswd modifies the Sun Grid Engine password file sgepasswd(5).
This file contains a list of usernames and their windows password in encrypted form. sge_execd(8) and sge_shepherd(8) on hosts running Mi-
crosoft Windows as operating systems use this information to start jobs for a certain user.
Each user can use the sgepasswd application to add a new entry for the own user account. It is also possible to change the stored password
with sgepasswd as far as the user knows the old one.
The root user additionally has the permission to change the password entries for other user accounts. Root can also delete existing
entries.
The sgepasswd binary is only available on non-Windows hosts.
OPTIONS
-D domain
Per default sgepasswd will add/modify the current Unix username without domain specification. This switch can be used to add a
domain specification in front of the current user name. Consult your Microsoft Windows documentation to get more information about
domain users.
-d user
Only root can use this parameter to delete entries from the sgepasswd(5) file.
-help Prints a listing of all options.
ENVIRONMENTAL VARIABLES
SGE_CERTFILE Specifies the location of public key file. Per default sgepasswd will use the file $SGE_ROOT/$SGE_CELL/com-
mon/sgeCA/certs/cert.pem
SGE_KEYFILE If set, specifies the location of the private key file. Default is /var/sgeCA/port${SGE_QMASTER_PORT}/${SGE_CELL}/pri-
vate/key.pem
SGE_RANDFILE If set, specifies the location of the seed used to create encrypted versions of user passwords. Default is
/var/sgeCA/port${SGE_QMASTER_PORT}/${SGE_CELL}/private/rand.seed
SEE ALSO
sge_intro(1), sgepasswd(5)
COPYRIGHT
See sge_intro(1) for a full statement of rights and permissions.
SGE 6.2u5 $Date$ SGE_PASSWD(1)