creating new user
my version :
SunOS 5.10 Generic_147441-05 i86pc i386 i86pc I created a new user but when I try to login as that user I cant. I have tried via putty and via ftp. this is what i did.logged in as root then : groupadd cassg useradd cass passwd cass -- i set pswd to abc123 usermod -g cassg cass chown -R cass:cassg /files/Cass (this is the folder i need them to access) mkdir -p /export/home/cass chown cass:cassg /export/home/cass usermod -d /export/home/cass cass chmod -R 0700 /export/home/cass try to login : login as: cass Using keyboard-interactive authentication. Password: Access denied Using keyboard-interactive authentication. Password: ahhh ! any ideas ? thank you, jay |
I would take a quick look at your log files. What does your secure.log show for the reason of the sshd login failure?
|
can you tell me where that log would be ?
|
/var/log/auth.log or
/var/log/secure |
in /var/log i do not have an auth.log only a authlog but it has 0 file size.
I also do not have a /var/log/secure |
this is whats there
VDCSL2623 > pwd /var/log VDCSL2623 > ls -l total 9495 -rw-r--r-- 1 root root 44214 Oct 17 15:58 Xorg.0.log -rw-r--r-- 1 root root 44340 Oct 17 15:57 Xorg.0.log.old -rw------- 1 root sys 0 Sep 3 2009 authlog -rw-r--r-- 1 root other 27 Oct 27 2009 brlog -rw-r--r-- 1 root root 1418 Jun 7 2010 install_stb-v5.2.log dr-------- 3 root root 3 Mar 21 2013 opsware drwxr-xr-x 2 root sys 2 Oct 27 2009 pool -rw-r--r-- 1 root root 4611568 Nov 26 15:04 snmpd.log drwx------ 3 root 501928258 4 Jun 15 2011 sudo-io -rw------- 1 root 509297 15892 Nov 26 16:20 sudo.log drwxr-xr-x 2 root sys 5 Oct 27 2009 swupas -rw-r--r-- 1 root other 1150 Jun 7 2010 sysidconfig.log -rw-r--r-- 1 root sys 0 Mar 22 2011 syslog -rw-r--r-- 1 root sys 8747 Jun 14 2010 syslog.0 -rw-r--r-- 1 root root 3837 May 12 2012 vmware-tools-guestd drwxr-xr-x 3 root sys 3 Oct 27 2009 webconsole |
Is sshd installed and running?
Also it could be in your syslog log, but looks like that was recently rotated so it will probably be in syslog.0 although what you could do to see whats happening in real time is do a tail -f /var/log/syslog and attempt to log in. Also if sshd is running you should be able to go into /etc/sshd/sshd_config and set the LogLevel and SysLogFacility. You will also have your syslog configuration which controls this. So for my /etc/syslog.conf I have: authpriv.* /var/log/secure And in my /etc/sshd/ssdh_config I have: SyslogFacility AUTHPRIV #LogLevel Info LogLevel Info is commented out but in your case since you are debugging set it to be on by uncommenting it. This will tell the system to log all messages from level of info on up to emergency and log them as authpriv which your syslog.conf has set to log to /var/log/secure. http://linoxide.com/security/enable-sshd-logging/ |
All times are GMT -5. The time now is 04:31 PM. |