I use zlogin <UUID> to get into the zone which gets me to the root user always without asking the password. And inside the zone, su - <user> is used to login to other users from the root prompt. Here is the ouput of /etc/shadow for those users.
[root@devz1 ~]# cat /etc/shadow | grep 'root\|admin\|ganu' root:$5$K35UQO.2$NnIuC4CvQ08JkJ35NzTlVr6Et/Qfi1FyEv5pgrPbxz3:16220:::::: admin:$5$Z9RiRBPI$wVeo4EMyYuiIssqrxzltSxHogtArdFdZoELXd3nkgH4:16220:::::: ganu:$5$1YrjMHtw$JKK94Em57XguRIpuf5sXfWgNnvIsI8CHfDfIgfYIBs8:16222:::::: Please let me know if you need any more information regarding this. On 1 Jun 2014 01:46, "Robert Mustacchi" <[email protected]> wrote: > On 05/31/2014 12:31 PM, Ganapathy S A via smartos-discuss wrote: > > I'm using SmartOS instance 14.1.0 (base64). Able to change password > > successfully for the default users (root, admin) & for users created by > me. > > But whenever I login to any of the users I'm getting the shell prompt > > straight! Why password is not being asked? Just don't understand the > > system. Could some one please clarify? > > Hi, > > I think we're going to have to ask for a bit more information to better > help you. > > How are you trying to log in to that user? Is this via ssh, via some > other mechanism? If you look at the contents of /etc/shadow, what does > the second column list for those users that you're trying to access? > > Thanks, > Robert > ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
