by default ssh login as root is disabled. add user in wheel group, allow ssh login to this user and then su/sudo to execute as root.zodehala said:after install freebsd. i can access using admin but can not access using root. i have to put some files in root dir.
i am using putty and privateshell.
mk said:by default ssh login as root is disabled. add user in wheel group, allow ssh login to this user and then su/sudo to execute as root.
allowing directly root logins over ssh lead to potential security problems
LateNiteTV said:like mk said, add your user to the wheel group and login with your user. then use su or sudo to do what you need to do as root.
zodehala said:how? (i am new to FreeBSD)
wheel:*:0:root
wheel:*:0:root,user1,user2
Where user1 is your usernamepw groupmod wheel -m user1
Alt said:Do not edit them manually =)
Do an (sure under root)
Where user1 is your username
su
pw groupmod wheel -m admin
You need to make sure your admin user has write permission in that directory. This has nothing to do with root.zodehala said:but whenever i send file to server as admin (username is admin ) following error
![]()
SirDice said:You need to make sure your admin user has write permission in that directory. This has nothing to do with root.
zodehala said:Code:localhost# chown -R admin:admin /usr/home/ssp/sippy_web chown: admin: Invalid argument