CentOS 4.4 amd64 - server
I follow following howto building "Virtual Users"
Virtual Users With Postfix, PostfixAdmin, Courier, Mailscanner, ClamAV On CentOS
I started "screen" recording all typing/keystrokes and output on the Terminal.
"sudo" sometimes requested for password. root password did not work. Another time it worked without requesting password. I can't understand WHY.
If root password did not satisfy the request I have to run "su" or "su -" to proceed. After executing commands ran "exit" to exit.
$ sudo cat /etc/sudoers | tail
$ cat /etc/group | grep satimis
# Same thing without a password
# %wheel ALL=(ALL) NOPASSWD: ALL
# %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
# %users localhost=/sbin/shutdown -h now
satimis ALL=(ALL) NOPASSWD:ALL
vmail ALL=(ALL) ALL
On runing; (page 1)
root password did not work. I have to run;
sudo rpmbuild -ta courier-authlib-0.58.tar.bz2
$ su -
# rpmbuild -ta courier-authlib-0.58.tar.bz2
can't find the directory.
On reading "screenlog.0" it was found;
The rpm packagaes were created on "/usr/src/redhat/RPMS/x86_64" NOT on "$HOME/rpm/RPMS/x86_64".
Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/courier-authlib-0.58-1-root
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.3436
+ umask 022
Pls advise how to fix the problems.
Create "/usr/src/redhat/RPMS/x86_64" and copy all rpm packages created to this directory?