01-21-2005
The nohup is the current working directory if given at the command line.
If I use in the shell script it is the home directory of the user ie., /opt/user is the default home dir for the user when he logins in.
I have hardcoded the path and also used as a variable but it still remains the same
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I have a general question on using the "nohup" command. As far as I've got it, submmitting a job with no hang up specified, should result in the job running until completion, regardless of whether the session that submitted the job(parent) is still active. This is very helpful when doing... (1 Reply)
Discussion started by: errolg
1 Replies
2. Shell Programming and Scripting
Hello, I need running the process from Oracle in backround.
Thank you for your help.
C.Abarca (1 Reply)
Discussion started by: cabarcaj
1 Replies
3. Shell Programming and Scripting
Hi
I am using nohup command in script(say nohup ls- ltr > somefile 2>&1 & ). I dont want any kind of output to be displayed on screen. When i tried the above nohup it still gives me some out put on screen like
2991
Done >somefile 2>&1
Please you let me know what is... (3 Replies)
Discussion started by: ammu
3 Replies
4. UNIX for Dummies Questions & Answers
Hello folks,
I have got a script which telnets to different boxes and runs a certain script with 3 run time args.
The line from the script which does it is:
(sleep 1; echo $USERID ; sleep 1; echo $PASSWD ; sleep 1 ; echo y ; sleep 1 ; echo "\r" ; sleep 1 ; echo "cd $FILEPATH" ; sleep 1 ; sleep 1... (1 Reply)
Discussion started by: Rajat
1 Replies
5. Shell Programming and Scripting
I want to know how to use a nohup command in the script........
I have to run following command
nohup /tmp/app/statuscheck.sh &
After typing this command I will type ctrl D to come to the prompt and the that command will run in backround.
I want to include that command in a... (2 Replies)
Discussion started by: jayaramanit
2 Replies
6. Shell Programming and Scripting
I want to know how to use a nohup command in the script........
I have to run following command
nohup /tmp/app/statuscheck.sh &
After typing this command I will type ctrl D to come to the prompt and the that command will run in backround.
Even after pressing & the command is not... (3 Replies)
Discussion started by: jayaramanit
3 Replies
7. UNIX for Dummies Questions & Answers
Hi..
Can anybody tell me, what exactly the nohup command does & when is it used?
Your help is appreciated. (3 Replies)
Discussion started by: Amol21
3 Replies
8. Shell Programming and Scripting
Hi everyone,
I am starting a nohup from a script (via scheduling system) as follows:
ssh user@server "nohup command & ; exit 0"
This command is not returning the command prompt untless I press "ENTER". This is causing the schedule to hang at this job and not continue with the rest of the jobs.... (12 Replies)
Discussion started by: nimo
12 Replies
9. AIX
I'm trying to run a compress script in the background, but I even though the script is running in the background I get "Sending nohup output to nohup.out." and the screen just stays there. How can I make the script run in background and make my command prompt come back.
I was using:
nohup... (2 Replies)
Discussion started by: NycUnxer
2 Replies
10. Shell Programming and Scripting
I have a script I'm creating to spawn netcat listeners on a remote server for copying files at high speeds. The issue I'm running into is that after running the "nohup nc -l -p 12345 | tar -xvf - &" commands I can't get the remote shell to terminate. I'm not sure if this is working as intended or... (2 Replies)
Discussion started by: headcr4sh
2 Replies
LEARN ABOUT DEBIAN
sss_useradd
SSS_USERADD(8) SSSD Manual pages SSS_USERADD(8)
NAME
sss_useradd - create a new user
SYNOPSIS
sss_useradd [options] LOGIN
DESCRIPTION
sss_useradd creates a new user account using the values specified on the command line plus the default values from the system.
OPTIONS
-u,--uid UID
Set the UID of the user to the value of UID. If not given, it is chosen automatically.
-c,--gecos COMMENT
Any text string describing the user. Often used as the field for the user's full name.
-h,--home HOME_DIR
The home directory of the user account. The default is to append the LOGIN name to /home and use that as the home directory. The base
that is prepended before LOGIN is tunable with "user_defaults/baseDirectory" setting in sssd.conf.
-s,--shell SHELL
The user's login shell. The default is currently /bin/bash. The default can be changed with "user_defaults/defaultShell" setting in
sssd.conf.
-G,--groups GROUPS
A list of existing groups this user is also a member of.
-m,--create-home
Create the user's home directory if it does not exist. The files and directories contained in the skeleton directory (which can be
defined with the -k option or in the config file) will be copied to the home directory.
-M,--no-create-home
Do not create the user's home directory. Overrides configuration settings.
-k,--skel SKELDIR
The skeleton directory, which contains files and directories to be copied in the user's home directory, when the home directory is
created by sss_useradd.
This option is only valid if the -m (or --create-home) option is specified, or creation of home directories is set to TRUE in the
configuration.
-Z,--selinux-user SELINUX_USER
The SELinux user for the user's login. If not specified, the system default will be used.
-h,--help
Display help message and exit.
THE LOCAL DOMAIN
In order to function correctly, a domain with "id_provider=local" must be created and the SSSD must be running.
The administrator might want to use the SSSD local users instead of traditional UNIX users in cases where the group nesting (see
sss_groupadd(8)) is needed. The local users are also useful for testing and development of the SSSD without having to deploy a full remote
server. The sss_user* and sss_group* tools use a local LDB storage to store users and groups.
SEE ALSO
sss_groupadd(8), sss_groupdel(8), sss_groupshow(8), sss_groupmod(8), sss_userdel(8), sss_usermod(8).
AUTHORS
The SSSD upstream - http://fedorahosted.org/sssd
SSSD
03/04/2013 SSS_USERADD(8)