09-24-2009
id: invalid user name
Hello,
We run solaris 8 with nis+, when I do niscat, I can see the user's information, but when I do id from the domain it is saying invalid user. What may be the problem?
id: invalid user name: "abyu789"
9 More Discussions You Might Find Interesting
1. AIX
Does anyone have a good script / cron job that handles this?
I have looked in smit and see it is clearing this count with:
chsec -f /etc/security/lastlog -a "unsuccessful_login_count=0" -s '{userid}'
However when I looked around to find ways to automate this I have not found an easy... (0 Replies)
Discussion started by: Keith Johnson
0 Replies
2. Shell Programming and Scripting
Hi
How to check invalid user account?
invalid condition:
1. without home directory
2. home directory is empty
3. no home directory
4. no shell
5. no passwd
user1:x:6000:6000:user1app:/DB/user1:/bin/ksh (5 Replies)
Discussion started by: geoffry
5 Replies
3. Post Here to Contact Site Administrators and Moderators
i follow on the https://www.unix.com/cfmgoogle.php?cx=partner-pub-6323928554267084%3Absye1r5tx7j&cof=FORID%3A10&q=solaris&sa=Search#907
https://www.unix.com/sun-solaris/ (4 Replies)
Discussion started by: Hank
4 Replies
4. Shell Programming and Scripting
Hi,
I have an SFTP script which is called from another run script:
When the SFTP process is run we passed through an invalid ip address to check the error logging and to ensure everything is working as expected.
Below is a sample of the code in the script:
$RUNSOCKS... (2 Replies)
Discussion started by: ronnie_uk
2 Replies
5. Shell Programming and Scripting
In the following code
a=
echo $?
echo $?
Why the op is (2 Replies)
Discussion started by: lipun4u
2 Replies
6. Shell Programming and Scripting
when i am executing the script i am getting ?Invalid command though the script is right.
Could any one please let me know how to overcome this problem. Urgent Please
Thanks a lot in advance (2 Replies)
Discussion started by: Olivia
2 Replies
7. AIX
I have four AIX 6.1.7.4 systems freshly built and ready for our DBAs to do their work. Of the three one runs into an odd issue while logging in as himself, using Putty with ssh protocols. He logs in successfully, but also gets the following error message:
: 3004-300 You entered an invalid login... (2 Replies)
Discussion started by: Mike Brendan
2 Replies
8. Red Hat
Dear All ,
I have created a user named X and gave sudo permissions for it , So that it can access some commands as root.
This particular user can login to the server using SSH login through putty any where with in the network.
But there is some issue , when the same user is trying from... (4 Replies)
Discussion started by: jegaraman
4 Replies
9. UNIX for Advanced & Expert Users
Hi, I have a function to calculate "yesterday" in format YYYYMMDD:
desa_ev9 # date +"%Y%m%d" --date "-1 day 20180701"
20180630
desa_ev9 # date +"%Y%m%d" --date "-1 day 20180720"
20180719
desa_ev9 # date +"%Y%m%d" --date "-1 day 20190101"
20181231
desa_ev9 # date +"%Y%m%d" --date "-1... (2 Replies)
Discussion started by: augreen
2 Replies
LEARN ABOUT XFREE86
innetgr
innetgr(1) NSS utilities innetgr(1)
NAME
innetgr - Check netgroup membership
SYNTAX
innetgr [-d domain] [-h host] [-u user] [-v] <netgroup>
DESCRIPTION
innetgr checks if the specified user, host or domain is a member of the given netgroup. The program does not produce any output unless the
verbose ( -v ) flag is given.
The exit status is 0 if the user/host/doman combination is a member of the given netgroup. Exit status is 1 if the combination is not
found in the group, and 2 if one of the arguments are invalid.
OPTIONS
--domain <domain> | -d <domain>
Search in the given domain.
--host <host name> | -h <host name>
Search for the given host name.
--user <user name> | -u <user name>
Search for the given user name.
--verbose | -v
Enable verbose mode
--version | -V
Show version information.
EXAMPLES
To check if the current host is listed in the netgroup allhosts, use this command line:
if innetgr -h `uname -n` allhosts ; then echo "Found"; fi
CONFORMING TO
A innetgr program first appeared in NetBSD 1.4.
AUTHORS
Petter Reinholdtsen <pere@hungry.com>
SEE ALSO
getent(1) netgroup(1) innetgr(3) netgroup(5) nsswitch.conf(5)
Petter Reinholdtsen 0.7 innetgr(1)