Why does "ps -[u|U] username" not list processes when username is numeric?
Greetings,
The title pretty much says it all. I've snooped everywhere and can't find anything on this. Since our organization went to numeric usernames, using the u|U option for ps returns no processes. Example passwd entry:
The following command returns nothing other than the column names:
HOWEVER, the following DOES work.
Honestly I expect both should work and as a caveat we are using NIS(YP). Any insight would be appreciated.
Hi
how to check input is "empty" and "numeric" in ksh?
e.g:
./myscript.ksh k
output show: invalid number input
./myscript.ksh
output show: no input
./myscript.ksh 10
output show: input is numeric (6 Replies)
Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
Hello,
We have a Solaris 9 machine and recently our client want to create username based on staff numbers (all numeric).
Is there any limitation in Solaris regarding creating username with numeric values (eg: 13598029)?
Thanks & Regards
Aryawarman Mahzar (5 Replies)
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
I want to print any matching IP addresse in List1 with List 2;
List 1
List of IP addresses;
161.85.58.210
250.57.15.129
217.23.162.249
74.76.129.101
30.221.177.237
3.147.200.59
170.58.142.64
127.65.109.33
150.167.242.146
223.3.20.186
25.181.180.99
2.55.199.32 (3 Replies)
Hi
I'm trying to run a script " abc.sh" which triggers "use.sh" .
abc.sh is nothing but a "expect" script which provides username and password automatically to the use.sh script.
Please find below the scripts:
#abc.sh
#!/usr/bin/expect -f
exec /root/use.sh
expect "*name*"
send... (1 Reply)
Below is the error I'm getting.
# passwd username
Changing password for username.
New Password:
Reenter New Password:
Password changed.
New UNIX password:
Retype new UNIX password:
Password has been already used. Choose another.
passwd: Authentication token manipulation error# cat... (0 Replies)
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Hi Guys Any help is appreciated very much!
I'm trying to use SFTP to an external server using the native SFTP Client in RHEL 6 and 7.
I've been given a username on the remote SFTP Server of myemail@myorg.com.
I can not seem to escape that @ sign no matter what I do.
I've tried these... (16 Replies)
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
LEARN ABOUT HPUX
ftphosts
ftphosts(4) Kernel Interfaces Manual ftphosts(4)NAME
ftphosts - ftpd individual user host access file
SYNOPSIS DESCRIPTION
The file is used to allow or deny access to certain accounts from various hosts.
Access Capabilities
The formats to allow and deny access are described in this section.
addrglob [ addrglob... ]
Only allow host(s) matching addrglob to log in as username. addrglob is a globbed domain name or a globbed numeric address.
addrglob [ addrglob ... ]
Always deny host(s) matching addrglob to log in as username. addrglob is a globbed domain name or a globbed numeric address.
A username of or specifies the anonymous user.
The addrglob can also be specified as address/cidr or address:netmask. For example:
or
Specifying Both allow and deny Rules
To allow a user to login from anywhere except the listed hosts, both allow and deny rules are required.
The following example denies the user from logging in from the host but allows login from all other hosts:
EXAMPLES
Allow the user, to login from the host named and from all hosts with numeric addresses starting with
Deny (do not allow) the user, to login from the host named and from all hosts with numeric addresses starting with
Allow the user, to login from the host named
FILES AUTHOR
was developed by the Washington University, St. Louis, Missouri.
SEE ALSO ftpd(1M), ftpaccess(4), ftpconversions(4), ftpshut(1).
ftphosts(4)