Ask Your Question
0

what is the default password for stack user in devstack setup

asked 2014-10-15 10:31:51 -0600

pvinodp gravatar image

I am trying to setup openstack using:http://devstack.org/guides/single-machine.html

After the step From here on you should use the user you created. Logout and login as that user. i am unable to proceed as i am being asked for password for stack user login. THe last line of /etc/sudoers file is stack ALL=(ALL) NOPASSWD: ALL

Last time I tried to do all steps until running ./stack,sh using root user. I could not complete the process because of issues related to permissions. so i delted /opt/stack folder and trying to start all over again.

edit retag flag offensive close merge delete

Comments

Logging from stack user is optional. You can use your own account to install & use devstack.

Khayam gravatar imageKhayam ( 2014-10-16 00:34:36 -0600 )edit

2 answers

Sort by ยป oldest newest most voted
1

answered 2014-10-15 10:57:04 -0600

SGPJ gravatar image

First of all you should not use stack.sh as root. create a non-root user and install devstack stack.sh.

From root user: sudo stack

then you will get into stack user and for me password is stack.

Refer this link: http://devstack.org/stack.sh.html

edit flag offensive delete link more
0

answered 2014-10-15 12:18:39 -0600

pvinodp gravatar image

I think u mean su stack Yes i need not need password if i execute abive comand from root user. But the password for stack user is neither stack not password nor ** [blank]. Because of that I am unable to logout and login as stack user. I am uanble to find help the html page. I need help as i am stuck

edit flag offensive delete link more

Comments

1

post it as comment. create new user with password.

SGPJ gravatar imageSGPJ ( 2014-10-15 12:36:31 -0600 )edit

Hi .. I created a new stack user with $devstack/tools/create-stack-user.sh command which creates a stack user with passwordless sudo privilages. But when I do su stack , it asks for password and leaving it blank results in Authentication failure error. Any suggestions ?

G-user gravatar imageG-user ( 2016-03-28 07:04:49 -0600 )edit

Hello there. I've had the same problem. Turns out that if you run sudo su stack you are not prompted for a password and you get to switch to the stack user. I suppose it would come in hand add that to the devstack installation guide.

fernandez_88 gravatar imagefernandez_88 ( 2016-09-13 16:20:37 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-10-15 10:30:32 -0600

Seen: 6,229 times

Last updated: Oct 15 '14