Sponsored Content
Full Discussion: Usermod doesn't work on root
Operating Systems Linux Red Hat Usermod doesn't work on root Post 302844017 by BearCheese on Friday 16th of August 2013 06:12:06 AM
Old 08-16-2013
[root@hostname ~]# nscd -i group
[root@hostname ~]# id
uid=0(root) gid=0(root) groups=0(root)

Unfortunately issue is still there.

logged out and back on with root and user still doesn't have gruops.
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Why doesn't this work?

cat .servers | while read LINE; do ssh jason@$LINE $1 done exit 1 ./command.ksh "ls -l ~jason" Why does this ONLY iterate on the first server in the list? It's not doing the command on all the servers in the list, what am I missing? Thanks! JP (2 Replies)
Discussion started by: jpeery
2 Replies

2. UNIX for Advanced & Expert Users

chown doesn't work

Hi unix gurus, I am facing problem with chown command. I am not able to change the owner of any file in my home. It gives error "not owner", though I own the file(as ls shows). What could be the reason? Is it possible that usage chown can be disabled for users. $ $ ls -l total 2... (10 Replies)
Discussion started by: shriashishpatil
10 Replies

3. UNIX for Dummies Questions & Answers

Script doesn't work, but commands inside work

Howdie everyone... I have a shell script RemoveFiles.sh Inside this file, it only has two commands as below: rm -f ../../reportToday/temp/* rm -f ../../report/* My problem is that when i execute this script, nothing happened. Files remained unremoved. I don't see any error message as it... (2 Replies)
Discussion started by: cheongww
2 Replies

4. UNIX for Dummies Questions & Answers

lp -o <option> doesn't work

why lp -o <option> doesn't work on my SCO Unix. (4 Replies)
Discussion started by: wendyz
4 Replies

5. Red Hat

sendmail doesn't work for root

I've created a Perl daemon that needs to send an email when an error/shutdown occurs. I use the Perl Email::Valid module and that uses sendmail. When I run the script as a regular user, the email is sent with no issues. When I run the script as the root user, I get the following message in... (1 Reply)
Discussion started by: OldManEd
1 Replies

6. Shell Programming and Scripting

Function doesn't work

Hello, and here's my problem: I can't get my function to do what I want. When I call my function get_from_A_to_F I give it an argument $remainder. I want my function to substitute a number higher than 9 to a specific letter. If the argument is equal to 10 than it should change it to "A".... (8 Replies)
Discussion started by: linas
8 Replies

7. UNIX for Dummies Questions & Answers

Why doesn't this work?

find . -name "05_scripts" -type d -exec mv -f {}/'*.aep\ Logs' {}/.LogFiles \; Returns this failure: mv: rename ./019_0120_WS_WH_gate_insideTEST/05_scripts/*.aep\ Logs to ./019_0120_WS_WH_gate_insideTEST/05_scripts/.LogFiles/*.aep\ Logs: No such file or directory I don't know why it's trying... (4 Replies)
Discussion started by: scribling
4 Replies

8. Shell Programming and Scripting

-ne 0 doesn't work -le does

Hi, I am using korn shell. until ] do echo "\$# = " $# echo "$1" shift done To the above script, I passed 2 parameters and the program control doesn't enter inside "until" loop. If I change it to until ] then it does work. Why numeric comparison is not working with -ne and works... (3 Replies)
Discussion started by: ab_2010
3 Replies

9. HP-UX

Su to another user from root doesn't work within shell script

Hello I have a shell script that is run as root. Script rins ok until the point where it have to switch to user "mqm" to run other commands. It just hangs at the point of this line in the script su - mqm -c "dspmq" I ran the same commands at the terminal and they run fine. Any thoughts. (6 Replies)
Discussion started by: mo12
6 Replies
sslio(8)						      System Manager's Manual							  sslio(8)

NAME
sslio - SSL input/output for service programs SYNOPSIS
sslio [-cv] [-u user] [-U user] [-/ root] [-C cert] [-K key] [-A ca] prog DESCRIPTION
sslio provides SSL encrypted network connections for service programs started by tcpsvd(8) or tcpserver(1), and tcpclient(1). Normally sslio is started by tcpsvd(8) or tcpclient(1), in turn starts the service program prog, and runs as child process of the service program. After performing the SSL handshake, sslio reads SSL encrypted data from the network, and writes decrypted data to the service program prog; it reads data from the service program prog, and writes SSL encrypted data to the network. sslio should run under a differ- ent user ID than the service program, and with a changed root directory. When started by root, the -u option must be given, and the -U and -/ options should be given. The sslio program uses the SSLv3 implementation of the matrixssl library. OPTIONS
prog prog consists of one or more arguments, specifying the service program normally run directly by tcpsvd(8), or tcpserver(1). -u [:]user[:group] drop permissions. Set uid and gid to the user's uid and gid, as found in /etc/passwd, before reading data from, or writing data to the network. If user is followed by a colon and a group, set the gid to group's gid, as found in /etc/group, instead of user's gid. If group consists of a colon-separated list of group names, set the group ids of all listed groups. If user is prefixed with a colon, the user and all group arguments are interpreted as uid and gids respectively, and not looked up in the password or group file. All supplementary groups are removed. This option must be set when sslio is started by root, and cannot be set otherwise. -U [:]user[:group] drop permissions. Set uid and gid to the user's uid and gid, as found in /etc/passwd, before running prog. If user is followed by a colon and a group, set the gid to group's gid, as found in /etc/group, instead of user's gid. If group consists of a colon-sepa- rated list of group names, set the group ids of all listed groups. If user is prefixed with a colon, the user and all group argu- ments are interpreted as uid and gids respectively, and not looked up in the password or group file. All supplementary groups are removed. This option should be set when sslio is started by root, and cannot be set otherwise. -/ root chroot. Change the root directory to root before reading data from, or writing data to the network. This option should be set when sslio is started by root, and cannot be set otherwise. -C cert cert file (server mode). Read the certificate from the file cert (default is ``./cert.pem''). If the -/ option is given, first the root directory is changed, then the cert file is read. -K key private key (server mode). Read the private key from the file key (default is cert). If the -/ option is given, first the root directory is changed, then the private key is read. -A ca ca file (client mode). Read the trusted root certificate from the file ca. Multiple files can be specified, using a semicolon as delimiter. If the -/ option is given, first the root directory is changed, then the ca file is read. -c client mode. This option must be given when running sslio under tcpclient(1). In client mode, filedescriptors 6 and 7 are used instead of standard input and standard ouput to read from and write to the network and the service program. If the -A option is given, sslio refuses to connect to a servers which's certificates cannot be verified by the root certificates, it accepts any server certificate otherwise. -v verbose. Print verbose messages to standard error. -vv more verbose. Print more verbose messages to standard error. -vvv even more verbose. Print even more verbose messages to standard error. ENVIRONMENT
SSLIO_BUFIN The environment variable SSLIO_BUFIN overrides the default input buffer size for sslio (8192). SSLIO_BUFOU The environment variable SSLIO_BUFOU overrides the default output buffer size for sslio (12288). If the output buffer is too small to hold encrypted or decrypted data, sslio automatically blows up the buffer to SSLIO_BUFOU more bytes. SSLIO_BAD_CERTIFICATE (client mode) If the environment variable SSLIO_BAD_CERTIFICATE is set, sslio -c accepts server ceritificates it would normally reject with fatal: ssl decode error: bad certificate SSLIO_HANDSHAKE_TIMOUT The environment variable SSLIO_HANDSHAKE_TIMEOUT overrides the default number of seconds sslio will try to complete the ssl hand- shake (300). If the handshake isn't completed after this number of seconds, sslio exits. SEE ALSO
sslsvd(8), tcpsvd(8), udpsvd(8), ipsvd(7), ipsvd-instruct(5), ipsvd-cdb(8) http://smarden.org/ipsvd/ AUTHOR
Gerrit Pape <pape@smarden.org> sslio(8)
All times are GMT -4. The time now is 02:35 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy