![]() |
Re: default password and how to change it
Quote:
I wish to mount a samba share from a script but the mount command requires privileges. using rootsh I gain root access and set a password for "user" Code:
sudo gainroot Code:
sorry, user user is not allowed to execute /bin/mount |
Re: default password and how to change it
"sudo visudo" can be used to edit sudoers (set $EDITOR to something else if you want to use another editor than vi) and will check the syntax after closing the file. See http://www.gratisoft.us/sudo/man/sudoers.html for what can go in there.
|
Re: default password and how to change it
Don't use visudo on Maemo! The /etc/sudoers file is auto-generated and works differently on n900 than a standard Linux system.
Instead, add a file to /etc/sudoers.d, then run 'update-sudoers'. This is the Maemo way. The reason is that normal users don't usually have root, so an app installed by a normal user can easily add a file to /etc/sudoers.d to give itself the root privileges it needs. |
Re: default password and how to change it
Quote:
|
Re: default password and how to change it
DuckDuckGo is my friend, and old forum threads are my results. :) I am not replying to the OP, I am just helping other search-result surfers not mess up their system too much.
|
All times are GMT. The time now is 20:19. |
vBulletin® Version 3.8.8