why does the opensuse sudo use the root password whereas in ubuntu it use’s a superuser privillage.
the problem I have is transferring files from /srv/www/htdocs which is very frequent since I want to use kwrite or gedit and envoking sudo to open these files from the terminal also fails with opensuse
it is a pain having to envok a chmod or chown to edit my webfiles
on ubuntu I transfer them back and for the easily with no need to change owner or permission.
anything I can do to fix this and make it easier to manage my website?
<quote>
Otherwise, sudo requires that users authenticate themselves with a
password by default (NOTE: in the default configuration this is the root
password, not the user’s password). Once a user has been authenticated, a
timestamp is updated and the user may then use sudo without a password for
a short period of time (5 minutes unless overridden in sudoers).
</quote>
Hope that helps. You could write a script that does the sudo to copy the
files and then also the chown/chmod.
And then the script could just run the copy command as well as the other
commands. The alternative is to probably just configure ‘sudo’ to work
the same way as Ubuntu. As a note I think Ubuntu is the odd man out in
this case… sudo has always (as long as I’ve used it, which is longer
than Ubuntu has been alive) prompted for ‘root’. Perhaps adding your user
to the ‘wheel’ group and then allowing users in that group to use sudo
would help do this more-easily.
Good luck.
devsource wrote:
> why does the opensuse sudo use the root password whereas in ubuntu it
> use’s a superuser privillage.
>
> the problem I have is transferring files from /srv/www/htdocs which is
> very frequent since I want to use kwrite or gedit and envoking sudo to
> open these files from the terminal also fails with opensuse
>
> it is a pain having to envok a chmod or chown to edit my webfiles
>
> on ubuntu I transfer them back and for the easily with no need to
> change owner or permission.
>
> anything I can do to fix this and make it easier to manage my website?
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
yea that does make since others I have had to add myself to the wheel group and then add myself to the sudoer’s I think it makes since to use a Superuser password that is not root for system stuff tho especially if you had multiple users
…
the reason I switched is suse did a better job with AD integration and more business work stuff like printing to shared XP printers and what not.
working with the public_html folder is not any easier I’m used to just overwriting the /var/www/site directory from anywhere I just need to figure out how to change the suse sudo to work like I prefer it